1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +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 Remove trailings spaces from CBM-related asm files 2019-03-22 22:54:05 +01:00
joy
_scrsize.s
break.s Adjusted comments to match actual prototypes. 2018-11-06 11:13:23 +01:00
cgetc.s Updated to use cbm_kernal.inc. Whitespace cleanups 2018-11-26 22:14:31 +01:00
clrscr.s Updated to use cbm_kernal.inc. Whitespace cleanups 2018-11-26 22:14:31 +01:00
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 libsrc/*/kplot.s: Use cbm_kernal.inc symbols, not hardcoded addrs 2019-10-25 16:03:38 -04:00
libref.s
mainargs.s Remove trailings spaces from CBM-related asm files 2019-03-22 22:54:05 +01:00
randomize.s
revers.s
status.s
sysuname.s
waitvsync.s