mirror of
https://github.com/forth-ev/VolksForth.git
synced 2024-11-25 10:30:57 +00:00
Fix an endless loop problem within derror?
This commit is contained in:
parent
deedf5679b
commit
8f2f97e1f2
@ -212,7 +212,8 @@ Code bus@ ( -- 8b)
|
||||
bounds ?DO bus@ I c! LOOP pause ;
|
||||
|
||||
: derror? ( -- flag )
|
||||
disk $F busin bus@ dup Ascii 0 -
|
||||
IF BEGIN emit bus@ dup #cr = UNTIL
|
||||
0= cr ELSE BEGIN bus@ #cr = UNTIL
|
||||
THEN 0= busoff ;
|
||||
disk $F busin bus@ dup Ascii 0 =
|
||||
IF drop BEGIN bus@ drop i/o-status? UNTIL false
|
||||
ELSE BEGIN emit bus@ i/o-status? UNTIL emit true THEN
|
||||
busoff ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user