kernel: read A: geometry from BIOS
This commit is contained in:
parent
734ab3852a
commit
fde87d651c
2 changed files with 75 additions and 4 deletions
|
@ -48,10 +48,7 @@ intlp: movsw
|
|||
mov bx, 0
|
||||
call fd_write
|
||||
|
||||
call dnconv
|
||||
mov al, dl
|
||||
call select
|
||||
call load_bpb
|
||||
call drives_init
|
||||
|
||||
loop: int 0x28
|
||||
jmp loop
|
||||
|
@ -241,9 +238,12 @@ fputc: push ax
|
|||
%include "kernel/fd.asm"
|
||||
%include "kernel/con.asm"
|
||||
|
||||
%include "kernel/drive.asm"
|
||||
%include "kernel/diskio.asm"
|
||||
%include "kernel/fat.asm"
|
||||
|
||||
zero: dw 0
|
||||
|
||||
section .data
|
||||
|
||||
vects: dw int20h, int21h, retf, retf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue