mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
21 lines
357 B
ArmAsm
21 lines
357 B
ArmAsm
|
;
|
||
|
; Colin Leroy-Mira, 2024
|
||
|
;
|
||
|
; WAIT routine
|
||
|
;
|
||
|
|
||
|
.export WAIT
|
||
|
|
||
|
.include "apple2.inc"
|
||
|
|
||
|
.segment "LOWCODE"
|
||
|
|
||
|
WAIT:
|
||
|
; Switch in ROM and call WAIT
|
||
|
bit $C082
|
||
|
jsr $FCA8 ; Vector to WAIT routine
|
||
|
|
||
|
; Switch in LC bank 2 for R/O and return
|
||
|
bit $C080
|
||
|
rts
|