From 8b0b73d8a4b01f4da8237ab3fd682da44ab40ac7 Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Wed, 17 Sep 2025 16:22:47 -0400 Subject: [PATCH] start partition table at entry 1 --- include/partition_table.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/partition_table.inc b/include/partition_table.inc index 524e4ae..c91d18e 100755 --- a/include/partition_table.inc +++ b/include/partition_table.inc @@ -15,6 +15,9 @@ %ifndef __INC_PART_TABLE +%define DISK_SIGNATURE_OFFSET 0x1B8 +%define DISK_PARTITION_TABLE_OFFSET 0x1BE + ; Partition table entry format ; Off. Size. Description ;0x00 1 Drive attributes (bit 7 set = active or bootable) @@ -34,8 +37,6 @@ struc PartEntry_t endstruc struc PartTable_t - .signature resb 4 - .reserved resb 2 .partition1 resb PartEntry_t_size .partition2 resb PartEntry_t_size .partition3 resb PartEntry_t_size