mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 07:08:04 +11:00
2d9a07d215
This was becoming heavy to manage.
11 lines
274 B
Plaintext
11 lines
274 B
Plaintext
( Initializes the readln subsystem )
|
|
: RDLN$
|
|
H@ 0x32 ( IN(* ) RAM+ !
|
|
( plus 2 for extra bytes after buffer: 1 for
|
|
the last typed 0x0a and one for the following NULL. )
|
|
IN) IN( - ALLOT
|
|
(infl)
|
|
['] RDLN< 0x0c RAM+ !
|
|
1 0x06 RAM+ ! ( 06 == C<? )
|
|
;
|