mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 21:50:55 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
280 B
Plaintext
17 lines
280 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<? )
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
|