What should be a module?
Posted: Sun Jul 24, 2005 11:08 pm
Designing my os, I have faced a very funny problem: what should be a module, and what should be built in?
If you ask me, I would love a perfect modular system: everything but the memory manager and low-level stuff like interrupts and IRQ's etc. are modules.
But the problem? Very similiar to the chicken and egg problem. For instance, each module is a '.fnc' file (functional module). But what if the floppy driver is a module? How to load it so you can load the others? OK, you say, use bios to get it before switching. But what if the filesystem (say FAT12) is parsed using a module? Your stuck again.
I'd love to see a better way to organize these things, any ideas would be great. I figure I better figure it out before getting past my current best (keyboard-shell-IRQ-GDT-etc.)
Defiently before I started the chicken and egg problem with a floppy driver!
Also, please excuse any typos, I am trying my best, but I'm in Las Vegas and using the TV built-in internet service with an infared keyboard that works badly that runs on windows 98 (first edition) from a shared server set for about 1800 people.
Thanks!
If you ask me, I would love a perfect modular system: everything but the memory manager and low-level stuff like interrupts and IRQ's etc. are modules.
But the problem? Very similiar to the chicken and egg problem. For instance, each module is a '.fnc' file (functional module). But what if the floppy driver is a module? How to load it so you can load the others? OK, you say, use bios to get it before switching. But what if the filesystem (say FAT12) is parsed using a module? Your stuck again.
I'd love to see a better way to organize these things, any ideas would be great. I figure I better figure it out before getting past my current best (keyboard-shell-IRQ-GDT-etc.)
Defiently before I started the chicken and egg problem with a floppy driver!
Also, please excuse any typos, I am trying my best, but I'm in Las Vegas and using the TV built-in internet service with an infared keyboard that works badly that runs on windows 98 (first edition) from a shared server set for about 1800 people.
Thanks!