http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BMP/PCX file specifications



    I am trying to developing a CRPG running under Protected mode DOS using DJGPP.  I have searched the internet for reference materials and have already written a set of routines to handle SVGA graphics.  I am now trying to get a bitmap/pcx loader, however, I have not found much good info.  Can anyone send/refer any file specifications, tutorials, examples, etc.  I have found many bad tutorials but nothing that has answered all of my questions.  I have tried to implement  256 color PCX with limited success.  When reading the byte value and looking up the RGB triplet from the end of the file, there was some error that I could not trace.  I would ideally like to read 24-bit BMPs, however I can always convert files.
  I am using 640x480 16-bit color, but would appreciate any resources that deal with the subject.
 
Thanks,
 
Greg H