2020-06-12 14:01:24 -04:00
|
|
|
H@ ORG ! 0x7c00 BIN( ! ( BIOS loads boot bin at 0x7c00 )
|
2020-06-13 16:21:56 -04:00
|
|
|
JMPs, L1 FWRs ( start )
|
2020-06-13 11:47:32 -04:00
|
|
|
ORG @ 0x25 + HERE ! ( bypass BPB )
|
2020-06-12 14:01:24 -04:00
|
|
|
L1 FSET ( start )
|
2020-06-13 20:06:51 -04:00
|
|
|
CLI, CLD, AX 0x800 MOVxi, DS AX MOVsx, ES AX MOVsx,
|
2020-06-13 17:58:42 -04:00
|
|
|
SS AX MOVsx, SP 0xffff MOVxi, STI,
|
|
|
|
AH 2 MOVri, DX 0 MOVxi, CH 0 MOVri, CL 2 MOVri, AL 1 MOVri,
|
2020-06-13 20:06:51 -04:00
|
|
|
BX 0 MOVxi, 0x13 INT, ( read 2nd sector of boot floppy )
|
|
|
|
0x800 0 JMPf,
|
2020-06-13 11:47:32 -04:00
|
|
|
ORG @ 0x1fe + HERE ! 0x55 A, 0xaa A,
|