cc65-sprite demo doesn't appear to work
Closed this issue · 1 comments
It compiles fine on my Linux host (using cc65 V2.17 - Ubuntu 2.17-1), but when I run it in the emulator I get this result:
https://youtu.be/ZIYJwpen0zA
It seems to just hang on exit and the emulator goes to 100% CPU. I'm assuming that's not what it's supposed to do.
Tested with pre-built Linux binary and with x16emu built from source.
This was almost fixed with the latest commit, and rebuilding the emu from current source. Unfortunately that commit (8b5524a) has an error on line 167.
08:21:08 evil@P950ER ~/src/x16-demo/cc65-sprite» make
cl65 -t c64 -O -o demo.prg demo.c
demo.c(167): Error: Invalid input character with code 24
demo.c(167): Error: Undefined symbol: f' demo.c(167): Error: Too few arguments in function call demo.c(167): Error:
)' expected
make: *** [Makefile:4: demo.prg] Error 1
If you change it from $f to 0xf it works as expected.