1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 07:48:04 +11:00
collapseos/blk/811

11 lines
373 B
Plaintext
Raw Normal View History

2020-06-13 04:01:24 +10:00
H@ ORG ! 0x7c00 BIN( ! ( BIOS loads boot bin at 0x7c00 )
2020-06-14 06:21:56 +10:00
JMPs, L1 FWRs ( start )
ORG @ 0x25 + HERE ! ( bypass BPB )
2020-06-13 04:01:24 +10:00
L1 FSET ( start )
CLI, CLD, AX 0x800 MOVxI, DS AX MOVsx, ES AX MOVsx,
SS AX MOVsx, STI,
2020-06-19 21:56:54 +10:00
AH 2 MOVri, DX 0 MOVxI, CH 0 MOVri, CL 2 MOVri, AL 3 MOVri,
BX 0 MOVxI, 0x13 INT, ( read sectors 2-4 of boot floppy )
0x800 0 JMPf,
ORG @ 0x1fe + HERE ! 0x55 A, 0xaa A,