2020-04-23 11:19:12 +10:00
|
|
|
( Name of BOOT word )
|
|
|
|
L1 BSET 'B' A, 'O' A, 'O' A, 'T' A, 0 A,
|
|
|
|
|
|
|
|
PC ORG @ 1 + ! ( main )
|
|
|
|
( STACK OVERFLOW PROTECTION: See B76 )
|
2020-05-12 11:08:24 +10:00
|
|
|
SP PS_ADDR LDddnn,
|
2020-04-23 11:19:12 +10:00
|
|
|
IX RS_ADDR LDddnn,
|
|
|
|
( HERE begins at RAMEND )
|
|
|
|
HL RAMSTART 0x80 + LDddnn,
|
|
|
|
RAMSTART 0x04 + LD(nn)HL, ( RAM+04 == HERE )
|
|
|
|
( LATEST is a label to the latest entry of the dict. It is
|
|
|
|
written at offset 0x08 by the process or person building
|
|
|
|
Forth. )
|
2020-04-28 05:04:37 +10:00
|
|
|
BIN( @ 0x08 + LDHL(nn),
|
2020-04-23 11:19:12 +10:00
|
|
|
RAMSTART 0x02 + LD(nn)HL, ( RAM+02 == CURRENT cont. )
|