From 13e26c52945650293ccc5c6c31e1470f043d7d10 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 9 Jun 2017 17:43:01 +0200 Subject: fixed stage 1 boot loader problems (worked in some BIOSes across the 2 times sector/track limit). loading sectors one by one now fixed also spin down problem after loading stage 2 and the kernel for now tested with 1.44 MB floppies (both real and in bochs/qemu) --- doc/LINKS.TODO | 3 +++ doc/README.DISK_GEOMETRY | 70 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 doc/README.DISK_GEOMETRY (limited to 'doc') diff --git a/doc/LINKS.TODO b/doc/LINKS.TODO index d58cc0d..81e0466 100644 --- a/doc/LINKS.TODO +++ b/doc/LINKS.TODO @@ -67,6 +67,9 @@ http://www.sci.muni.cz/docs/pc/serport.txt Boot: https://www.cs.cmu.edu/~410-s07/p4/p4-boot.pdf +http://www.osdever.net/tutorials/view/loading-sectors +http://www.osdever.net/tutorials/view/lba-to-chs +LILO boot loader C: http://www.drdobbs.com/extending-c-for-object-oriented-programm/184402731 diff --git a/doc/README.DISK_GEOMETRY b/doc/README.DISK_GEOMETRY new file mode 100644 index 0000000..54f6092 --- /dev/null +++ b/doc/README.DISK_GEOMETRY @@ -0,0 +1,70 @@ +This affects the boot loader in stage 1 using +BIOS functions to read stage 2 and the kernel + +Geometry Specification + + +360 KB 5.25" + + +1.2 MB 5.25" + + +720 KB 3.5" + + +1.44 MB 3.5" + + +2.88 MB 3.5" + +Tracks (Cylinders) + + +40 + + +80 + + +80 + + +80 + + +80 + +Sectors Per Track/Cylinder + + +9 + + +15 + + +9 + + +18 + + +36 + +Total Sectors Per Disk + + +720 + + +2,400 + + +1,440 + + +2,880 + + +5,760 -- cgit v1.2.3-54-g00ecf