How to read from floppy using CHS or LBA

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
kemosparc
Member
Member
Posts: 207
Joined: Tue Oct 29, 2013 1:13 pm

How to read from floppy using CHS or LBA

Post 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.
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: How to read from floppy using CHS or LBA

Post by iansjack »

The article you quote relates to ATA disks, not normal floppy disks.
kemosparc
Member
Member
Posts: 207
Joined: Tue Oct 29, 2013 1:13 pm

Re: How to read from floppy using CHS or LBA

Post by kemosparc »

Ya, I noticed that,

I am looking for one like it for floppies
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: How to read from floppy using CHS or LBA

Post by iansjack »

http://wiki.osdev.org/Floppy_Disk_Controller

Be aware that it's not trivial.
nbdd0121
Member
Member
Posts: 60
Joined: Thu Jul 25, 2013 8:10 am

Re: How to read from floppy using CHS or LBA

Post 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.
Post Reply