Screen modes gallery

Hi, not sure if this should be in software or hardware.

i’ve been trying to familiarise myself with what screen modes pokitto currently has available, so have been running the simulator with various build defines
I draw a rectangle around the usable screen space and screengrab the results

I had some difficulty getting Arduboy to display correctly, and I dont know what is going on with ‘rboy’ or if it should even be used. :slight_smile:

am I missing any? is the info (res and colours available) correct?

here is what I was using to display them (in hello.cpp)

if (game.update()) {

            #if PROJ_GAMEBOY > 0
            game.display.print("\n GAMEBOY");
            game.display.println(" 160x144 4 COL");
            game.display.println(" window");
            game.display.drawRectangle(0,0,159,143);
            #endif
            #if PROJ_ARDUBOY > 0
            game.display.print("ARDUBOY\n");
            game.display.print("128x64 2COL\n");
            game.display.print("STRETCHED\n");
            game.display.drawRectangle(1,1,127,63);
            #endif
            #if PROJ_RBOY > 0
            game.display.print("RBOY?\n");
            game.display.print("128x64 2COL\n");
            game.display.print("STRETCHED\n");
            game.display.drawRectangle(1,1,127,63);
            #endif
            #if PROJ_GAMEBUINO > 0
            game.display.println("\n GAMEBUINO");
            game.display.println(" 84x48 2COL");
            game.display.println(" STRETCHED");
            game.display.drawRectangle(0,0,83,47);
            #endif
            #if PROJ_HIRES == 1
            game.display.print("\n POKITTO\n");
            game.display.println(" HIRES");
            game.display.println(" 220*176  4 COL");
            game.display.drawRectangle(0,0,219,175);
            #else
            //game.display.print("\n POKITTO\n");
            //game.display.println(" NOT HIRES");
            //game.display.println(" 110*88  ? COL");
            //game.display.drawRectangle(0,0,109,87);
            #endif


        }
1 Like

Thanks. Couple of comments:

  • Arduboy should display correctly. Or at least it has worked correctly.

  • Gamebuino mode has 16 colors also

  • Rboy does not work and never will, it will be deprecated

ahh i thought because of the gamebuino mode it would be like the source (like gameboy) but yes it says:

#if PROJ_GAMEBUINO > 0
.....
    #define POK_COLORDEPTH 4

an added bonus

thanks for clarifying