mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-31 08:58:05 +11:00
0163af470a
Previously, calling quit would break EOT behavior and not properly quit Collapse OS.
13 lines
390 B
Plaintext
13 lines
390 B
Plaintext
: (main) INTERPRET BYE ;
|
|
: BOOT
|
|
0x02 RAM+ CURRENT* !
|
|
CURRENT @ 0x2e RAM+ ! ( 2e == BOOT C< PTR )
|
|
0 0x08 RAM+ ! ( 08 == C<* override )
|
|
0 0x53 RAM+ ! ( 53 == (emit) override )
|
|
0 0x55 RAM+ ! ( 55 == (key) override )
|
|
0 0x0a RAM+ ! ( NLPTR )
|
|
( 0c == C<* )
|
|
['] (boot<) 0x0c RAM+ !
|
|
( boot< always has a char waiting. 06 == C<?* )
|
|
1 0x06 RAM+ ! (main) ;
|