why not use sience's version gnuboy code to port to native?
sience's version is very nice!
a bit advise
Thank you for the advice, here's my reasoning;
SiENcE was kind enough to share his code with me so I've had chance to look at it and the quick answer is that SiENcE's version is for Dingux and makes a number of Linux calls (e.g. sound) that won't work under Native. The Dingux version is based on the older 1.0.3 version of gnuboy. The Dingux version uses Joyrider's menu system if you prefer that version I'd recommend Joyrider's native version, it should have all the same features bar the new (better looking, less blocky) scaling code that SiENcE added. Until recently I've been using Joyrider's gnuboy version myself :-)
The advantage of using base gnuboy is that you get the emulation improvements that were made to gnuboy, most versions are based on the 1.0.3 core (the Wii version is the only other one that uses a later emulation core), gnuboy has emulation enhancements in version 1.0.4. gnuboy is now up to 1.0.5, there are no emulation improvements in 1.0.5 over 1.0.4 but there are some feature enhancements like an fps indicator. Any improvements to gnuboy should show up in the Oh Boy version. It has taken me a long time to get this far.
In an ideal world everyone would use core gnuboy and add frontend/ports to it (which is what Lemonboy and Oh Boy sort of do) and add feature improvements to it. The advantage of http://code.google.com/p/gnuboy/
is that it runs on a number of platforms all with the same code. Right now the Pandora port of gnuboy is a basic unmodified build of http://code.google.com/p/gnuboy/
i.e. if we add new scaling code to the SDL port of gnuboy, we should be able to get that feature in Windows, Linux, Dingoo (native and Dingux), Pandora, etc. all with a simple rebuild.
Thanks to Harteex's work with audio under SDL I believe that audio in http://code.google.com/p/gnuboy/
is now accurate. NOTE Oh Boy has it's own audio engine, it doesn't use gnuboy's just yet so I'm less sure about the audio quality in Oh Boy - the beeps in Tetris sound OK to me but I've not tried anything else :-)
The advantage of Oh Boy over base gnuboy is the menu, you can load ROMs once you are inside the emulator, you can't do that in any other Dingoo gameboy emulator.