Read File on Floppy

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.
User avatar
Omega
Member
Member
Posts: 250
Joined: Sun May 25, 2008 2:04 am
Location: United States
Contact:

Post by Omega »

That's exactly what I did for the IDT, GDT, ISR, IRQ, PIC, and PIT... I think most people do all that in their loaders, but as for me using BIN for the loader I force myself to do this stuff in the Kernel. It may sound "unconventional" perhaps; yet, after all it really doesn't suck that bad. It only sucks when you have to start hacking to make it work.
User avatar
Fergo
Member
Member
Posts: 27
Joined: Fri Oct 19, 2007 3:11 pm
Contact:

Post by Fergo »

Does anyone have an example of reading sectors in floppy using C/C++ (with inline asm I guess)?

Thanks!

Fergo
Image
User avatar
Fergo
Member
Member
Posts: 27
Joined: Fri Oct 19, 2007 3:11 pm
Contact:

Post by Fergo »

Thanks a lot Dex! I really appreciate.

Fergo
Image
Post Reply