x86 assembly floppy disk driver.

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
cvdcamilleri
Posts: 2
Joined: Sat May 04, 2019 1:35 am
Libera.chat IRC: cvdcamilleri

x86 assembly floppy disk driver.

Post by cvdcamilleri »

Hi, I'm writing a kernel in x86, but am getting stuck on the floppy disk driver. How would I read/write to a floppy in pure assembly.
(No BIOS, I'm in protected mode)
alexfru
Member
Member
Posts: 1112
Joined: Tue Mar 04, 2014 5:27 am

Re: x86 assembly floppy disk driver.

Post by alexfru »

The code that used to work some 25 years ago may fail to work on modern hardware.
The BIOS may be your best choice.
cvdcamilleri
Posts: 2
Joined: Sat May 04, 2019 1:35 am
Libera.chat IRC: cvdcamilleri

Re: x86 assembly floppy disk driver.

Post by cvdcamilleri »

What about a hard disk driver?
User avatar
iansjack
Member
Member
Posts: 4706
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: x86 assembly floppy disk driver.

Post by iansjack »

Check the wiki - there's plenty of information there.

You're making life harder for yourself by using assembler rather than a high-level language, but that's your choice.
Post Reply