greg-king5 / cc65

CC65 — A freeware C compiler for 6502-based systems.
https://cc65.github.io/
zlib License
6 stars 1 forks source link

Generating bad code? #4

Closed Danl2620 closed 5 years ago

Danl2620 commented 5 years ago

Sorry I don't have more info, but I'm building with commit 9bd92178 of this repo with the x16-demo repo*. Both cc65-sprite and cc65-audio demo compile and link properly but in the x16-emulator they jump to some bad code that exits the emulator when PC is at 0xffff.

It appears to be a cx16 library or potentially rom issue.

*: I'm at commit aacfc16d in https://github.com/commanderx16/x16-demo

Danl2620 commented 5 years ago

This seems covered by https://github.com/commanderx16/x16-demo/issues/51