Integrated latest fix contributed by Kajtar Zsolt.
This commit is contained in:
parent
d9d3f7b6b5
commit
ce412471e4
2 changed files with 4 additions and 2 deletions
|
@ -102,7 +102,8 @@ _pfs_open:
|
||||||
ldy #255
|
ldy #255
|
||||||
sty ptr1
|
sty ptr1
|
||||||
@L10: iny
|
@L10: iny
|
||||||
bmi error3 ;too long...
|
cpy #F_MAXLEN
|
||||||
|
bcs error3 ;too long...
|
||||||
ldx #4
|
ldx #4
|
||||||
@L12: cmp illchr,x
|
@L12: cmp illchr,x
|
||||||
beq error3 ;illegal char?
|
beq error3 ;illegal char?
|
||||||
|
|
|
@ -102,7 +102,8 @@ _pfs_open:
|
||||||
ldy #255
|
ldy #255
|
||||||
sty ptr1
|
sty ptr1
|
||||||
@L10: iny
|
@L10: iny
|
||||||
bmi error3 ;too long...
|
cpy #F_MAXLEN
|
||||||
|
bcs error3 ;too long...
|
||||||
ldx #4
|
ldx #4
|
||||||
@L12: cmp illchr,x
|
@L12: cmp illchr,x
|
||||||
beq error3 ;illegal char?
|
beq error3 ;illegal char?
|
||||||
|
|
Loading…
Add table
Reference in a new issue