Floppy reading with sectors, heads and tracks
Posted: Thu Jun 19, 2003 11:11 am
Hello,
I'm confused,first my bootloader read kernel just adding sectors (track has 18 sectors), so I wrote that int 13h must read say 24 kb, it loaded, but after i added code it saw to be not working.
Then I found info that we can read first:
17 sectors (first is bootloader), head 0, track 0, then
18 sectors, head 1, track 0,
18 sectors, head 0, track 1,
18 sectors, head 1, track 1,
and so on...
But it seems that this don't work,
How I need to change tracks and heads to read kernel correctly?
Btw, where LInux and Windows kernels are starting at RAM, what paging they use (4kb or 4bm or mixed) and what multitasking they use (hardware or software)?
Thanks
I'm confused,first my bootloader read kernel just adding sectors (track has 18 sectors), so I wrote that int 13h must read say 24 kb, it loaded, but after i added code it saw to be not working.
Then I found info that we can read first:
17 sectors (first is bootloader), head 0, track 0, then
18 sectors, head 1, track 0,
18 sectors, head 0, track 1,
18 sectors, head 1, track 1,
and so on...
But it seems that this don't work,
How I need to change tracks and heads to read kernel correctly?
Btw, where LInux and Windows kernels are starting at RAM, what paging they use (4kb or 4bm or mixed) and what multitasking they use (hardware or software)?
Thanks