mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 05:08:06 +11:00
d8d2e05eb2
find is the biggest chunk of logic of the boot code. The 8086 version is significantly terser than the z80 one. REP/CMPS helps...
6 lines
130 B
Plaintext
6 lines
130 B
Plaintext
L1 BSET PC 3 - ORG @ 0x34 + ! ( execute -- DI -> wordref )
|
|
AH AH XORrr,
|
|
AL [DI] MOVr[],
|
|
DI INCx, ( PFA )
|
|
AX JMPr,
|