aboutsummaryrefslogtreecommitdiffstats
path: root/src/std/disk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/std/disk.h')
-rw-r--r--src/std/disk.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/std/disk.h b/src/std/disk.h
index c111e073..b2576d93 100644
--- a/src/std/disk.h
+++ b/src/std/disk.h
@@ -81,6 +81,22 @@ struct int13dpt_s {
};
} PACKED;
+// Floppy info
+struct fdpt_s {
+ u16 cylinders;
+ u8 heads;
+ u8 a0h_signature;
+ u8 phys_sectors;
+ u16 precompensation;
+ u8 reserved;
+ u8 drive_control_byte;
+ u16 phys_cylinders;
+ u8 phys_heads;
+ u16 landing_zone;
+ u8 sectors;
+ u8 checksum;
+} PACKED;
+
// Floppy "Disk Base Table"
struct floppy_dbt_s {
u8 specify1;