Page 1 of 1

next step...

Posted: Wed Dec 18, 2002 4:54 pm
by Ozguxxx
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...

Re:next step...

Posted: Wed Dec 18, 2002 4:57 pm
by df
fix keyboard driver to work.
fix floppy driver to work.
test idt code to make sure it works

Re:next step...

Posted: Wed Dec 18, 2002 5:02 pm
by jrfritz
Then make a FS.

Re:next step...

Posted: Thu Dec 19, 2002 2:21 am
by Pype.Clicker
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.

Re:next step...

Posted: Thu Dec 19, 2002 2:28 am
by Pype.Clicker
oh, and you'll probably feel the need for a memory allocator before you start multithreading ...

Re:next step...

Posted: Thu Dec 19, 2002 5:35 am
by Ozguxxx
thanx for responses. It seems that now need memory management.

Re:next step...

Posted: Fri Dec 20, 2002 6:50 am
by Tim
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.

Re:next step...

Posted: Fri Dec 20, 2002 9:49 am
by Curufir
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.