Hi people, I awnted to take ideas of especially gurus-or moderators in other words- for what my next step in os development can be lots of things going on my mind, but I do not know what to do next.
I am fairly a beginner. I have:
-(Probably) working pmode
-(Probably) working IDT
-(Probably) Partially working Keyboad driver (not really tested yet)
-(Probably) not really working 32 bit floppy driver
Thanx...
next step...
Re:next step...
fix keyboard driver to work.
fix floppy driver to work.
test idt code to make sure it works
fix floppy driver to work.
test idt code to make sure it works
-- Stu --
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:next step...
i would personnally focus on the multithreading/processing features before playing with the file system. Remember that turning to ?task will change a lot of things in the programming approach (message queues, synchronization, etc.). The earliest you do it, the lesser code you'll have to patch ... and therefore the easiest it will be.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:next step...
oh, and you'll probably feel the need for a memory allocator before you start multithreading ...
Re:next step...
I'd say you need to:
1) Write a memory manager
2) Write a simple scheduler
3) Write some code which will let you access files from somewhere (get the boot loader to load a few files that the kernel can read out of memory)
4) Add the ability to run user programs
5) Write a device manager and drivers for the keyboard, screen, floppy drive and FAT file system
These should take anyone a while to accomplish.
1) Write a memory manager
2) Write a simple scheduler
3) Write some code which will let you access files from somewhere (get the boot loader to load a few files that the kernel can read out of memory)
4) Add the ability to run user programs
5) Write a device manager and drivers for the keyboard, screen, floppy drive and FAT file system
These should take anyone a while to accomplish.
Re:next step...
A useful trick to delay having to write a pmode floppy disk driver is to read the entire floppy into memory at boot time and use it as a ram disk to begin with.
If you do then I suggest keeping it somewhere in the first few mb so you can effectively simulate the first part of a dma floppy disk driver. This will make it easier to concentrate on the filesystem implementation rather than getting bogged down with the hardware (DMA floppy access is a pain), plus of course it saves wear and tear on your floppy.
If you do then I suggest keeping it somewhere in the first few mb so you can effectively simulate the first part of a dma floppy disk driver. This will make it easier to concentrate on the filesystem implementation rather than getting bogged down with the hardware (DMA floppy access is a pain), plus of course it saves wear and tear on your floppy.