Log in

View Full Version : Emulating home computers on Windows Mobile Part I - Commodore Amiga


Menneisyys
06-10-2007, 02:04 PM
Now that I’ve finished introducing and comparing almost all the gaming console emulators, I’ve embarked on publishing reviews and tutorials on emulating 8/16-bit home computers under Windows Mobile.

The first home computer I elaborate on is the Commodore Amiga (http://en.wikipedia.org/wiki/Amiga), which was no doubt the best computer, gaming-wise, in the late eighties and early nineties, which also means a lot of Windows Mobile users would still would like to know how it should be used.

First, I have some bad news. The emulator you will need to use, PocketUAE (http://pocketinsanity.sourceforge.net/content/view/27/40/) by PocketInsanity (http://pocketinsanity.sourceforge.net/), while pretty much compatible with Amiga titles (after all, it’s based on the pretty stable UAE core), has severe sound problems. If there’s anything happening on the screen or the system is accessing the (virtual) floppy disk, the sound will most probably stutter.

Furthermore, even if you disable sound, you won’t really have 100% speed unless you skip at least 3-4 frames a time. This is perfectly visible with, say, the horizontal shoot’m up title Katakis.

http://www.winmobiletech.com/062007CompEmus/PocketUAEMain.bmp.png

Never forget what I have stated in my previous articles: when possible, if a given game has been released for more than one platform, try to find an emulator that runs the game with a better speed. For example, Turrican is pretty unplayable on the Pocket PC with music (music is a must with the game – Chris Huelsbeck’s music really rocks). As Turrican was released on many platforms, you, therefore, want to look around . For example, the currently available TurboGrafx-16 (PC Engine) (see the emulation guide HERE (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=1944&more=1&c=1&tb=1&pb=1)), you may want to prefer it to the Amiga version. Granted, the Amiga had better (tracked) music, but you won’t be able to play the game without stuttering sound.

Again and again, don’t forget I’ve reviewed ALL the desktop and MOST handheld gaming console emulators, along with the MS-DOS emulator (and will also review other, 8/16-bit home computers like the Commodore 64 and the Atari ST(E)). Make sure you read them – the ports of the Amiga games, if exist, may run FAR better in other emulators than in PocketUAE.

Furthermore, it has some other problems; for example, you won’t be able to enter any text / use the on-screen keyboard if you have a VGA device. Fortunately, with VGA devices with built-in keyboards like the HTC Universal, this isn’t a problem because you can use the built-in keyboard any time.

Otherwise, the emulator is pretty cool: it supports high resolution on VGA devices, is free and REALLY compatible with MOST titles. If you can live with the, in most cases, (in most games) stuttering sound, it’s definitely worth checking out.

Usage

Download it from HERE (http://pocketinsanity.sourceforge.net/content/view/27/40/) (latest version: 21012006). Unzip the contents of the ZIP file.
if you don’t already have some games, you can get them from HERE (http://netzreport.googlepages.com/downloading_amiga_games_legally.html) and HERE (http://amiga.emucamp.com/g_dl_a.htm). Unzip the games if they are ZIP’ed and copy the ADF files to the “disks” subdirectory of the emulator.
get the Kickstart ROM 1.3 HERE (http://www.theoldcomputer.com/Libarary's/Emulation/BIOS_Roms/Kickstart1.3.zip) and, after unZIPing it, copy it to the “roms” subdirectory. (You can also do the same with the 3.0 ROM (http://www.theoldcomputer.com/Libarary%27s/Emulation/BIOS_Roms/Kickstart3.0.zip) but you will rarely if ever need it – after all, Amiga 1200 games will run even slower than the original Amiga 500 titles and PocketUAE is known to work slower with the 3.0 ROM than with the 1.3 one. Note that most games will run OK with the 1.3 Kickstart ROM; exceptions are, for example, the Archon I and II bundle (http://amiga.emucamp.com/archon.htm), which require the 1.2 ROM version not available for direct download anywhere.)
transfer everything to your Windows Mobile handheld and start Pocket UAE Launcher.exe from a file explorer tool; for example, File Explorer or Total Commander. (You may also want to create a shortcut to it in the \Windows\Start Menu\Programs folder for quicker access.) (A quick remark: Pocket UAE Launcher (http://www.xbox1.com/puaelauncher/) wasn’t part of the distribution with previous PocketUAE versions. Now it is – that is, no separate download is necessary.)
Go to the “Disk” tab and, in the Floppy Disk 0: drop-down menu, select the ADF disk image you’d like to play (Screenshot 1 (http://www.winmobiletech.com/062007CompEmus/PocketUAESelectDisk1.bmp.png), 2 (http://www.winmobiletech.com/062007CompEmus/PocketUAESelectDisk2.bmp.png))
Go to the “Chip” tab and make sure KICK13.ROM is selected and active in the Kickstart ROM File: drop-down list (screenshot 1 (http://www.winmobiletech.com/062007CompEmus/PocketUAESelectROM1.bmp.png), 2 (http://www.winmobiletech.com/062007CompEmus/PocketUAESelectROM2.bmp.png)) (you will need to do this only once – as opposed to selecting a game in the previous bullet)
in the same tab, you may also want to enable Fast Copper (http://www.winmobiletech.com/062007CompEmus/UAWFastCopper.bmp.png) and set Enhanced Chipset (A500, A2000) (http://www.winmobiletech.com/062007CompEmus/UAWEnhChipset.bmp.png) instead of the default Original one. (The latter isn’t compatible with, say, Xenon 2 (http://www.thehouseofgames.net/index.php?t=10&id=207))
in the Audio tab, you will find the way of completely disabling the sound (if the stuttering gets on your nerves). Then, just make sure None is selected in the Sound Output: drop-down list (http://www.winmobiletech.com/062007CompEmus/PUAEsound.bmp.png)
if you have a VGA device, you must go to Video and select 640x480 (VGA PocketPC) in the Screen Mode: drop-down list (http://www.winmobiletech.com/062007CompEmus/PUAEVGASelect.bmp.png). Note that if you plan to use your device in left-handed landscape mode (if you’re either left-handed or plan to use the native orientation of most HTC Pocket PC’s with a built-in slide-out keyboard), make sure you switch the Rotation radio button to “Right” (http://www.winmobiletech.com/062007CompEmus/PUAELefthandedRotation.bmp.png)
go to the Buttons tab and, if your Pocket PC doesn’t have five application buttons (as is the case with, say, the HP iPAQ 2210), the fifth generally being the Record button at the top left, click Set under Joystick fire button and press the button you’d like to assign this functionality to (http://www.winmobiletech.com/062007CompEmus/PUAEReassignJosysticFire.bmp.png). Also note that it’s also here that you can assign the left and right mouse click functionalities and quitting the emulator. As far as the latter is concerned, it’s, by default, assigned to app button 3. Therefore, if you reassign the fire button there, make sure you reassign it to, say, the (still) unused Button 4 to avoid clashes.

Of course, if you have more than four buttons and the fifth (sixth etc., as is the case with multibutton Pocket PC models like the F-S Pocket Loox 720) button is on the upper left side of your Pocket PC, you’ll want to prefer it to a fire button next to the D-pad. This way, you can use both hands to control the D-pad and the fire.

Note that, unfortunately, the emulator doesn’t support on-screen buttons.

Finally, if you have a device like the HTC Wizard, where the upper left (Wireless settings) button is the sixth, you will also need to redefine the button layout in the above-explained way so that it’s the least awkward.
also notice the Mem tab (http://www.winmobiletech.com/062007CompEmus/PUAEMemtab.bmp.png). When a given game REQUIRES you to give it a given amount of Chip / Fast (and, in cases, other kinds of) memory, it’s here that you will need to set these amounts.
now, just press Launch UAE in the bottom left corner and the emulator will launch. Just press the Exit button (by default, the third application button) to exit.

Compatibility issues

I haven’t encountered problems running the emulator on the following models: iPAQ 2210, Dell Axim x51v, Pocket Loox 720, HTC Universal and HTC Wizard. All run OK in the default GAPI mode. (With the Wizard, of course, you will want to overclock the device to, say, 273 MHz to achieve acceptable results – without sound, of course.)

It doesn’t work with the HTC TyTN / Hermes because of the ATi video controller. See THIS (http://sourceforge.net/forum/forum.php?thread_id=1553072&forum_id=389665), THIS (http://sourceforge.net/forum/forum.php?thread_id=1747396&forum_id=389665) and THIS (http://sourceforge.net/forum/forum.php?thread_id=1551472&forum_id=389665).

Unfortunately, it is NOT compatible with MS Smartphones (Windows Mobile 6 Standard), not even QVGA ones (thoroughly tested on the HTC Vox (s710)). The lack of the compatibility front-end isn’t a problem; that of UAE.exe (after all, you can just create / modify the .uaerc by hand or with the front-end running on a real Pocket PC) is. It’s the latter that doesn’t run (entirely crashes the Vox, which means the need to take out the battery to reset), even with all the parameters set correctly.

Text input problems on VGA devices

As the Amiga is mostly a gaming platform, you’ll very rarely need text input. If you DO need it (for example, with Ghostwriter (http://amiga.emucamp.com/ghostwr.htm) - the screenshots below have been made showing the loader of this program, which also requires text input), however, you will want to know that the (excellent, n0p's DOSBox-like) on-screen keyboard is only usable.

While the on-screen keyboard is displayed on QVGA devices without problems:

http://www.winmobiletech.com/062007CompEmus/PocketUAEQVGAkeyboard.bmp.png

on VGA, it’s messed up:

http://www.winmobiletech.com/062007CompEmus/PocketUAEVGAkeyboard.bmp.png

Unfortunately, it seems the original position of the keys can’t be (blindly) clicked / the keymap rolled either.

Fortunately, if you have a built-in keyboard in your VGA device (for example, the HTC Universal), it can be used for text input. Also, the emulator can run in low resolution on some VGA models (like the Universal but NOT the x51v). The latter will, of course, mean you won’t have high-resolution images, which is quite a big problem with the Amiga (just compare the two screenshots above, text readability-wise!)

Speed issues

If you’ve ever seen how the excellent, Linux-based GP2X (http://en.wikipedia.org/wiki/GP2X) 250 MHz (that is, theoretically, slower than most PPC's) handheld console runs the UAE4all emulator (http://wiki.gp2x.org/wiki/UAE4all) (related info & video links also HERE (http://sourceforge.net/forum/forum.php?thread_id=1615684&forum_id=389665)), then, you’ll be pretty disappointed – PocketUAE is MUCH slower. (Incidentally, while we’re at the YouTube GP2X videos, in addition to the UAE4all emulator, it’s also worth looking around in other GP2X videos on YouTube (http://www.youtube.com/results?search_query=gp2x). Related threads are for example HERE (http://sourceforge.net/forum/forum.php?thread_id=1585716&forum_id=389665) and HERE (http://sourceforge.net/forum/forum.php?thread_id=1455210&forum_id=389665).)

Also note that emulation on QVGA devices isn’t faster than on VGA ones (http://sourceforge.net/forum/forum.php?thread_id=1310470&forum_id=389665).

Unfortunately, as with UAE4ALL, it’s highly improbable there will ever be a WinFellow port (http://sourceforge.net/forum/forum.php?thread_id=1233593&forum_id=389665) either.

Finally, while there are some tweaking capabilities offered by Pocket UAE, they won’t really help in getting rid of the sound stuttering problems. I’ve thoroughly tested all these tweaking capabilities with Katakis, which, using the default settings, has really stuttering sound and choppy animation (the latter is far better in Turrican I and II, as with the sound, albeit marginally).

Video / Frame skipping (default: 3): with it set to 6: definite gain in speed, but still stuttering sound. 1 (without sound): about 30-40% game speed, showing you should almost never use 1 frame skips because current Pocket PC’s are just not capable of emulating Amiga this fast.

CPU / Chip slider (default: 10): 20: a little bit better speed compared to the default (10) case; the game, however, becomes unplayable because of the bad / slow screen updates; 3: a bit worse.

Chip / Fast Copper: enabling this resulted in no speed gain at all

Video / Fast Blitter: enabling this resulted in no speed gain at all

Audio / Interrupts (emulated) and Audio / None: No sound at all; video still very choppy.

bradley24
06-16-2007, 10:21 PM
thanks man!
can´t wait to play all those old games I used to play as a boy on my beloved Amiga 1200...

Menneisyys
06-18-2007, 04:51 PM
UPDATE (06/18/2007): Let me also elaborate on swapping disks, which is required by a lot of games.

First, currently, it's not possible to swap disks from inside the emulator (while it's running), as opposed to the original, desktop UAE. Some two years ago (that is, well before the release of the current PocketUAE version), the developer promised (http://sourceforge.net/forum/message.php?msg_id=3156780) to look into a problem and implement an in-emulator menu to do the disk swapping; unfortunately, this has never realized.

Unfortunately, just overwriting the first ADF (disk image) with the just-requested one (by, say, quickly popping out the memory card it's on and doing the file overwrite in another computer / handheld) doesn't work either (I've tested this too; with Operation Wolf (http://www.classic-pc-games.com/amiga/games/operation_wolf.html)).

With games that don't support more than one disk drives (unfortunately, Operation Wolf is one of them), you can't just map the second (third etc.) disks to the additional three drives. This is also explained HERE (http://sourceforge.net/forum/message.php?msg_id=3158686).

Currently, the ONLY way to play games that don't check for additional drives is transferring these disk images to a HDD image; see THIS (http://sourceforge.net/forum/message.php?msg_id=3158686) and THIS (http://sourceforge.net/forum/message.php?msg_id=3500415) for more info.