|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Mode 0eh problems - 640x200x16
Hi, Lately, I've been messing around a bit with mode 0eh, I've got 3 PCX images that I would like to put on the screen, they each have different palettes (they won't be there at the same time). But since writing to 3c7h and 3c9h isn't permitted in EGA modes, how should I set the palette? I've been looking at 3c0h indexes 0-f, but I can't make out how it works. Can somebody PLEASE give me a quick routine to set the palette in mode 0eh? And also, after I've set up the palette, and read the image from the file, how would I plot it to the screen? I know that all planar modes (I assume 0eh is planar, right?) use bit planes (RRR GGG BBB, instead of RGB RGB RGB - am I correct?), but *I* don't know how to use them, can somebody give me a brief explanation? A routine to plot a pixel to the screen would be appreciated. Also, what should I search for on the Web for this kind of info? I've tried searching with various queries, but I only end up with either Mode 13h, or Mode X (and occasionally some VESA mode), don't these people know that other modes exist too? I know that most modern games would use these, but what if I only NEED 16 colors to do what I want? I'm working on a little arcade game, and I'M SURE I can get away with using 16 colors (and in this way, my game would also work on older EGA-based computers!). PLEASE NOTE: PLEASE reply to this message directly, and CC to the list (I'm sure I'm not the only one who cares about this, am I?), since my e-mail address has changed, and I haven gotten around to changing my address yet. Kind regards, Lionel Pinkhard ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCꫨ please visit: http://gameprogrammer.com/mailinglist.html
|
|