next step...

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Ozguxxx

next step...

Post 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...
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:next step...

Post by df »

fix keyboard driver to work.
fix floppy driver to work.
test idt code to make sure it works
-- Stu --
jrfritz

Re:next step...

Post by jrfritz »

Then make a FS.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:next step...

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:next step...

Post by Pype.Clicker »

oh, and you'll probably feel the need for a memory allocator before you start multithreading ...
Ozguxxx

Re:next step...

Post by Ozguxxx »

thanx for responses. It seems that now need memory management.
Tim

Re:next step...

Post 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.
Curufir

Re:next step...

Post 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.
Post Reply