1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +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 Updated to use the new VIA register names. 2018-04-11 22:40:46 +03:00
_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 Renamed RAM to MAIN for all disk based targets. 2016-03-07 01:28:55 +01:00
devnum.s
get_tv.s Simpler get_tv 2018-04-10 18:37:10 +00:00
irq.s Renamed INITBSS to INIT and INIT to ONCE. 2016-03-06 21:27:19 +01:00
joy_stat_stddrv.s
joy_stddrv.s
kbhit.s
kbrepeat.s Removed dysfunctional kbrepeatdelay() and kbrepeatrate(). 2017-08-30 16:37:59 +02:00
kernal.s TAB to space conversion 2018-06-30 16:25:43 +03:00
kplot.s libsrc/*/kplot.s: Use cbm_kernal.inc symbols, not hardcoded addrs 2019-10-25 16:03:38 -04:00
libref.s Added vic20 - ram emd. 2018-03-16 14:23:52 -07:00
mainargs.s Remove trailings spaces from CBM-related asm files 2019-03-22 22:54:05 +01:00
randomize.s Fixed the random-seed generators for the Commodore targets. 2015-09-11 10:03:07 -04:00
revers.s
status.s
sysuname.s
waitvsync.s wait for line 0 instead of last line 2017-07-18 01:06:20 +02:00