On Thu, 30 Mar 2006 18:55:08 +0100, Peter Howkins wibbled on for an age: > There's another bit of code that I forgot earlier that probably needs to > be in there before display will work. There's code to setup [1] colourmaps > at the top of each RefreshDisplay_Xbpp() function that you'll also > hopefully be able to nick from another platform, I'm not entirely sure how > these work though.
I've stolen these and the other related functions from the Windows version, and took the liberty of changing the resizeWindow() calls while I was there. I ripped out the lines that write the bitmap. I'm confident the emulation is working, as my window resizes shortly after starting ArcEm, but obviously I can't see anything. What does HD.pixelMap contain? I'm a little confused as to what is being put into the bitmap: dibbmp[pixs + 1] = (unsigned short)HD.pixelMap[(pixel>>4) &15]; Is this a pen number? If so, how do I determine what colour it is supposed to be? Thanks Chris ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ arcem-devel mailing list arcem-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/arcem-devel