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
..
2017-12-28 01:58:03 +01:00
2018-03-07 00:20:42 +01:00
2018-11-26 22:14:31 +01:00
2018-04-29 12:13:52 -07:00
2018-04-28 13:26:20 -07:00
2015-10-14 17:52:14 +02:00
2016-03-13 14:32:07 +01:00
2018-06-30 16:25:43 +03:00
2013-07-25 13:53:15 -04:00
2013-07-25 13:53:15 -04:00
2015-10-19 02:47:40 +02:00
2017-12-28 17:52:27 +01:00
2017-12-28 02:26:23 +01:00
2017-07-18 01:04:53 +02:00