Skip to content

Commit

Permalink
limit the tokenize shift to lowercase range
Browse files Browse the repository at this point in the history
  • Loading branch information
mooinglemur committed Mar 20, 2024
1 parent 504345d commit 6624448
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions basic/code2.s
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ mustcr sty bufptr
reser iny
inx
rescon lda bufofs,x
sec
cmp #128
bcs :+
cmp #97
bcc :+
sbc #32
: sec
sbc reslst,y
beq reser
cmp #32
beq reser
cmp #128
beq :+
cmp #160
bne nthis
lda #128
: ora count
ora count
getbpt ldy bufptr
stuffh inx
iny
Expand Down Expand Up @@ -88,13 +88,14 @@ nthis1 iny
reser2 iny
inx
rescon2 lda bufofs,x
sec
cmp #128
bcs :+
cmp #97
bcc :+
sbc #32
: sec
sbc reslst2,y
beq reser2
cmp #32
beq reser2
cmp #160
beq resfnd
cmp #128
bne nthis2

Expand Down Expand Up @@ -129,13 +130,14 @@ nthis12 iny
reser3 iny
inx
rescon3 lda bufofs,x
sec
cmp #128
bcs :+
cmp #97
bcc :+
sbc #32
: sec
sbc reslst3,y
beq reser3
cmp #32
beq reser3
cmp #160
beq resfnd
cmp #128
beq resfnd

Expand Down

0 comments on commit 6624448

Please sign in to comment.