Page 1 of 1

How to read from floppy using CHS or LBA

Posted: Sat Nov 16, 2013 6:51 am
by kemosparc
Hi,

I want to read from floppy using CHS or LBA.

I read the samples here http://wiki.osdev.org/ATA_read/write_sectors

But I cannot figure out which parameter defines the drive.

If anyone has a more details explanation with examples on how to use CHS and LBA that will be great

Thanks
Karim.

Re: How to read from floppy using CHS or LBA

Posted: Sat Nov 16, 2013 7:21 am
by iansjack
The article you quote relates to ATA disks, not normal floppy disks.

Re: How to read from floppy using CHS or LBA

Posted: Sat Nov 16, 2013 7:28 am
by kemosparc
Ya, I noticed that,

I am looking for one like it for floppies

Re: How to read from floppy using CHS or LBA

Posted: Sat Nov 16, 2013 9:12 am
by iansjack
http://wiki.osdev.org/Floppy_Disk_Controller

Be aware that it's not trivial.

Re: How to read from floppy using CHS or LBA

Posted: Sun Nov 17, 2013 7:07 am
by nbdd0121
I suggest you to start using harddrive, since floppy is outdated (well, it "was" outdated for a long time). And the harddrive is not hard to code.