mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
d55fb5217e
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
22 lines
483 B
ArmAsm
22 lines
483 B
ArmAsm
;
|
|
; 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
|
|
|
|
|