mirror of
https://github.com/cc65/cc65.git
synced 2024-09-29 02:55:20 +00:00
128991d868
On C64, VIC-20 and Plus/4, the conio library PLOT routine uses direct calls into the Kernal, including the Kernal PLOT routine that we're replacing. These were previously hardcoded addresses; we change these to use the symbols for those routines defined in cbm_kernal.inc. (This changes no functionality.) To do this, we need to import cbm_kernal.inc in a namespace so we don't have a collision between the PLOT that we're defining and the Kernal definition. We also add a UPDCRAMPTR symbol (used by kplot for VIC-20 and C64) to the direct entry kernal routines in in cbm_kernal.inc, and expand the comments describing what the "direct entry" Kernal routines are. <greg.king5@verizon.net> (GitHub: greg-king5) came up with this idea and did initial testing of it. This has been tested on VICE xvic, x64 and xplus4 emulators with a program that does a cputs() call (github.com/0cjs/vic20cc65) to confirm that it works the same way after as it did before. |
||
---|---|---|
.. | ||
_file.inc | ||
_heap.inc | ||
accelerator.inc | ||
apple2.inc | ||
apple2.mac | ||
atari2600_riot.inc | ||
atari2600_tia.inc | ||
atari2600.inc | ||
atari5200.inc | ||
atari_antic.inc | ||
atari_gtia.inc | ||
atari_pokey.inc | ||
atari.inc | ||
atari.mac | ||
atmos.inc | ||
c16.inc | ||
c64.inc | ||
c128.inc | ||
cbm510.inc | ||
cbm610.inc | ||
cbm_filetype.inc | ||
cbm_kernal.inc | ||
cbm.mac | ||
cpu.mac | ||
creativision.inc | ||
ctype.inc | ||
cx16.inc | ||
em-error.inc | ||
em-kernel.inc | ||
errno.inc | ||
fcntl.inc | ||
gamate.inc | ||
generic.mac | ||
get_tv.inc | ||
joy-error.inc | ||
joy-kernel.inc | ||
longbranch.mac | ||
lynx.inc | ||
modload.inc | ||
module.mac | ||
mouse-kernel.inc | ||
nes.inc | ||
o65.inc | ||
opcodes.inc | ||
pce.inc | ||
pet.inc | ||
plus4.inc | ||
ser-error.inc | ||
ser-kernel.inc | ||
signal.inc | ||
smc.inc | ||
stdio.inc | ||
supervision.inc | ||
telestrat.inc | ||
tgi-error.inc | ||
tgi-kernel.inc | ||
tgi-vectorfont.inc | ||
time.inc | ||
utsname.inc | ||
vic20.inc | ||
zeropage.inc |