> > Also the application is not multitask friendly (the GAPI Resume and Suspend
> > functions are never called which is no good).
> They are never called becuase while doing emulation their is technically no way
> to get to any other apps. The Emulation is in full control drawing directly to
> the screen. Didn't wan't to waste any resources to check for other activity
> becuase no other activity can really happen At least that was the theory. I
> could add them for complete code but I just never did.
Try setting an alarm and then playing - it will pop up the alarm on top of you application. If you don't call GXSuspend, I don't know, it might mess up the screen because you are drawing over another window? Try it - let me know...
> > It might works on your pocket PC, but may not one newest hardware : Best
> > look the WhatsnewCE.txt from MameCE release 9.3:
> > I quote:
> > "Implemented the Ipaq 3800 display workaround: The Ipaq 3800 has a bug(*)
> > causes GAPI screen access to be delayed (creating a severe display redraw
> > penalty)"
> > No offense, but this hack was performed by the author because some
> > initialisation was missing (like shfullscreen for example).
> Wrong. This hack was used becuase myself and many others including the
> developers of PocketTV and Rocket Elite to name a few, detected an obvious bug
> in the 3800 series. I am not sure of the details of whyu or how this bug works
> (Check the Brighthand Boards thats were I saw the explanation).
3800 has the screen inverted. Because some old demented games hardcoded the line pitch, Compaq (not Microsoft) chose to expose a RAM buffer and then copy it pixel by pixel to the real screen. I hate them, they managed to ruin GAPI within the first year, morons. They also used the slowest copy known to man, it takes about 20ms each frame, killing performance. The only way around is to ignore the GAPi info for this model and use:
iPaq 38xx 240x320 -640 2 Addr=0xac0755a0 (maybe abfd0020 is real start?)
> All I know is
> that something to do with the lookup of the frame buffer takes a whole lot
> longer on the 3800 than it did on the 3600 series. Therefore the Developers of
> PocketTV came up with this hack to speed things up (which it does
> significantly). When I get time I will be testing your comments on the SHFull
> and I will test it with both the default settings and the hack, but I suspec the
> hack will still be needed.
> > I have no IPAQ 3800 but I'm sure at 99% that if the author had followed the
> > Microsoft specs (Shfullscreen, etc..) the mamece will runs perfectly under
> See my last comment.
You are sure at 99% with zero technical knowledge and no iPaq 3800. Interesting...