diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-09 21:40:05 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-09 21:40:05 +0200 |
commit | 0be74eeee017b7116126e258b97df5a857dac4ab (patch) | |
tree | 5f1e1b5ac76e74214abb111ab2a0dac64ef2ecef /doc/README.DISK_GEOMETRY | |
parent | 2a83f352967435beb05582e5119b9e9e0cfefe3a (diff) | |
download | abaos-0be74eeee017b7116126e258b97df5a857dac4ab.tar.gz abaos-0be74eeee017b7116126e258b97df5a857dac4ab.tar.bz2 |
tried to probe disk geometry with mixed success (emulated FDD mode
on USB not working). Code in stage1 gets too complex to fit 512
bytes, so we most likely must load stage2 with a simple algorithm
(maybe 8 sectors every bios 13h/2h function is able to deliver). Then
we load the kernel in a second, more complex loading step
Diffstat (limited to 'doc/README.DISK_GEOMETRY')
-rw-r--r-- | doc/README.DISK_GEOMETRY | 66 |
1 files changed, 6 insertions, 60 deletions
diff --git a/doc/README.DISK_GEOMETRY b/doc/README.DISK_GEOMETRY index 54f6092..5001679 100644 --- a/doc/README.DISK_GEOMETRY +++ b/doc/README.DISK_GEOMETRY @@ -2,69 +2,15 @@ This affects the boot loader in stage 1 using BIOS functions to read stage 2 and the kernel Geometry Specification - -360 KB 5.25" - +(emulated) floppy gives us -1.2 MB 5.25" - +0x0101, 0x4f12 -720 KB 3.5" - +which is 2 heads, 80 sectors, 18 sectors, sounds good -1.44 MB 3.5" - +Asus, Eeepc 701, pendrive 16 gb: -2.88 MB 3.5" +0x0000, 0x0012 -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 +mmh?
\ No newline at end of file |