collapseos/blk/289

16 lines
500 B
Plaintext
Raw Normal View History

2020-04-22 21:19:12 -04:00
( Name of BOOT word )
2020-05-25 20:16:07 -04:00
L1 BSET 4 A, 'B' A, 'O' A, 'O' A, 'T' A,
2020-04-22 21:19:12 -04:00
PC ORG @ 1 + ! ( main )
( STACK OVERFLOW PROTECTION: See B76 )
SP PS_ADDR LDddnn,
2020-04-22 21:19:12 -04: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. )
BIN( @ 0x08 + LDHL(nn),
2020-04-22 21:19:12 -04:00
RAMSTART 0x02 + LD(nn)HL, ( RAM+02 == CURRENT cont. )