mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
166a4b25f7
Also publish detect_iigs(), set_iigs_speed() and get_iigs_speed(). Refactor to only store one ostype variable.
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
|