2002-12-09 10:45:16 +00:00
|
|
|
;
|
|
|
|
; 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
|
|
|
|
|
2019-10-24 04:46:41 +00:00
|
|
|
.scope KERNAL
|
|
|
|
.include "cbm_kernal.inc"
|
|
|
|
.endscope
|
2002-12-09 10:45:16 +00:00
|
|
|
|
|
|
|
.proc PLOT
|
|
|
|
|
2019-03-22 21:54:05 +00:00
|
|
|
bcs @L1
|
2019-10-24 04:46:41 +00:00
|
|
|
jsr KERNAL::PLOT ; Set cursor position using original ROM PLOT
|
|
|
|
jmp KERNAL::UPDCRAMPTR ; Set pointer to color RAM to match new cursor position
|
2002-12-09 10:45:16 +00:00
|
|
|
|
2019-10-24 04:46:41 +00:00
|
|
|
@L1: jmp KERNAL::PLOT ; Get cursor position
|
2002-12-09 10:45:16 +00:00
|
|
|
|
|
|
|
.endproc
|