flat assembler
Message board for the users of flat assembler.

Index > OS Construction > images.. yet again

Author
Thread Post new topic Reply to topic
Redragon



Joined: 27 Nov 2004
Posts: 101
Location: U.S.
Redragon
i was wondering in the dex4u dashboard, what you did to show the bg image, and what specifications is it.. 640*480 | 256 ? 320*200 | 256 ?

ive been trying to get images to display like you did dex in the dashboard, for a long time.. with still no success.. a place to start or something to work with, help or anything is greatly appreciated! thanks again..


Redragon

_________________
(AH+AL=AX)+E=EAX
Post 12 May 2006, 03:39
View user's profile Send private message Reply with quote
jas20



Joined: 23 Sep 2004
Posts: 41
Location: Australia
jas20
The image of the dashboard is a 640 x 480 gif. I know that.

But I don't know hot to show it.

I'm looking through the source right now, looking how the menu works (the highlight) as I am thinking of making my own background. Just thinking...

Edit on reply: Damn it! (sorry). I can't open the Gui.asm in my notepad replacement, but works fine in notepad Sad

Jas2o
Post 12 May 2006, 12:00
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
@Redragon, the dash image is 640x480 256 color gif file, but it will also load any size image as a bmp.
But you need to remember that Dex4u has lots of built in functions, that have taken year to implement.
I will try and make you a very basic bootable 640x480 256 color gif file viewer.
Post 12 May 2006, 12:50
View user's profile Send private message Reply with quote
Redragon



Joined: 27 Nov 2004
Posts: 101
Location: U.S.
Redragon
thanks dex! i know it will really help.. its what ive been needing for a long time.. thanks again!


Redragon
Post 13 May 2006, 17:24
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
Here is the code, change "test.bmp" before assembling, to change image.
Run the exe to put it on a floppy, fasm code included.
http://www.dex4u.com/Redragon/BmpView.zip
Hope this helps.
Works in qemu too.
Screenshot:
http://www.dex4u.com/Redragon/test.bmp
Post 13 May 2006, 21:19
View user's profile Send private message Reply with quote
Redragon



Joined: 27 Nov 2004
Posts: 101
Location: U.S.
Redragon
it works great! and helps a lot, but i was wondering..

when i compile my new code, it creates everything like it should after compiling.. how do you put an exe file to a floppy like you did? i saw that you use WinImage Extractor, but im not sure what all todo.. thanks again!
Post 13 May 2006, 23:27
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
First you put this program on a floppy
http://alexfru.chat.ru/epm.html#bootprog
note: you can just use the floppy you have made.

Then you you use winimage, click on read floppy, then make self extrccting exe.
Post 14 May 2006, 10:03
View user's profile Send private message 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 cannot attach files in this forum
You can download files in this forum


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

Website powered by rwasa.