castleraider

changeset 308:8f68c8dfd927 Wakefield-2014

Used a *RUN boot option to avoid problems with *EXEC.
author David Boddie <david@boddie.org.uk>
date Wed Apr 23 00:40:14 2014 +0200
parents c9449b95afbc
children 0428d6ebc288
files build.py
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/build.py	Wed Apr 23 00:23:23 2014 +0200
     1.2 +++ b/build.py	Wed Apr 23 00:40:14 2014 +0200
     1.3 @@ -824,13 +824,17 @@
     1.4          disk.new()
     1.5          
     1.6          catalogue = disk.catalogue()
     1.7 -        catalogue.boot_option = 3
     1.8 +        catalogue.boot_option = 2
     1.9          
    1.10 -        disk_files = [makedfs.File("$.!BOOT", 'CHAIN "CASTLE"\r', 0, 0, 15)]
    1.11 +        disk_files = []
    1.12          for name, load, exec_, data in files:
    1.13 +            if name == "LOADER":
    1.14 +                name = "!BOOT"
    1.15 +            elif name == "CASTLE":
    1.16 +                continue
    1.17              disk_files.append(makedfs.File("$." + name, data, load, exec_, len(data)))
    1.18          
    1.19 -        catalogue.write("Castle Raider", disk_files)
    1.20 +        catalogue.write("CastleRaider", disk_files)
    1.21          
    1.22          disk.file.seek(0, 0)
    1.23          disk_data = disk.file.read()