Or Continue to Thread: Another QEMU and BOCHS ports f…
Find Your Device:
1st June 2010, 06:26 AM
OP Retired Recognized Developer
Thanks Meter: 216
1,150 posts
Join Date:Joined: Apr 2004
Donate to Me
Another QEMU and BOCHS ports for android
Here: http://4pda.ru/forum/index.php?showtopic=172093 and here: http://4pda.ru/forum/index.php?showtopic=169480 I've posted my own ports of QEMU and BOCHS emulators for android. Pages are in russian.
Both builds are tested on HTC Desire. May run on android 1.6+, but lots of RAM is a requirement. Need VGA+ screens, otherwise text would be unreadable.

Direct links:
Mod Edit: No Windows images allowed

1. install APK from archive
2. copy SDL directory from archive to the root of storage card
3. run. If it don't run - look into ADB log. And don't ask me for help.

BOCHS is too slow to be useable, but very stable.
QEMU is really fast - but buggy. SB16 emulation is working, but no MIDI music. FPU emulation is incorrect/incomplete, so it may cause some programs not to run or behave strangely. Network is not working. Keyboard/mouse emulation is far from perfect.
Windows 9x would work in QEMU if you'll disable 32-bit disk drivers in it. This is a bug in Android (pread/pwrite functions are not working). Windows 9x speed is really fast.
This QEMU build is based on 0.9.1, newer versions have bugs in ARM TCG and can't boot Windows or similar OS.

I would not continue working on these 2 projects. If anyone is interested - I'll provide all sources and some information on building. Knowledge of C++, ARM and x86 asm is required.

Here: http://rapidshare.com/files/39462258....9.1-28may.rar are QEMU sources. To build them you'll need SDL (http://rapidshare.com/files/39235844...2.14-28may.rar and http://rapidshare.com/files/39235860...part-28may.rar - native and java parts) and GCC 3.4.6 (http://rapidshare.com/files/39235717...id-gcc-346.rar). Newer GCC nor NDK cannot be used to build QEMU 0.9.1. This GCC archive already contains a prebuilt SDL library.
Compiler and my SDL port are discussed here: http://4pda.ru/forum/index.php?showtopic=172092
After compiling QEMU you'll need to copy i386-softmmu\qemu as SDLapp\libs\armeabi\libnativeapp.so in the java part of SDL project, then recompile java part.
GCC installation: first install CygWin, then extract archive to /android directory in CygWin, then add its 'bin' directory to CygWin path like this: export PATH=/android/bin:$PATH
To build projects just cd to directory with sources and "make". Java part of SDL is a normal Eclipse project.
Last edited by egzthunder1; 27th January 2012 at 04:26 PM. Reason: added sources
The Following 7 Users Say Thank You to mamaich For This Useful Post: [ View ]