News:

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

how load bitmap in dosmode

Started by abcomp01, December 26, 2006, 01:09:30 PM

Previous topic - Next topic

abcomp01


MichaelW

You provide the code, we help you fix it.

By "load" I assume you mean to display the bitmap on a PC. Depending on the type of bitmap and the target display hardware, this could be fairly easy or very difficult.

MSDN: Bitmap Storage

If the target display hardware will be the standard VGA, try searching the web for VGA and DAC. It would probably be best to use the VGA BIOS functions to program the VGA.

The necessary structures, BITMAPFILEHEADER, BITMAPINFOHEADER, and RGBQUAD can be found in the MASM32 windows.inc file.
eschew obfuscation