mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 21:58:05 +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
197 B
Plaintext
17 lines
197 B
Plaintext
: FWR BSET 0 A, ;
|
|
: FSET @ THEN, ;
|
|
: BREAK, FJR, 0x8000 OR ;
|
|
: BREAK?, DUP 0x8000 AND IF
|
|
0x7fff AND 1 ALLOT THEN, -1 ALLOT
|
|
THEN ;
|
|
: AGAIN, BREAK?, PC - 1- A, ;
|
|
: BWR @ AGAIN, ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|