?????????linux?????????????е???????д??
???????????????????
????boot.s
;??????????????????????е??????kernel??????
;???0x1000:0000??λ????????????????
;
;
;
org 07c00h
jmp start
msg:
db "Now??begin to load kernel...."??0ah
msgLen equ $-msg
start:
mov ax??cs
mov ds??ax
mov es??ax
mov ax??msg
mov bp??ax
mov cx??msgLen
mov ax??01301h
mov bx??000ch
mov dl??0
int 10h
load:
mov dx??0x0000 ;dh->??????dl->????????
mov ax??0x1000
mov es??ax
xor bx??bx ;es:bx->the data   0x1000:0000
mov ch??0 ;ch->?????
mov cl??2 ;cl->?????????
mov ah??02h ;param
mov al??01h ;how many blocks to read
int 13h
sys: ;jmp to the kernel
jmp 0x1000:0
times 510 -($-$$) db 0
dw 0xaa55