Page 1 of 1
Floppy Driver
Posted: Thu Mar 27, 2003 12:00 am
by hAri
I look for some simple implementation of floppy drivers. Is there any god
site, page with some code with tuts.
Thanks
RE:Floppy Driver
Posted: Thu Mar 27, 2003 12:00 am
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
RE:Floppy Driver
Posted: Thu Mar 27, 2003 12:00 am
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.
RE:Floppy Driver
Posted: Thu Mar 27, 2003 12:00 am
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
RE:Floppy Driver
Posted: Thu Mar 27, 2003 12:00 am
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)???
RE:Floppy Driver
Posted: Fri Mar 28, 2003 12:00 am
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?
RE:Floppy Driver
Posted: Mon Mar 31, 2003 12:00 am
by hArI
U have no idea what is _memory hole_? Pging is disabled and GDT is OK (i check this 1000 times)!?!?!?!?!