mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +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:
parent
2b50847a4c
commit
dfc6162e91
@ -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
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user