[cc65] VIC20 conio

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-09 11:55:06


Hi!

On Mon, Dec 09, 2002 at 12:07:24AM +0100, Groepaz wrote:
> i have fixed the problems in the vic-library actually :o) ... the most tricky
> part was finding out that the "set/get cursor" function in vic-kernal doesnt
> seem to handle the colorram-pointer correctly.... the rest was just about
> reimplementing those routines myself to get a working version :)

Thanks for finding the cause for the problem! However, I think that fixing the
PLOT function for the VIC20 is a better solution, because it will fix all
other uses of PLOT, too.

The kernal entry points for the CBM machines are no longer real kernal entry
points, but just external symbols. For machines that have an "ideal"
implementation in the kernal, these external symbols point to the kernal code.
For others, the external symbols point to fixup stubs or even to complete
replacement functions. This was needed in several other places to fix
differences for other machines (the PETs being an example). So I've added a
replacement PLOT function to the VIC20 code which should make the existing
code work without any other changes (and all other code relying on PLOT too).

BTW: The code for calculating the color ram pointers is already in the kernal
ROM at $EAB2, so there's no need to reimplement it.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-09 11:55:13 CET