Use --output-format, not --prelude, in loadngo script.
Chris Pressey
4 years ago
418 | 418 |
call dispatch_logic
|
419 | 419 |
|
420 | 420 |
if c {
|
421 | |
// Player died! Want no dead! Break out of the loop (this is a bit awkward.)
|
|
421 |
// Player died! Want no dead!
|
422 | 422 |
call clear_screen
|
423 | 423 |
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
|
428 | 426 |
|
429 | 427 |
copy pos, actor_pos + x
|
430 | 428 |
copy delta, actor_delta + x
|
4 | 4 |
arch="$1"
|
5 | 5 |
shift 1
|
6 | 6 |
if [ "X$arch" = "Xc64" ]; then
|
7 | |
prelude='c64'
|
|
7 |
output_format='c64-basic-prg'
|
8 | 8 |
if [ -e vicerc ]; then
|
9 | 9 |
emu="x64 -config vicerc"
|
10 | 10 |
else
|
11 | 11 |
emu="x64"
|
12 | 12 |
fi
|
13 | 13 |
elif [ "X$arch" = "Xvic20" ]; then
|
14 | |
prelude='vic20'
|
|
14 |
output_format='vic20-basic-prg'
|
15 | 15 |
if [ -e vicerc ]; then
|
16 | 16 |
emu="xvic -config vicerc"
|
17 | 17 |
else
|
18 | 18 |
emu="xvic"
|
19 | 19 |
fi
|
20 | 20 |
elif [ "X$arch" = "Xatari2600" ]; then
|
21 | |
prelude='atari2600'
|
|
21 |
output_format='atari2600-cart'
|
22 | 22 |
emu='stella'
|
23 | 23 |
else
|
24 | 24 |
echo $usage && exit 1
|
|
37 | 37 |
### do it ###
|
38 | 38 |
|
39 | 39 |
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
|
41 | 41 |
ls -la $out
|
42 | 42 |
$emu $out
|
43 | 43 |
rm -f $out
|