1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-26 14:08:05 +11:00
collapseos/blk/457

13 lines
307 B
Plaintext
Raw Normal View History

2020-04-26 11:54:07 +10:00
( Initializes the readln subsystem )
: RDLN$
( 57 == rdln's memory )
H@ 0x57 RAM+ !
2020-04-26 11:54:07 +10:00
( 2 for IN>, plus 2 for extra bytes after buffer: 1 for
the last typed 0x0a and one for the following NULL. )
INBUFSZ 4 + ALLOT
(infl)
['] RDLN< 0x0c RAM+ !
1 0x06 RAM+ ! ( 06 == C<? )
;