1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-22 01:32:13 +00:00

Use --output-format, not --prelude, in loadngo script.

This commit is contained in:
Chris Pressey 2018-04-25 13:48:38 +01:00
parent 89fa8361a8
commit 2f200dc1ea
2 changed files with 6 additions and 8 deletions

View File

@ -419,13 +419,11 @@ static byte save_x : 0
call dispatch_logic
if c {
// Player died! Want no dead! Break out of the loop (this is a bit awkward.)
// Player died! Want no dead!
call clear_screen
copy game_state_game_over, dispatch_game_state
ld x, 15
} else {
ld x, save_x
}
ld x, save_x
copy pos, actor_pos + x
copy delta, actor_delta + x

View File

@ -5,21 +5,21 @@ usage="Usage: loadngo.sh (c64|vic20|atari2600) [--dry-run] <source.60p>"
arch="$1"
shift 1
if [ "X$arch" = "Xc64" ]; then
prelude='c64'
output_format='c64-basic-prg'
if [ -e vicerc ]; then
emu="x64 -config vicerc"
else
emu="x64"
fi
elif [ "X$arch" = "Xvic20" ]; then
prelude='vic20'
output_format='vic20-basic-prg'
if [ -e vicerc ]; then
emu="xvic -config vicerc"
else
emu="xvic"
fi
elif [ "X$arch" = "Xatari2600" ]; then
prelude='atari2600'
output_format='atari2600-cart'
emu='stella'
else
echo $usage && exit 1
@ -38,7 +38,7 @@ fi
### do it ###
out=/tmp/a-out.prg
bin/sixtypical --traceback --prelude=$prelude $src > $out || exit 1
bin/sixtypical --traceback --output-format=$output_format $src > $out || exit 1
ls -la $out
$emu $out
rm -f $out