mirror of
https://github.com/cc65/cc65.git
synced 2024-08-30 01:29:41 +00:00
26 lines
424 B
ArmAsm
26 lines
424 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2002-12-12
|
||
|
;
|
||
|
; PLOT replacement function for the PETs
|
||
|
;
|
||
|
|
||
|
.export PLOT
|
||
|
.import plot ; from cputc.s
|
||
|
|
||
|
.include "pet.inc"
|
||
|
|
||
|
|
||
|
.proc PLOT
|
||
|
|
||
|
bcs @L1 ; Fetch values if carry set
|
||
|
sty CURS_X
|
||
|
stx CURS_Y
|
||
|
jsr plot
|
||
|
@L1: ldy CURS_X
|
||
|
ldx CURS_Y
|
||
|
rts
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
|