Page 1 of 1

I need some design suggestions

Posted: Mon Oct 02, 2006 8:16 pm
by AlgorithmX2
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

Posted: Tue Oct 03, 2006 4:53 am
by digo_rp
I´m gonna say congrats cuz you´r trying to change your O.S to Pmode.

to write a handler example: IRQ01 <- keyboard are to simple as you think.

in case you want I can send to you My source. then you can use vm86 and change to whatever resolution you want 1024x768x32 1280x1024x32

anything. multitasking protection. load bitmap file. 4,8,24 bits per pixel.
using that source you can learn. is to simple. but is working.

Posted: Tue Oct 03, 2006 8:01 am
by AlgorithmX2
Sure I would greatly apprecate being able to see your code, if you could send it to [email protected]

thanks