Fixed bug triggered if all 8 io buffer slots may be used.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4242 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -27,11 +27,12 @@ initiobuf:
|
|||||||
; Mark all remaining table entries as used
|
; Mark all remaining table entries as used
|
||||||
tax
|
tax
|
||||||
lda #$FF
|
lda #$FF
|
||||||
|
: cpx #MAX_FDS
|
||||||
|
bcc :+
|
||||||
|
rts
|
||||||
: sta table,x
|
: sta table,x
|
||||||
inx
|
inx
|
||||||
cpx #MAX_FDS
|
bne :-- ; Branch always
|
||||||
bcc :-
|
|
||||||
rts
|
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user