Random Assortment of Questions
Posted: Mon Jul 06, 2009 1:38 pm
I'm on a vacation in which I spend long periods of time in a cottage, on a beautiful beach on a lake in southern Canada. One problem: I sort of go into withdrawal when I don't have an internet connection for a while (and I don't there), so I began designing the memory management portion of my os while I was there on paper, writing down questions I came up with. I've answered some of them with quick research but the others I'll post here.
1. How can I read from and write to hard disk without BIOS interrupts in asm?
2. How can process code call a kernel function? (my os uses paging. So how can a process address a function outside of it's virtual memory?)
Warning: possibly a really stupid question.
3. I have no way of testing this on the machine that I have access to now (If I did, I wouldn't ask) but as it is I really want to know now. How can I compile a C file to flat binary using GCC? Does it automatically do this?
Brodeur235
1. How can I read from and write to hard disk without BIOS interrupts in asm?
2. How can process code call a kernel function? (my os uses paging. So how can a process address a function outside of it's virtual memory?)
Warning: possibly a really stupid question.
3. I have no way of testing this on the machine that I have access to now (If I did, I wouldn't ask) but as it is I really want to know now. How can I compile a C file to flat binary using GCC? Does it automatically do this?
Brodeur235