mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
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
|
||
|
|
||
|
|