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

25 lines
312 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$
Z80A$
2020-04-15 06:07:07 +10:00
LIT< _sys [entry]
2020-04-14 23:05:43 +10:00
INTERPRET
;