1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-06 00:50:55 +11:00
collapseos/emul/forth/run.fs

24 lines
302 B
Forth
Raw Normal View History

2020-04-14 23:05:43 +10:00
: EFS@
256 /MOD 3 PC! 3 PC!
1024 0 DO
4 PC@
2020-04-14 23:05:43 +10:00
BLK( I + C!
LOOP
;
: EFS!
256 /MOD 3 PC! 3 PC!
1024 0 DO
BLK( I + C@ 4 PC!
LOOP
;
2020-04-14 23:05:43 +10:00
: INIT
CURRENT @ HERE !
BLK$
['] EFS@ BLK@* !
['] EFS! BLK!* !
2020-04-14 23:05:43 +10:00
RDLN$
2020-04-15 06:07:07 +10:00
LIT< _sys [entry]
2020-04-14 23:05:43 +10:00
INTERPRET
;