2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 06.08.1998
|
|
|
|
;
|
|
|
|
; void clrscr (void);
|
|
|
|
;
|
|
|
|
|
2013-05-09 13:56:54 +02:00
|
|
|
.export _clrscr
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2018-11-25 10:46:05 +02:00
|
|
|
.include "cbm_kernal.inc"
|
2013-05-09 13:56:54 +02:00
|
|
|
.include "plus4.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2002-11-22 22:16:20 +00:00
|
|
|
.segment "LOWCODE" ; Must go into low memory
|
|
|
|
|
|
|
|
.proc _clrscr
|
|
|
|
sta ENABLE_ROM ; Enable the ROM
|
|
|
|
jsr CLRSCR ; Call the ROM routine
|
|
|
|
sta ENABLE_RAM ; Switch back to RAM
|
|
|
|
rts ; Return to caller
|
|
|
|
.endproc
|