git @ Cat's Eye Technologies SixtyPical / 2f200dc
Use --output-format, not --prelude, in loadngo script. Chris Pressey 3 years ago
2 changed file(s) with 7 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
418418 call dispatch_logic
419419
420420 if c {
421 // Player died! Want no dead! Break out of the loop (this is a bit awkward.)
421 // Player died! Want no dead!
422422 call clear_screen
423423 copy game_state_game_over, dispatch_game_state
424 ld x, 15
425 } else {
426 ld x, save_x
427 }
424 }
425 ld x, save_x
428426
429427 copy pos, actor_pos + x
430428 copy delta, actor_delta + x
44 arch="$1"
55 shift 1
66 if [ "X$arch" = "Xc64" ]; then
7 prelude='c64'
7 output_format='c64-basic-prg'
88 if [ -e vicerc ]; then
99 emu="x64 -config vicerc"
1010 else
1111 emu="x64"
1212 fi
1313 elif [ "X$arch" = "Xvic20" ]; then
14 prelude='vic20'
14 output_format='vic20-basic-prg'
1515 if [ -e vicerc ]; then
1616 emu="xvic -config vicerc"
1717 else
1818 emu="xvic"
1919 fi
2020 elif [ "X$arch" = "Xatari2600" ]; then
21 prelude='atari2600'
21 output_format='atari2600-cart'
2222 emu='stella'
2323 else
2424 echo $usage && exit 1
3737 ### do it ###
3838
3939 out=/tmp/a-out.prg
40 bin/sixtypical --traceback --prelude=$prelude $src > $out || exit 1
40 bin/sixtypical --traceback --output-format=$output_format $src > $out || exit 1
4141 ls -la $out
4242 $emu $out
4343 rm -f $out