mirror of
https://github.com/cc65/cc65.git
synced 2024-10-31 20:06:11 +00:00
22 lines
451 B
ArmAsm
22 lines
451 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2002-12-09
|
||
|
;
|
||
|
; PLOT replacement function for the VIC20. The kernal function does not set
|
||
|
; the pointer to the color RAM correctly.
|
||
|
;
|
||
|
|
||
|
.export PLOT
|
||
|
|
||
|
|
||
|
.proc PLOT
|
||
|
|
||
|
bcs @L1
|
||
|
jsr $FFF0 ; Set cursor position
|
||
|
jmp $EAB2 ; Set pointer to color RAM
|
||
|
|
||
|
@L1: jmp $FFF0 ; Get cursor position
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
|