1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-15 11:05:56 +00:00
cc65/libsrc/vic20
Curt J. Sampson 1d39863a60 vic20/cputc: Fix incorrect CRAM_PTR at startup when using conio
To do this we add a constructor call to UPDCRAMPTR, which is the ROM
routine that fixes up CRAM_PTR to match the screen location pointed to
by SCREEN_PTR.

This adds two additional bytes to programs using cputc() or other
routines that call it. These are in theory recoverable, but the VIC-20
does not yet free space used by constructors after the constructors
have been called.

Thanks to <greg.king5@verizon.net> (GitHub: greg-king5) for
investigating the difference in the VIC-20 KERNAL from the C64 and
proposing this solution to the problem.[1]

[1]: https://github.com/cc65/cc65/issues/946#issuecomment-538502820
2019-10-25 16:03:38 -04:00
..
emd
joy
_scrsize.s
break.s
cgetc.s
clrscr.s
color.s
conio.s
cputc.s vic20/cputc: Fix incorrect CRAM_PTR at startup when using conio 2019-10-25 16:03:38 -04:00
crt0.s
devnum.s
get_tv.s
irq.s
joy_stat_stddrv.s
joy_stddrv.s
kbhit.s
kbrepeat.s
kernal.s
kplot.s
libref.s
mainargs.s
randomize.s
revers.s
status.s
sysuname.s
waitvsync.s