News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

How do you display pictures?

Started by adoado, September 14, 2006, 06:58:13 AM

Previous topic - Next topic

adoado

Hello, I'm Adrian and I am new to assembly. I was wondering how to display actual pictures on the screen, like bmp or jpg. Do I need something to do this? This should not be dependant on Windows, as I wish to run the program outside of Windows. Sorry, I dont know very much about this yet...  :P

Thanks, Adrian
P.S. A code example would be good if anyone has one  :bg

Vortex

For a fresh start, have a look at Iczelion's Win32asm tutorial set :

Tutorial 25: Simple Bitmap

http://win32assembly.online.fr/tut25.html

http://win32assembly.online.fr/tutorials.html

PBrennick

adoado,
QuoteThis should not be dependant on Windows, as I wish to run the program outside of Windows.

You will also need to use another assembler as Microsoft's is for Windows, only.  Pelle's assembler might be a good choice, NASM32, also.  Either way, this job might be a bit ambitious for most.  Good luck.

Paul
The GeneSys Project is available from:
The Repository or My crappy website

P1

adoado,

Welcome Aboard     :U

The forum 'Search' and your favorite seach engine will answer many questions before we can and save you time.    :dance:

Are you referring to the Wallpaper on the Desktop of Windows?  Then making this setting from a MASM program?

Regards,  P1  :8)



adoado

Thanks!  :P

And I've heard of TASM - maybe that would work, and Ill check out the links.

Thanks, and I'll reply soon
Ado

adoado

These links use provide scripts that use includes, and I think those belong to Windows. When I compile the script, are those includes compiled into one or does the compiled assembly code call the includes during "runtime"?

Thanks, Ado

PBrennick

adoado
QuoteI think those belong to Windows.

Not necessarily and include files generally are just a list of procedures because procedures need to be declared before they can be invoked.  This is used as a quick and dirty method of error checking.

Assemble the program and test it, you might surprise yourself.  :U

Paul
The GeneSys Project is available from:
The Repository or My crappy website