diff options
author | hpa <hpa> | 2003-03-07 22:41:11 +0000 |
---|---|---|
committer | hpa <hpa> | 2003-03-07 22:41:11 +0000 |
commit | 7af9b1774b8c330d2f6e6c6584e3f269115d9905 (patch) | |
tree | 960c3f5e82eb0e13a3f750c8f8eb72f1bce5467c | |
parent | 1c5e5e0f5d3c12ac1a2e52d652231c9dc12a3f2e (diff) | |
download | syslinux-7af9b1774b8c330d2f6e6c6584e3f269115d9905.tar.gz |
Support 1680K and 1722K as standard floppy formats
-rw-r--r-- | memdisk/memdisk.doc | 2 | ||||
-rw-r--r-- | memdisk/setup.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/memdisk/memdisk.doc b/memdisk/memdisk.doc index 33f6517f..41a60abe 100644 --- a/memdisk/memdisk.doc +++ b/memdisk/memdisk.doc @@ -36,6 +36,8 @@ floppy image: 737,280 bytes - 720K floppy 1,222,800 bytes - 1200K floppy 1,474,560 bytes - 1440K floppy + 1,720,320 bytes - 1680K floppy (common extended format) + 1,763,328 bytes - 1722K floppy (common extended format) 2,949,120 bytes - 2880K floppy For any other size, the image is assumed to be a hard disk image, and diff --git a/memdisk/setup.c b/memdisk/setup.c index 05b4eefe..473d0056 100644 --- a/memdisk/setup.c +++ b/memdisk/setup.c @@ -307,6 +307,8 @@ static const struct geometry geometries[] = { 1440, 80, 2, 9, 0, 0x03, 0 }, /* 720 K*/ { 2400, 80, 2, 15, 0, 0x02, 0 }, /* 1200 K */ { 2880, 80, 2, 18, 0, 0x04, 0 }, /* 1440 K */ + { 1680, 80, 2, 21, 0, 0x04, 0 }, /* 1680 K */ + { 1722, 82, 2, 21, 0, 0x04, 0 }, /* 1722 K */ { 5760, 80, 2, 36, 0, 0x06, 0 }, /* 2880 K */ }; #define known_geometries (sizeof(geometries)/sizeof(struct geometry)) |