OSをつくろうpart2
■ このスレッドは過去ログ倉庫に格納されています
0772ひげぽん
NGNG[bits 32]
flush_q1:
としてみました。
>>771
read:
mov ax, 1000h
mov es, ax ; es:bx is
mov bx, 0 ; data buffer
mov ah, 02h ; read sectors into memory
mov al, 5 ; number of sectors to read
mov ch, 0 ; low eight bits of cylinder number
mov cl, 2 ; sector number
mov dh, 0 ; head number
mov dl, 0 ; drive number
int 13h ; read!
jc read
jmp 1000h:0000 ; jump to the secondboot
とすると、1000hに読み込まれた実行イメージにジャンプするという
認識だったのですが、もしかして出発点から間違ってます?
■ このスレッドは過去ログ倉庫に格納されています