2009-09-27 18:45:08 +00:00
|
|
|
;
|
|
|
|
; 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
|
|
|
|
|
2019-10-24 04:46:41 +00:00
|
|
|
.scope KERNAL
|
|
|
|
.include "cbm_kernal.inc"
|
|
|
|
.endscope
|
2009-09-27 18:45:08 +00:00
|
|
|
|
|
|
|
.proc PLOT
|
|
|
|
|
|
|
|
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
|
2009-09-27 18:45:08 +00:00
|
|
|
|
2019-10-24 04:46:41 +00:00
|
|
|
@L1: jmp KERNAL::PLOT ; Get cursor position
|
2009-09-27 18:45:08 +00:00
|
|
|
|
|
|
|
.endproc
|