Add struc for disk parameter table
This commit is contained in:
parent
a90ca60422
commit
626b7e5624
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
%include "inc/bpb.asm"
|
%include "inc/bpb.asm"
|
||||||
%include "inc/mbr.asm"
|
%include "inc/mbr.asm"
|
||||||
|
%include "inc/dpt.asm"
|
||||||
|
|
||||||
; kernel stack size in words
|
; kernel stack size in words
|
||||||
%define stacksize 512
|
%define stacksize 512
|
||||||
|
13
inc/dpt.asm
Normal file
13
inc/dpt.asm
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
struc dpt
|
||||||
|
.steprate resb 1
|
||||||
|
.dmahdld resb 1
|
||||||
|
.motoroff resb 1
|
||||||
|
.sectorsize resb 1
|
||||||
|
.lastsector resb 1
|
||||||
|
.gaplen resb 1
|
||||||
|
.dtl resb 1
|
||||||
|
.gapfmt resb 1
|
||||||
|
.fillchar resb 1
|
||||||
|
.hdsettle resb 1
|
||||||
|
.motoron resb 1
|
||||||
|
endstruc
|
Loading…
Reference in New Issue
Block a user