kernel: First steps of calculating drive tab data from BPB
This commit is contained in:
parent
cc3fe6c4ee
commit
352540bd25
3 changed files with 77 additions and 118 deletions
|
@ -2,15 +2,6 @@ section .bss
|
|||
|
||||
drives: equ 16
|
||||
|
||||
; drive table entry
|
||||
struc drive
|
||||
.biosnum: resb 1
|
||||
.flag: resb 1
|
||||
.spc: resw 1
|
||||
.cylinders: resw 1
|
||||
.dpt: resb dpt_size
|
||||
endstruc
|
||||
|
||||
; ptr into currently selected drive
|
||||
drive_ptr: resw 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue