Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,935 Members 53,551 Now Online
XDA Developers Android and Mobile Development Forum

Another QEMU and BOCHS ports for android

Tip us?
 
mamaich
Old
(Last edited by egzthunder1; 27th January 2012 at 04:26 PM.) Reason: added sources
#1  
Recognized Developer - OP
Thanks Meter 213
Posts: 1,150
Join Date: Apr 2004

 
DONATE TO ME
Default 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:
http://rapidshare.com/files/39388964...rm_android.rar
Mod Edit: No Windows images allowed

Installation:
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.

Added:
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.
...
The Following 7 Users Say Thank You to mamaich For This Useful Post: [ Click to Expand ]
 
d3sm0nd
Old
#2  
d3sm0nd's Avatar
Senior Member
Thanks Meter 14
Posts: 546
Join Date: Dec 2007
Location: Sofia
Nice work and thanks... but why won't you continue with this project?
HTC TyTN II > HTC Touch Diamond2 > HTC Hero > HTC Desire > Samsung Galaxy S II > Galaxy Nexus > Nexus 4 > HTC One > Nexus 5 > One Plus One
 
d3sm0nd
Old
#3  
d3sm0nd's Avatar
Senior Member
Thanks Meter 14
Posts: 546
Join Date: Dec 2007
Location: Sofia
Just tested the QEMU build on my Desire... WOW! Windows 95 is running really fast... I think you or someone else should continue with this project...

Just imagine getting network connection running... we could use vnc to connect to the machine from a remote computer!
HTC TyTN II > HTC Touch Diamond2 > HTC Hero > HTC Desire > Samsung Galaxy S II > Galaxy Nexus > Nexus 4 > HTC One > Nexus 5 > One Plus One
 
acolwill
Old
#4  
acolwill's Avatar
Senior Member
Thanks Meter 61
Posts: 247
Join Date: Dec 2008
Location: In your bank, sharding your purplz
Any chance of some different mirrors? Rapid**** hates me...
 
Marcell-o
Old
#5  
Marcell-o's Avatar
Member
Thanks Meter 0
Posts: 74
Join Date: Feb 2009
Location: Rotterdam
I tested the 98 version.
it says that the harddrive is not fat32 formatten.
and thasn a russian dos version.

does someone have the 95 version and upload to megaupload.
 
dieselboy
Old
#6  
dieselboy's Avatar
Senior Member
Thanks Meter 11
Posts: 455
Join Date: Jan 2008
Quote:
Originally Posted by d3sm0nd View Post
Just tested the QEMU build on my Desire... WOW! Windows 95 is running really fast... I think you or someone else should continue with this project...

Just imagine getting network connection running... we could use vnc to connect to the machine from a remote computer!
Couldnt you just install vnc on the phone?
 
mercianary
Old
#7  
mercianary's Avatar
Senior Member
Thanks Meter 69
Posts: 722
Join Date: May 2010
Location: Brum
what can i say?

I'm freakin amazed!!

qemu works flawlessly, great work.
 
mamaich
Old
#8  
Recognized Developer - OP
Thanks Meter 213
Posts: 1,150
Join Date: Apr 2004

 
DONATE TO ME
Added sources to the first post.
To compile them you'll need CygWin and my compiled version of GCC 3.4.6. Compilers from NDK cannot be used.
...
 
deprecate
Old
#9  
Senior Member
Thanks Meter 8
Posts: 591
Join Date: Jan 2009
Location: honolulu
This is wonderful! My nexus runs 95 better than my old 386sx33 that I used to waste countless hours playing doom on a local bbs.

thanks!
 
tuto0503
Old
#10  
tuto0503's Avatar
Member
Thanks Meter 0
Posts: 51
Join Date: Apr 2007
pretty freaking cool

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes