Add beep for apple2

This commit is contained in:
Colin Leroy-Mira
2024-01-18 13:55:18 +01:00
committed by Oliver Schmidt
parent 6c7106c9d9
commit 2ba176372e
6 changed files with 49 additions and 1 deletions

20
libsrc/apple2/bell.s Normal file
View File

@@ -0,0 +1,20 @@
;
; 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