Add struc for disk parameter table

This commit is contained in:
Nero 2020-08-15 18:30:17 +00:00
parent a90ca60422
commit 626b7e5624
2 changed files with 14 additions and 0 deletions

View File

@ -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
View 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