1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-14 19:08:05 +11:00
collapseos/blk/289
Virgil Dupras 98d23bc59b wip
2020-05-24 23:05:05 -04:00

16 lines
500 B
Plaintext

( Name of BOOT word )
4 A, L1 BSET 'B' A, 'O' A, 'O' A, 'T' A,
PC ORG @ 1 + ! ( main )
( STACK OVERFLOW PROTECTION: See B76 )
SP PS_ADDR LDddnn,
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),
RAMSTART 0x02 + LD(nn)HL, ( RAM+02 == CURRENT cont. )