mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 22:38:06 +11:00
d7f002df98
instead of hardcoded drive 0.
10 lines
315 B
Plaintext
10 lines
315 B
Plaintext
PC 3 - ORG @ 1+ ! ( main )
|
|
DX POPx, ( boot drive no ) 0x03 DL MOVmr,
|
|
SP PS_ADDR MOVxI, BP RS_ADDR MOVxI,
|
|
DI 0x08 MOVxm, ( LATEST )
|
|
( HERE begins at CURRENT )
|
|
RAMSTART 0x4 ( HERE ) + DI MOVmx,
|
|
RAMSTART 0x2 ( CURRENT ) + DI MOVmx,
|
|
DI 0x04 ( BOOT ) MOVxm,
|
|
JMPn, lblexec @ RPCn, ( execute )
|