1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-17 08:38:05 +11:00
collapseos/blk/426

13 lines
277 B
Plaintext
Raw Normal View History

: RDLNMEM+ 0x57 RAM+ @ + ;
( current position in INBUF )
: IN> 0 RDLNMEM+ ;
( points to INBUF )
: IN( 2 RDLNMEM+ ;
( points to INBUF's end )
: IN) 0x40 ( buffer size ) 2+ RDLNMEM+ ;
2020-05-13 23:02:44 +10:00
( flush input buffer )
( set IN> to IN( and set IN> @ to null )
: (infl) 0 IN( DUP IN> ! ! ;
2020-05-13 23:02:44 +10:00