PalmDosBox – the resurrection

Almost 2 years ago I was trying to port DosBox to Palm OS but couldn’t catch the crashes inside the emulation core after compiling it with CodeWarrior. In the mean time another guy, called voda, was able to port it using the gcc toolchain. Unfortunately he likes to give up its work before it runs on a broad selection of modern Palm OS devices. Also he isn’t the fastest in releasing the source code.

Some weeks ago he finally released the source of his porting attempts at sourceforge.net. A week ago I picked it up to make it more usable: on Treo devices adding a support for the keyboard, on other devices adding an on-screen keyboard, support for joystick, screen moving (for higher resolutions) and stuff. The keyboard stuff is working. there is support for left and right mouse button (hardware button 1 and 2). You can cycle (hardware button 3) between screen moving, cursor moving or joystick support for the 5-way navigator. Hardware button 4 is at the moment reserved for entering “Exit” at the DOS prompt. Later I will remove it and hopefully add a way to exit the emulator directly with save state creation. I was able to remove the crash on exit and make it runnable on my T3 too.

Be warned: your device might crash.

Download is here. Please don’t link directly but only to this post.

How-To setup your DOS games/apps on card: here

How-To entering special characters using the Treo keyboard:

You don’t enter characters in DosBox, but you send keypresses which then are translated into characters using the given DOS code page. On Treo you have the normal keys, you can press shift in parallel for caps, you can access the number using the option key and use option + shift to access the special characters on the number keys on a standard keyboard. Also option + k is used for the ; (semicolon) key. Means shift + option + k brings you the : (colon). Check it out, you can always popup the on-screen keyboard for a more standard keyboard layout. Currently, there is no way to access the Function-keys (F1-F12, numerical keypad and page up/down).

Enjoy and leave a comment,
Henk

BTW: If you want me a favor (apart from donating ;-)) you might go to the comment section of mytreo.net and tell them that 2Cool4U doesn’t set hardware buttons on its own. The user still has to click on the appropriate button… Resetting the button to its default value is of course a problem, which I will address in the next update. Until then one might use the tool at http://support.iambic.com/forum/showpost.php?p=95359&postcount=10

Januar 28, 2008 · admin · 18 Comments
Posted in: Developing, Palm