git @ Cat's Eye Technologies SixtyPical / 3c1564e
Abort loadngo apple2, if the SixtyPical program couldn't compile. Chris Pressey 3 years ago
2 changed file(s) with 21 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 byte ds_graphics @ $C050
1 byte ds_text @ $C051
2 byte ds_full @ $C052
3 byte ds_split @ $C053
4 byte ds_page1 @ $C054
5 byte ds_page2 @ $C055
6 byte ds_lores @ $C056
7 byte ds_hires @ $C057
8
9 routine main
10 inputs a
11 outputs ds_lores, ds_page1, ds_split, ds_graphics
12 trashes a, z, n
13 {
14 ld a, 0
15 st a, ds_lores
16 st a, ds_page1
17 st a, ds_split
18 st a, ds_graphics
19 }
2323 elif [ "X$arch" = "Xapple2" ]; then
2424 src="$1"
2525 out=/tmp/a-out.bin
26 bin/sixtypical --traceback --origin=0x2000 --output-format=raw $src > $out
26 bin/sixtypical --traceback --origin=0x2000 --output-format=raw $src > $out || exit 1
2727 ls -la $out
2828 cp ~/scratchpad/linapple/res/Master.dsk sixtypical.dsk
2929 # TODO: replace HELLO with something that does like