Here's the patch, made against trunk r774. Type "splash" in the shell :)
It's the first patch in my life so it's likely not to work or eat your repo,
make sure to backup. The image goes in
/trunk/Data/SplashScreen/SplashScreen.png. You can change it if you
wish but it must be 640x480 and mustn't contain more than 16 colors
in total. BTW I like the last one Darx Kies posted on redmine.

The code might not adhere 100% to mono code guidelines or be
100% understandable. No warranty for fried up monitors or gfx
cards!

(compressed because of the attachment limit)

Maciej Jagiello wrote:
I finally got to display the splash! I created an additional program to convert
a PNG image to desired format: 640x480x16 color indexed image with bits
divided in four planes. For now I added the raw image as a resource to the kernel assembly, though it doesn't seem like a good idea since we're aiming for a micro-kernel. The splash get displayed immediately on boot and remains. I used trunk kernel revision 714 (not sure). I'll see if I can prepare a patch in
the weekend or the next week...or the other one...

Bruce Markham wrote:
On Dec 23, 2007 11:07 AM, Maciej Jagiello <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I managed to initialize a VGA screen and clear it without using
    the BIOS.
    I used a public domain C program DarxKies pointed me and a bit from
    JNodes VGA driver (commented out actually). It looks like a hack,
    it is a
    hack, hard-coded to 640x480x16 only and it does nothing more than a
    clearscrean. My objective for now is to simply display a SharpOS
    logo.
    I hope I can make it this year and that the code will be useful
    to expand
    it so it can became a real driver once we know how one should
    look like.
    btw I don't have svn account. Could someone make one for me, please?


This is very exciting, and definitely the kind of direction we need to move in.

The general rule we are working to implement, is that you have to have a history of at least a couple acceptable patches before we let you loose in the repository. (As/If the project grows, the number would increase.) (The problem being, is that SourceForge SVN repository management sucks, so we simply just h ave to be careful - its nothing personal.)

Can you prepare a .patch made from your working copy, so that we might test and examine the code ourselves? (Obviously, only hearing about the code is not quite as exciting as getting to taste it...)

And you can let us see the screen shot by by using either a paste-dumping site like PasteHere.com or a picture sharing site like Flickr or Picasa.

The sound of the code is exciting, but its definitely only a baby step in a very long and arduous journey. We have to draw up OO abstractions around video hardware. And we have to write font-drawing code against such an abstraction. But for the time being, this sounds like it will be something quite fun to play with.

I started a true type implementation in mono some time ago, got it to read
basic structures of a .ttf file but stalled it because of the lack of time. I'm
planning to resume it on a later stage.
(SharpOS games are coming to town, oh yea!)
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------

_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------

_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Attachment: splash_patch.tar.gz
Description: GNU Zip compressed data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Reply via email to