OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 5:02 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: x86 assembly floppy disk driver.
PostPosted: Sat May 04, 2019 1:37 am 
Offline

Joined: Sat May 04, 2019 1:35 am
Posts: 2
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)


Top
 Profile  
 
 Post subject: Re: x86 assembly floppy disk driver.
PostPosted: Sat May 04, 2019 1:50 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
The code that used to work some 25 years ago may fail to work on modern hardware.
The BIOS may be your best choice.


Top
 Profile  
 
 Post subject: Re: x86 assembly floppy disk driver.
PostPosted: Sat May 04, 2019 1:52 am 
Offline

Joined: Sat May 04, 2019 1:35 am
Posts: 2
What about a hard disk driver?


Top
 Profile  
 
 Post subject: Re: x86 assembly floppy disk driver.
PostPosted: Sat May 04, 2019 4:08 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 160 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group