Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Another QEMU and BOCHS ports for android

OP mamaich

1st June 2010, 07:26 AM   |  #1  
OP Recognized Developer
Thanks Meter: 214
 
1,150 posts
Join Date:Joined: Apr 2004
Donate to Me
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.
Last edited by egzthunder1; 27th January 2012 at 05:26 PM. Reason: added sources
The Following 7 Users Say Thank You to mamaich For This Useful Post: [ View ]
1st June 2010, 07:26 PM   |  #2  
d3sm0nd's Avatar
Senior Member
Flag Sofia
Thanks Meter: 14
 
549 posts
Join Date:Joined: Dec 2007
More
Nice work and thanks... but why won't you continue with this project?
1st June 2010, 07:49 PM   |  #3  
d3sm0nd's Avatar
Senior Member
Flag Sofia
Thanks Meter: 14
 
549 posts
Join Date:Joined: Dec 2007
More
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!
1st June 2010, 08:52 PM   |  #4  
acolwill's Avatar
Senior Member
Flag In your bank, sharding your purplz
Thanks Meter: 61
 
249 posts
Join Date:Joined: Dec 2008
More
Any chance of some different mirrors? Rapid**** hates me...
2nd June 2010, 12:19 PM   |  #5  
Marcell-o's Avatar
Member
Flag Rotterdam
Thanks Meter: 0
 
74 posts
Join Date:Joined: Feb 2009
More
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.
2nd June 2010, 05:47 PM   |  #6  
dieselboy's Avatar
Senior Member
Thanks Meter: 11
 
458 posts
Join Date:Joined: Jan 2008
Quote:
Originally Posted by d3sm0nd

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?
2nd June 2010, 10:23 PM   |  #7  
mercianary's Avatar
Senior Member
Flag Brum
Thanks Meter: 71
 
722 posts
Join Date:Joined: May 2010
More
what can i say?

I'm freakin amazed!!

qemu works flawlessly, great work.
3rd June 2010, 03:11 AM   |  #8  
OP Recognized Developer
Thanks Meter: 214
 
1,150 posts
Join Date:Joined: 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.
3rd June 2010, 10:29 PM   |  #9  
Senior Member
Flag honolulu
Thanks Meter: 8
 
591 posts
Join Date:Joined: Jan 2009
More
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!
4th June 2010, 09:22 PM   |  #10  
tuto0503's Avatar
Member
Thanks Meter: 0
 
51 posts
Join Date:Joined: Apr 2007
pretty freaking cool

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes