mirror of
https://github.com/byteworksinc/ORCALib.git
synced 2024-06-14 03:29:41 +00:00
Fix a logic error.
There was a problem with the fix in commit 0047b755c9660: an instruction should have had an immediate operand, but did not because it was missing the #. This might cause the code to behave incorrectly, depending on memory contents.
This commit is contained in:
parent
a2b3d4541a
commit
c95bfc19fb
|
@ -4529,7 +4529,7 @@ orVal ds 2 for setting the case of characters
|
||||||
sta [stream],Y
|
sta [stream],Y
|
||||||
ldy #FILE_flag if read stream
|
ldy #FILE_flag if read stream
|
||||||
lda [stream],Y
|
lda [stream],Y
|
||||||
bit _IOREAD
|
bit #_IOREAD
|
||||||
beq ib1
|
beq ib1
|
||||||
lda #0 set count of chars in buffer to 0
|
lda #0 set count of chars in buffer to 0
|
||||||
tax
|
tax
|
||||||
|
|
Loading…
Reference in New Issue
Block a user