2020-07-05 22:23:40 -04:00
|
|
|
PC ORG @ 1 + ! ( main )
|
|
|
|
SP PS_ADDR LDdn, IX RS_ADDR LDdn,
|
|
|
|
( LATEST is a label to the latest entry of the dict. It is
|
|
|
|
written at offset 0x08 by the process or person building
|
|
|
|
Forth. )
|
|
|
|
BIN( @ 0x08 + LDHL(n),
|
|
|
|
SYSVARS 0x02 ( CURRENT ) + LD(n)HL,
|
|
|
|
HERESTART [IF]
|
|
|
|
HL HERESTART LDdn,
|
|
|
|
[THEN]
|
|
|
|
SYSVARS 0x04 + LD(n)HL, ( RAM+04 == HERE )
|
2020-08-14 21:41:34 -04:00
|
|
|
DE BIN( @ 0x04 ( BOOT ) + LDd(n),
|
2020-07-05 22:23:40 -04:00
|
|
|
JR, L1 FWR ( execute, B287 )
|