zxdiv48: minor Makefile tweakery
authorAlan Cox <alan@linux.intel.com>
Fri, 1 Mar 2019 22:12:43 +0000 (22:12 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 1 Mar 2019 22:12:43 +0000 (22:12 +0000)
Still not had time to actually start getting this running

Kernel/platform-zxdiv48/Makefile

index 6552a7d..aff3fc0 100644 (file)
@@ -49,18 +49,17 @@ clean:
        rm -f *.ihx *.tmp loader loader-zxcf
        rm -f FUZIX.BIN FUZIX
 
-# Re-order the image and snapshop it
+# Re-order the image and turn it into the raw image to load from disk
 image:
        # Build a generic DivIDE plus loader
        sdasz80 -o loader.s
        sdldz80 -i loader.rel
        makebin -s 57856 loader.ihx loader.tmp
+       dd bs=1 skip=57344 if=loader.tmp of=loader
        # Build a generic ZXCF+ style loader
        sdasz80 -o loader-zxcf.s
        sdldz80 -i loader-zxcf.rel
        makebin -s 57856 loader-zxcf.ihx loader-zxcf.tmp
-       # Generate the image file we need
-       dd if=loader.tmp of=FUZIX bs=8192 skip=1
 
        # Now build a FUZIX.BIN to load
        # in the order we need it