1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 22:25:28 +00:00
Files
cc65/libsrc/apple2/bell.s
Colin Leroy-Mira 2ba176372e Add beep for apple2
2024-01-23 23:04:50 +01:00

21 lines
339 B
ArmAsm

;
; Colin Leroy-Mira, 2024
;
; BELL routine
;
.export BELL
.include "apple2.inc"
.segment "LOWCODE"
BELL:
; Switch in ROM and call BELL
bit $C082
jsr $FF3A ; BELL
; Switch in LC bank 2 for R/O and return
bit $C080
rts