Hi Rich,
why do you don't answer my questions about the "exotic" screenmodes for Picasso96 for widescreen displays (i.e. 15,2" PowerBook)???
I looked into the sources and I found two things.
Please can you implement the following in your sources:
in "sdlgfx.c" in folder "gfx-sdl"
-clip-
/* Possible screen modes (x and y resolutions) */
#define MAX_SCREEN_MODES 12
static int x_size_table[MAX_SCREEN_MODES] = { 320, 320, 320, 320, 640, 640, 640, 800, 1024, 1152, 1280, 1280 };
static int y_size_table[MAX_SCREEN_MODES] = { 200, 240, 256, 400, 350, 480, 512, 600, 768, 768, 854, 1024 };
-end clip-
and in "picasso96.c"
-clip-
{
if (DisplayModes[i].res.width == 320 && DisplayModes[i].res.height == 200)
return 0x50001000;
else if (DisplayModes[i].res.width == 320 && DisplayModes[i].res.height == 240)
return 0x50011000;
else if (DisplayModes[i].res.width == 640 && DisplayModes[i].res.height == 400)
return 0x50021000;
else if (DisplayModes[i].res.width == 640 && DisplayModes[i].res.height == 480)
return 0x50031000;
else if (DisplayModes[i].res.width == 800 && DisplayModes[i].res.height == 600)
return 0x50041000;
else if (DisplayModes[i].res.width == 1024 && DisplayModes[i].res.height == 768)
return 0x50051000;
else if (DisplayModes[i].res.width == 1152 && DisplayModes[i].res.height == 768)
return 0x50061000;
else if (DisplayModes[i].res.width == 1280 && DisplayModes[i].res.height == 854)
return 0x50071000;
else if (DisplayModes[i].res.width == 1600 && DisplayModes[i].res.height == 1280)
return 0x50081000;
return 0x50091000 + count * 0x10000;
}
-end clip-
please compile it and test it or send the binary to me. I can't compile it by myself at the moment, I have problems with any errors in filesystem emulation if I compile it on my mac.
I hope that these changes fix my problem.
thx for this work
greets Jens