Hello,

I created a ticket for an issue I can't figure out on my own:
https://sourceforge.net/p/sdcc/bugs/3171/

I -think- it has something to do with the stack pointer/frame pointer but
my unfamiliarity with SDCC has this as a blocker for me.

Of note, "unrolling" code (by keeping it all in main() and not calling
functions) allows everything to work fine.

Something special about the PC-88 is that the stack is ordinarily on page
0. Pages $c0-$ff are used for RAM/VRAM - the stack shouldn't be in main RAM
on the upper block because of this.

Any help would be appreciated.
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to