Skip to content

Commit c016343

Browse files
authored
Merge pull request #462 from boriel/feature/make_input_bas_to_mimic_real_click_length
Make input to sound like original zx48 key taps
2 parents 40162f9 + 6432cb2 commit c016343

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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)