1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-09-16 14:58:44 +10:00
collapseos/blk/426
2020-05-14 14:26:56 -04:00

12 lines
244 B
Plaintext

( current position in INBUF )
: IN> 0x30 RAM+ ;
( points to INBUF )
: IN( 0x32 RAM+ @ ;
( points to INBUF's end )
: IN) 0x40 ( buffer size ) IN( + ;
( flush input buffer )
( set IN> to IN( and set IN> @ to null )
: (infl) 0 IN( DUP IN> ! ! ;