I need some design suggestions
Posted: Mon Oct 02, 2006 8:16 pm
Ok so far I have a little experence in pmode, I set up the IRQ's, and the PIC with 2 ISR's (keyboard + timer) and I have some decent experence in Realmode, where I have written my own ASM boot loader to load my os off a harddrive / jump drive, and in both cases my simple tests have worked on emuluated and real hardware so im gonna go ahead and start working on a basic os, video and input with some basic multitasking and console.
The problem is that im not sure what too look up and what to read up on to understand and impliment these features, my OS is currently 16bit real mode, and I am useing VGA 640x480x8 and a few simple drawing commands to do video, and at the moment my keyboard input would come from the bios,
Im not really aiming high, I really only desiger my os to beable to have my command prompt, and a few simple applications, such as a calculator or a real simple game, the problem I run into when planning is
How to switch in and out of a loaded application and how to allow the applications access to OS functions such as my font drawing function to allow them to draw to the screen and check the keyboard for input and the like, im fairly new to OS dev and so far I've had my share of problems just getting basic things to work, but things are working so far, and im making faily good progress so if anyone could point me in the right direction I would be grateful.
and if anyone has a good link to some place where I can learn how to find and open a file from FAT16 that would be great, As many resources as i find non so far have helped, most just tend to confuse me more...
a quick summary MyOS is
16bit Realmode
Harddrive Loaded
Console( with 1 command prompt and nuermous 'application specific screens' )
640x480 VGA graphics
im going for simplicity and portability, nothing super fancy
The problem is that im not sure what too look up and what to read up on to understand and impliment these features, my OS is currently 16bit real mode, and I am useing VGA 640x480x8 and a few simple drawing commands to do video, and at the moment my keyboard input would come from the bios,
Im not really aiming high, I really only desiger my os to beable to have my command prompt, and a few simple applications, such as a calculator or a real simple game, the problem I run into when planning is
How to switch in and out of a loaded application and how to allow the applications access to OS functions such as my font drawing function to allow them to draw to the screen and check the keyboard for input and the like, im fairly new to OS dev and so far I've had my share of problems just getting basic things to work, but things are working so far, and im making faily good progress so if anyone could point me in the right direction I would be grateful.
and if anyone has a good link to some place where I can learn how to find and open a file from FAT16 that would be great, As many resources as i find non so far have helped, most just tend to confuse me more...
a quick summary MyOS is
16bit Realmode
Harddrive Loaded
Console( with 1 command prompt and nuermous 'application specific screens' )
640x480 VGA graphics
im going for simplicity and portability, nothing super fancy