flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Setting a background image at bootup

Author
Thread Post new topic Reply to topic
Mike Hibbett



Joined: 02 Sep 2003
Posts: 88
Location: UK
Mike Hibbett 23 Oct 2003, 11:11
Hi all,

I've just made a little utility to display a .bmp file automatically on boot up. It's available here

http://adcodex.com/embedded_html/bgset.zip

if anyone else is interested.

Mike
Post 23 Oct 2003, 11:11
View user's profile Send private message AIM Address Reply with quote
Torrey



Joined: 12 Oct 2003
Posts: 78
Torrey 29 Oct 2003, 05:06
Don't you think it's kind of a waste to use 900k of a floppy just for a background image? Personally I started using some really neat tiled backgrounds. Those sizes are way less and they work better...more room for development and apps. The other day I tried to load up a 256 color bitmap and was really disappointed because I didn't know that wouldn't work. I might have to check more into why that doesn't work and fix the code.
Post 29 Oct 2003, 05:06
View user's profile Send private message Visit poster's website Reply with quote
Mike Hibbett



Joined: 02 Sep 2003
Posts: 88
Location: UK
Mike Hibbett 29 Oct 2003, 08:09
I dont use a floppy; I use the floppy image ( well, msetup.exe ) to boot from the harddisk.

I agree with your point though, it's a waste to have a floppy disk with a 900K image!

Your 256 colour image will not work because the image loader expects 3 bytes per pixel. If there is enough interest I could look at a converter that will load a 256 colour image...

Mike
Post 29 Oct 2003, 08:09
View user's profile Send private message AIM Address Reply with quote
Torrey



Joined: 12 Oct 2003
Posts: 78
Torrey 29 Oct 2003, 10:05
In the file format is says this:

"The biBitCount member of the BITMAPINFOHEADER structure determines the number
of bits that define each pixel and the maximum number of colors in the
bitmap."

Wouldn't be too hard of a fix to detect that and adjust a few variables accordingly.

~Torrey
Post 29 Oct 2003, 10:05
View user's profile Send private message Visit poster's website Reply with quote
Torrey



Joined: 12 Oct 2003
Posts: 78
Torrey 29 Oct 2003, 11:24
I know it's a little harder then what I just said, might take a little work, but shouldn't be too bad...I'm going to download the C Library, the screen shots of the things made with it look promising. That should be the thing the web browser is developed with.
Post 29 Oct 2003, 11:24
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.