mirror of
https://github.com/StewBC/penetrator-apple2.git
synced 2025-01-16 01:31:12 +00:00
Allow lowercase (//e, etc)
Allow entry of lower case letters on later Apple II family machines
This commit is contained in:
parent
507670cae3
commit
c04da969ad
@ -1108,12 +1108,17 @@ loop:
|
|||||||
bcc loop ; ignore below '0'
|
bcc loop ; ignore below '0'
|
||||||
cmp #('9'+1)
|
cmp #('9'+1)
|
||||||
bcc accept ; 0-9 okay
|
bcc accept ; 0-9 okay
|
||||||
cmp #('A') ; < 'A' ignore
|
cmp #'A' ; < 'A' ignore
|
||||||
bcc loop
|
bcc loop
|
||||||
cmp #('Z'+1) ; > 'Z' ignore
|
cmp #('Z'+1)
|
||||||
bcs loop
|
bcc accept
|
||||||
|
cmp #'a'
|
||||||
|
bcc loop
|
||||||
|
cmp #('z'+1)
|
||||||
|
bcs loop ; ignore past 'Z'
|
||||||
|
|
||||||
accept:
|
accept:
|
||||||
|
; lda theChar
|
||||||
ldy entryLen ; how many characters already entered
|
ldy entryLen ; how many characters already entered
|
||||||
cpy textLen ; vs how many can be entered
|
cpy textLen ; vs how many can be entered
|
||||||
bcs loop ; already full, don't accept
|
bcs loop ; already full, don't accept
|
||||||
|
Loading…
x
Reference in New Issue
Block a user