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.
Hell ovisit my Storm OS page, download Storm OS 0.03 but there is just the screen, now I have created Fonts for my OS, it has GUI. It will be available soon...
Bye...
Could someone link me to vesa 2.0 standart manual
Thanks
class GraphicContext {
// what are the "valid" coordinates.
/* the clipper provides drawing functions and make sure
* no drawing will occur out of the clipping area
*/
ClippingArea clipper;
/* the memory where real drawing occur ...
*/
void* drawing_area;
void GraphicContext::text(Font font, char *txt)
while (*txt) {
Image letter=font.getBitmap(*txt);
clipper.put(drawing_area,xpos,ypos,letter);
xpos+=font.getWidth(char *txt);
}
}
I took a look at the STORM site. Nice layout and all, but there are a couple things that bother me a bit.
1 The FAQ says it is 100% pure asm code, but the download is mainly C code.
2 The downloaded source does not look like it does anything like what the screen shots suggest. But then again I did not run it, just looked at what minimal source there was.
3 The site also claims you need multi-tasking to load and run an EXE. This is not true.
I'm sure there are other things...these were just a few that jumped out at me.
If the site is a prelude to things to come it would seem your OS is doomed to the MS syndrom. Something that looks nice but is full of bugs. Might I suggest you concentrate more on the code and less on presentation for now. Afterall if you just want something that looks nice but does not work, you can use MS Paint or Paint Shop Pro.
Just my 2 cents...and sorry if I'm being hard on you - but I think it needed to be said.
_mark()
You need multitasking to load two or more programs at the same time!
Not right. You need more than one processor to execute two programs at the same time. This *cannot* be done with only one CPU. What you mean is to switch quickly between two processes so that it *seems* that several processes are running at the same time.