Changed the solution for the PLOT problem with old -02 kernals to that used
for the VIC20: PLOT is not an kernal entry but a library function that will do the right stuff. This makes it work with other stuff that calls PLOT, too. git-svn-id: svn://svn.cc65.org/cc65/trunk@4249 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
21
libsrc/c64/kplot.s
Normal file
21
libsrc/c64/kplot.s
Normal file
@@ -0,0 +1,21 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 2002-12-09, 2009-09-27
|
||||
;
|
||||
; PLOT replacement function for the C64. The kernal function in the -02 kernals
|
||||
; does not set the pointer to the color RAM correctly, so we need to fix that.
|
||||
;
|
||||
|
||||
.export PLOT
|
||||
|
||||
|
||||
.proc PLOT
|
||||
|
||||
bcs @L1
|
||||
jsr $FFF0 ; Set cursor position
|
||||
jmp $EA24 ; Set pointer to color RAM
|
||||
|
||||
@L1: jmp $FFF0 ; Get cursor position
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user