mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 04:38:06 +11:00
650481f849
Only its jump at 0x33 remains. I've also fixed a strange offset oddity in 8086's (n) placement. It was off by 2, but strangely, it ran properly. Anyway, now it's fixed.
15 lines
506 B
Plaintext
15 lines
506 B
Plaintext
lblexec BSET ( DI -> wordref )
|
|
AL [DI] MOVr[], DI INCx, ( PFA )
|
|
AL AL ORrr, IFZ, DI JMPr, THEN, ( native )
|
|
AL DECr, IFNZ, ( cell or does )
|
|
DI PUSHx, ( push PFA )
|
|
AL DECr, IFZ, ( cell ) JMPs, lblnext @ RPCs, THEN,
|
|
( does, see B302 )
|
|
DI INCx, DI INCx, DI [DI] MOVx[],
|
|
THEN, ( continue to compiled )
|
|
( compiled )
|
|
BP INCx, BP INCx, [BP] 0 DX MOV[]+x, ( pushRS )
|
|
DX DI MOVxx, DX INCx, DX INCx, ( --> IP )
|
|
DI [DI] MOVx[],
|
|
JMPs, lblexec @ RPCs,
|