[hatari-devel] Crosscompiling Hatari for GP2X Wiz
Matthias Arndt
marndt at asmsoftware.de
Wed Mar 30 22:29:28 CEST 2011
Am Mittwoch, den 30.03.2011, 22:16 +0200 schrieb Matthias Arndt:
> Am Mittwoch, den 30.03.2011, 21:33 +0200 schrieb Matthias Arndt:
>
> > > > How can I configure Hatari via commandline or the configfile to engage
> > > > such videomode?
> > >
> > > You cannot specify the flags on the command line currently.
> > >
> > > You can change the flags manually in src/screen.c::Screen_SetResolution().
>
> I think neither HW_SURFACE nor FULLSCREEN changed anything.
> I get output from resolution.c
>
> WARNING: invalid desktop size 240x320, defaulting to 832x576!
>
> This is correct as the display in the wiz is actually an upright one
> with 240x320 resolution with all stuffs drawn rotated by 90 degrees.
> However the libSDL I link against has a fix that rotates a 320x240
> surface automatically.
>
> However, yesterday I had patched resolution.c with the following lines:
>
> DesktopWidth = 320;
> DesktopHeight = 240;
>
> and got the "Video mode not supported" error aswell.
> I suspect this is not the real culprit :(
SUCCESS! I handpatched screen.c to force a 320x240 screen and got the
green desktop:
The floppy in use shows garbage but it might be a strange one.
Colors seems correct sofar and TOS 1.4 rasters do cycle!
More tommorrow or over the weekend!
:o)
Matthias
--
Matthias Arndt <marndt at asmsoftware.de>
PGP-Key: http://www.final-memory.org/files/marndt.asc ICQ: 40358321
>>> Jabber: simonsunnyboy at jabber.ccc.de <<<
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hatari-on-gp2x-wiz-first-light.jpg
Type: image/jpeg
Size: 176126 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20110330/6946f08c/attachment.jpg>
More information about the hatari-devel
mailing list