Seems indeed you don't have PocketPC 2002 and did not seen the problem I've got. Perhaps next time we should expose exactly the hardware we've got.
Ipaq 3830 + PocketPC 2002.
My problem :
- Task bar (the upper bar with Start and the clock) was visible during play game.
- You can close the game during play ( but in fact the Ipaq goes mad when doing this ...)
- Notice performance issues compared to PocketPC 2000
I solved this by:
- by adding the missing SHFullscreen code
- by modifying the GAPI initialisation
- improve performance on PocketPC 2002/Ipaq
- modification should be compatible on Pocket PC 2000 ( the earlier version, maybe as fast and why not faster than the previous version (in fact the OS don't need to update it (for example, the clock minutes))
My question : Why nobody reported this problem ? especially Ipaq 3800 users should see the task bar. So this update will also improve for them.
> I don't believe that you increased the performance of
> MameCE by using SHFullscreen - that to me would make no sense.
Probably I would said that I had a performance issue and now it's working as fast as it was with a Pocket PC 2000 (like yours).
So you will never know. unless you upgrade your pocket PC, see the problem by yourself and then use the updated version.
> I will reiterate, I have no task bar and no SHFullscreen call. Maybe a PocketPC 2002 thing? (I haven't got that to test on.)
Yes ! Finally !
> Well if you know what you are talking about why are you saying stuff which isn't true?!
> "it's probably reading from video memory which is slowing iPaq 38xx": not true - it's the rotation blit.
There was an issue on ipaq 38xx. Ipaq 38xx are Pocket PC 2002.
The performance issue was due to the fact that the code didn't perform some initialisation, but luckily did work on Pocket PC 2000.
On Pocket PC 2002, we used to see the upper bar when playing which of course reducing performance.
Then the author told it was a performance issue when accessing the frame buffer - strange, but did not said that on PocketPC 2002, the task bar is now visible .. ?
I asked : "When reading from frame buffer ? - I wasn't aware that the game used temporary buffer and copy it to the main frame buffer -
So my assumption was wrong, because I lacked of information. Having the source code, I understand now.
> "DLLs are portable across all platforms": not true.
> "It would be straightforward to put drivers in different DLLs": not true.
Again, incorrect, I've suggested in fact to create a main executable and generate DLLs for each games in order to reduce memory footprint. When requesting a game, the program load the matching DLL.
This concept of 'modules' could be adapted on each platform but actually everyone want to create a single executable with everything inside.
Also this proposal of 'extracting the driver from the main executable' is doable and is platform independant ( Because you understood a DLL which can be used on every plaform, no of course, it's a DLL for 1 platform)
> "SHFullscreen is the only way to get fullscreen": not true. I've got fullscreen without it - I mean this is just basic logic surely?
No I said that Microsoft suggested that SHFullScreen should be performed in order to get full screen.
It seems that on earlier PocketPC version, this wasn't needed, but under PocketPC 2002, this must be done.
>Pocket PC 2002 does, but that would just be speculation.
>Don't jump to conclusions!
Yes, just try in your own PDA, see it's still working. Then the modifications would work for both of us and everyone would be happy, so you will be agree that SHFullScreen is needed but tolerated on Pocket PC 2000.