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 )
|
2020-06-14 01:47:32 +10:00
|
|
|
ORG @ 0x25 + HERE ! ( bypass BPB )
|
2020-06-13 04:01:24 +10:00
|
|
|
L1 FSET ( start )
|
2020-06-14 05:35:16 +10:00
|
|
|
CLI, CLD, AX AX XORxx, DS AX MOVsx, ES AX MOVsx,
|
|
|
|
SS AX MOVsx, SP 0xffff MOVrI, STI,
|
2020-06-14 03:29:04 +10:00
|
|
|
AH 2 MOVri, DX 0 MOVrI, CH 0 MOVri, CL 2 MOVri, AL 1 MOVri,
|
|
|
|
BX 0x8000 MOVrI, 0x13 INT, ( read 2nd sector of boot floppy )
|
2020-06-14 05:35:16 +10:00
|
|
|
BX JMPr,
|
2020-06-14 01:47:32 +10:00
|
|
|
ORG @ 0x1fe + HERE ! 0x55 A, 0xaa A,
|