start partition table at entry 1

This commit is contained in:
2025-09-17 16:22:47 -04:00
parent 803be58c10
commit 8b0b73d8a4

View File

@@ -15,6 +15,9 @@
%ifndef __INC_PART_TABLE %ifndef __INC_PART_TABLE
%define DISK_SIGNATURE_OFFSET 0x1B8
%define DISK_PARTITION_TABLE_OFFSET 0x1BE
; Partition table entry format ; Partition table entry format
; Off. Size. Description ; Off. Size. Description
;0x00 1 Drive attributes (bit 7 set = active or bootable) ;0x00 1 Drive attributes (bit 7 set = active or bootable)
@@ -34,8 +37,6 @@ struc PartEntry_t
endstruc endstruc
struc PartTable_t struc PartTable_t
.signature resb 4
.reserved resb 2
.partition1 resb PartEntry_t_size .partition1 resb PartEntry_t_size
.partition2 resb PartEntry_t_size .partition2 resb PartEntry_t_size
.partition3 resb PartEntry_t_size .partition3 resb PartEntry_t_size