mirror of
https://github.com/cc65/cc65.git
synced 2026-04-25 22:18:27 +00:00
Fixed the PLOT function
git-svn-id: svn://svn.cc65.org/cc65/trunk@1728 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
;
|
||||
; 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user