1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 17:30:50 +00:00
Curt J. Sampson 128991d868 libsrc/*/kplot.s: Use cbm_kernal.inc symbols, not hardcoded addrs
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.
2019-10-25 16:03:38 -04:00
..
2004-05-12 13:16:36 +00:00
2005-02-14 09:39:46 +00:00
2018-11-12 14:36:40 +01:00
2017-12-15 23:51:39 +01:00
2018-11-26 22:14:31 +01:00
2017-03-17 21:42:51 +01:00
2016-06-13 20:40:01 +02:00
2015-11-29 20:04:10 +01:00
2004-10-26 21:03:47 +00:00
2002-12-20 21:02:35 +00:00
2019-01-29 22:00:55 +01:00
2017-12-07 20:39:28 +01:00
2018-08-30 11:48:46 +02:00
2018-04-20 21:24:37 +03:00
2013-12-06 20:53:49 +01:00
2003-03-14 00:09:21 +00:00
2019-02-05 23:27:52 +01:00
2019-07-21 14:11:51 -04:00
2003-12-03 20:23:09 +00:00