From 0c6c7474e06e84cd3a9639bbbf33c7a4a177a7eb Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 14 Jan 2021 04:00:35 +0100 Subject: [PATCH] Updated paths and added .gitignore --- .gitignore | 1 + create-disk.py | 15 +++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f1b0db --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +disk.img diff --git a/create-disk.py b/create-disk.py index d2f7a70..48cb299 100755 --- a/create-disk.py +++ b/create-disk.py @@ -105,18 +105,17 @@ def main(): # @todo Load the config from a file that we specify instead of hardcoding everything # We can probably keep the os part hardcoded as that is not something we really need to change between different projects global out - out = open('../tools/disk.img', 'wb') + out = open('disk.img', 'wb') - addBootloader('../cpm/.build/loader.bin') - addOS('../cpm/.build/cpm22.bin', '../cpm/.build/bios.bin') + addBootloader('../../software/loader/.build/loader.bin') + addOS('../../software/cpm/.build/cpm22.bin', '../../software/cpm/.build/bios.bin') initDirs() - addFile("../cpm/.build/MONITOR.COM", "MONITOR", "COM") - addFile("../cpm/bin/STAT.COM", "STAT", "COM") - addFile("../cpm/bin/MBASIC.COM", "MBASIC", "COM") - addFile("../cpm/bin/s.com", "S", "COM") - # addFile("../xed/.build/XED.COM", "XED", "COM") + addFile("../../software/monitor/.build/MONITOR.COM", "MONITOR", "COM") + addFile("../../software/tetris/.build/tetris.com", "TETRIS", "COM") + addFile("bin/STAT.COM", "STAT", "COM") + addFile("bin/MBASIC.COM", "MBASIC", "COM") if __name__ == "__main__": main()