flat assembler
Message board for the users of flat assembler.
Index
> Main > createing an image viewer |
Author |
|
ASHLEY4 03 Oct 2004, 12:03
Hi, you can go here and get my dos game (pong.zip), its got a image loader at the start of the program, its only about 81 bytes, it for pcx format, but it may help, also remember that bmp are read from the bottem up, and 24bit is simpler than 256bit, on 24bit there is a simple header (about 54bytes ,with info about size etc) and than you just get size of image - header jump to the bottom left hand cornner, load a row in to memory, move up a row ,still starting at the left side and so on untill you have moved the hole size, when you get the pixals from the bottom you load it in memory to the top.
http://www.falconrybells.co.uk/ \\\\||//// (@@) ASHLEY4. |
|||
03 Oct 2004, 12:03 |
|
Octavio 03 Oct 2004, 17:25
[quote="zbenjudah"]hi all
was wondering if anyone could get me started on a peice of code that will load image files .img .jpg .bmp it s for an image viewer Iam working on for dos You can start here: http://www.programmersheaven.com/zone10/index.htm and if you read a bit more on DOS forum you will find a jpeg viewer for dos also take a look at menuetos forum it has programs to view bmp,gif,jpeg. About disasembling Quick View, why you don´t ask to his author for the sources ? |
|||
03 Oct 2004, 17:25 |
|
vid 04 Oct 2004, 10:37
at main FASM site in links section there is a link to site which describes LOT of formats, check it.
|
|||
04 Oct 2004, 10:37 |
|
decard 04 Oct 2004, 12:17
Actually now there's no links section on FASM site. Web page with description of many file formats is here:
http://www.wotsit.org/ |
|||
04 Oct 2004, 12:17 |
|
zbenjudah 04 Oct 2004, 23:09
[quote="Octavio"]
zbenjudah wrote: hi all hey thanks for the info really apreciate it. In answer to your question why not ask for the source code? Is that most programers want you to pay them which is as it should be I cant blame them for that. Only thing is I am a starveing artist type programer and I can not pay them. so I must find another way. What I have been running into is if they some how feel that they must give it to you they give it to you with no configuration file or one that does not work for your system or riddled with errors or both. in the which you will probably spend weeks reworking and debugging to finaly get it to compile. So if one has to do that you might just as well try disassembleing the program it would take near the same amount of time. Besides if they wanted to give the sources out they could do so right at the start by putting a note whare to contact for info. Most of the time I have found that is not the case. |
|||
04 Oct 2004, 23:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.