Skip to content

Commit 6432cb2

Browse files
committed
Make input to sound like original zx48 key taps
Use POKE 23609, -1 (or 255) to mute it.
1 parent 40162f9 commit 6432cb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/arch/zx48k/library/input.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ FUNCTION input(MaxLen AS UINTEGER) AS STRING
5050
BEEPER EQU 0x3B5
5151

5252
ld a, (PIP)
53-
or a
53+
cp 0xFF
5454
jr z, NO_CLICK
5555
push ix
5656
ld e, a

src/arch/zxnext/library/input.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ FUNCTION input(MaxLen AS UINTEGER) AS STRING
5050
BEEPER EQU 0x3B5
5151

5252
ld a, (PIP)
53-
or a
53+
cp 0xFF
5454
jr z, NO_CLICK
5555
push ix
5656
ld e, a

0 commit comments

Comments
 (0)