mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 23:18:05 +11:00
bd38d80f9c
and renamed it "Core words". Also, reworded the presentation.
12 lines
244 B
Plaintext
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> ! ! ;
|
|
|