2002-11-22 22:24:24 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 22.11.2002
|
|
|
|
;
|
|
|
|
; PLOT replacement function
|
|
|
|
;
|
|
|
|
|
|
|
|
.export PLOT
|
|
|
|
|
2019-10-24 13:46:41 +09:00
|
|
|
.scope KERNAL
|
|
|
|
.include "cbm_kernal.inc"
|
|
|
|
.endscope
|
|
|
|
|
2002-11-22 22:24:24 +00:00
|
|
|
.include "plus4.inc"
|
|
|
|
|
|
|
|
.segment "LOWCODE" ; Must go into low memory
|
|
|
|
|
|
|
|
.proc PLOT
|
|
|
|
sta ENABLE_ROM ; Enable the ROM
|
2019-10-24 13:46:41 +09:00
|
|
|
jsr KERNAL::PLOT ; Call the ROM routine
|
2002-11-22 22:24:24 +00:00
|
|
|
sta ENABLE_RAM ; Switch back to RAM
|
|
|
|
rts ; Return to caller
|
|
|
|
.endproc
|