1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00

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:
ol.sc 2009-09-26 21:32:05 +00:00
parent 2b50847a4c
commit dfc6162e91

View File

@ -27,11 +27,12 @@ initiobuf:
; Mark all remaining table entries as used
tax
lda #$FF
: cpx #MAX_FDS
bcc :+
rts
: sta table,x
inx
cpx #MAX_FDS
bcc :-
rts
bne :-- ; Branch always
; ------------------------------------------------------------------------