[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleWin or Kegs port for and Android tablet?



On 10/25/2012 10:45 PM, James Sanford wrote:
On Thursday, October 25, 2012 6:35:20 PM UTC-7, pitz wrote:
On Thursday, October 25, 2012 6:28:50 PM UTC-7, pitz wrote:
Thank you for doing this.  The mere fact of being rewritten in Java should now make it easier to read the code, fix bugs, and port to other non-C platforms.  Unless, of course, you introduced bugs during the port ;-)

DOH! I may have spoken too soon.  The emulator engine is still native code (compiled C code) invoked through JNI.

Yes, it's the original C core (with OG's ActiveGS patches).  The original KEGS code was surprisingly well set up to be ported to other platforms.  Unfortunately releasing it as a decent application took a couple thousand lines of boilerplate java.

The source code is available at https://github.com/jamessanford/kegs/ , it should be relatively straightforward to make improvements.

Any reason you didn't use the GSport codebase? I imagine the printing support isn't particularly useful on an Android platform, but the ethernet support might be. We've tried to incorporate the ActiveGS patches along with several other offshoots that had happened in the intervening years since Kent stopped maintaining it.

http://gsport.sourceforge.net/