Floppy 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
hAri

Floppy Driver

Post by hAri »

I look for some simple implementation of floppy drivers. Is there any god
site, page with some code with tuts.

                                            Thanks
jamethiel

RE:Floppy Driver

Post by jamethiel »

Here are a couple earlier threads on this subject with links and discussion.

http://www.osdev.org/board.jsp?message=3075
http://www.osdev.org/board.jsp?message=2862

15 minutes of google and chasing links should get you more than enough information anyway.

--jamethiel
hArI

RE:Floppy Driver

Post by hArI »

Thanks. One more question. I have implement mutitasking but for all tasks i must allocate 12KB (Page dir., Page Table and virtual console). Is there any chance to minimize that.
jamethiel

RE:Floppy Driver

Post by jamethiel »

Well, my system allocates 16 bytes per task, plus usually 160 bytes for stacks... call it 175 bytes per task. But I don't use paging, virtual consoles, pre-emptive multitasking, or anything like that.

12KB isn't a lot of memory these days. Is there a particular reason you wish to reduce this?

--Jamethiel
hArI

RE:Floppy Driver

Post by hArI »

There is no good reason but I love to optimize things.
Question again: About mem determination without BIOS, something like direct
probing. I write something like this but computer crash when i go behind
my memory size (I write this in p-mode)???
common

RE:Floppy Driver

Post by common »

Does your computer have a memory hole option turned on?  Are you performing this probe after or before paging is enabled?  Are you getting interrupts on the possible reasons?  Does your GDT set up properly?
hArI

RE:Floppy Driver

Post by hArI »

U have no idea what is _memory hole_? Pging is disabled and GDT is OK (i check this 1000 times)!?!?!?!?!
Post Reply