gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > From mode3 to mode4

#50924 - NighTiger - Sun Aug 14, 2005 5:48 pm

Hi guys,
I have just a little problem.
I'm making a demo where at first I plot a pixel in mode3 and after that I draw an image in mode4; but the image has some pixel black where before I plotted the pixel.
Why?

#51038 - LOst? - Mon Aug 15, 2005 7:55 pm

NighTiger wrote:
Hi guys,
I have just a little problem.
I'm making a demo where at first I plot a pixel in mode3 and after that I draw an image in mode4; but the image has some pixel black where before I plotted the pixel.
Why?

mode 3 = rgb15
mode 4 = 256 indexed
They are two different modes. Writing to the screen will result in different effects.
_________________
Exceptions are fun