mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 05:28:06 +11:00
pcat: it works!
Forth intepreter now works! There's still DOES> and overflow checks to implement, but otherwise, we have it!
This commit is contained in:
parent
ae719508d9
commit
99c05fff3c
2
blk/818
2
blk/818
@ -2,4 +2,4 @@
|
||||
DI 3 SUBxi, AX [DI] MOVx[], ( prev )
|
||||
AX AX ORxx,
|
||||
JNZ, AGAIN, ( loop )
|
||||
AX INCx, ( NZ ) RETn,
|
||||
SI DECx, ( start of string, and NZ ) RETn,
|
||||
|
@ -9,7 +9,8 @@ RS_ADDR 0x80 - CONSTANT RAMSTART
|
||||
CODE (emit)
|
||||
AX POPx, AH 0x0e MOVri, ( print char ) 0x10 INT,
|
||||
;CODE
|
||||
CODE (key) AH AH XORrr, 0x16 INT, AX PUSHx, ;CODE
|
||||
CODE (key)
|
||||
AH AH XORrr, 0x16 INT, AH AH XORrr, AX PUSHx, ;CODE
|
||||
380 LOAD ( xcomp core high )
|
||||
(entry) _
|
||||
( Update LATEST )
|
||||
|
Loading…
Reference in New Issue
Block a user