Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
korvs2003
Old
(Last edited by korvs2003; 13th December 2011 at 07:02 PM.)
#1  
Junior Member - OP
Thanks Meter 22
Posts: 3
Join Date: Jun 2008
Default [APP][2.2+] BOCHS for Android (Pentium PC emulator)

Description:
Emulates Pentium PC for Android. It can run x86 OS.
It was compiled from stable relese 2.5 (11/27/11) with modifications for Android and my own implementation of sound output via SDL. It uses SDL(from mamaich).
It is slower than QEMU, but is rather stable so is preferable in case low requirements for HW.

Requirements: Android 2.2+.

How to install:
1. Install apk (attached)
2. Extract content of SDL.zip to /sdcard/SDL folder on your phone
3. Put hdd image to /sdcard/SDL folder and rename it to c.img (or modify bochsrc.txt)

Possible issues: The programm exits right after start and there is no bochsout.txt in /sdcard/SDL - check bochsrc.txt for errors:
-wrong path to images (check cAsE)
-bad symbols were added to file
If you have bochsout.txt after start, then it should contain description for the issue. In most cases it is unsupported format of disk image

Control:
- It emulate touchpad on touchscreen and left/right mouse buttons on volume
You can also click touch screen to generate mouse left button click.
- Back = BackSpace, Menu = Enter, left-upper corner click generates TAB
- left-lower corner click popups keyboard

Additional features:
- (warning it is experimental so can damage you file system) direct access to NAND of your phone
modify bochsrc.txt the next way
ata0-slave: type=disk, mode=vvfat, path=/sdcard/HDD, journal=vvfat.redolog
where HDD - folder in /sdcard root

- Sound support via SDL
modify bochsrc.txt:
sb16: wavemode=1, dmatimer=500000
OS should have installed SB16 drivers

example of bochsrc.txt is attached
Attached Files
File Type: apk Bochs2_5_1.apk - [Click for QR Code] (1.21 MB, 96502 views)
File Type: zip SDL.zip - [Click for QR Code] (47.9 KB, 70440 views)
File Type: txt bochsrc.txt - [Click for QR Code] (1.9 KB, 45130 views)
The Following 21 Users Say Thank You to korvs2003 For This Useful Post: [ Click to Expand ]
 
ovitz
Old
#2  
ovitz's Avatar
Senior Member
Thanks Meter 58
Posts: 300
Join Date: Feb 2010
Location: Tarnow/Bielsko-Biala
I've got a problem, cause when I wanna to start system i have No bootable media.
And there is a second problem, I can't mount cdrom.
 
MemoryController
Old
#3  
Senior Member
Thanks Meter 118
Posts: 782
Join Date: Dec 2011
Location: Thessaloniki
Can u do a qemu app?

Sent from my GT-I9100 using XDA App
 
4fffsss
Old
#4  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jun 2010
Talking Windows XP SP3 Fundamentals

Dear geeks,
Finally, Windows XP SP3 Fundamentals is running under Android Bochs. It is very very stable. Works great with mouse and Windows XP On-screen Keyboard. The only problem on 500 Mhz processor in HTC - takes 1,5 hours to start. And very slow. Fast mobile required.
 
barisahmet
Old
#5  
Senior Member
Thanks Meter 33
Posts: 380
Join Date: Jul 2009
Location: Istanbul
Quote:
Originally Posted by 4fffsss View Post
Dear geeks,
Finally, Windows XP SP3 Fundamentals is running under Android Bochs. It is very very stable. Works great with mouse and Windows XP On-screen Keyboard. The only problem on 500 Mhz processor in HTC - takes 1,5 hours to start. And very slow. Fast mobile required.
can you tell me how did you prepare .img file?
 
4fffsss
Old
(Last edited by 4fffsss; 17th January 2012 at 07:59 AM.)
#6  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jun 2010
Red face how to prepare img file

Not difficult actually. You need to use Bochs Disk Image Creation Tool. For XP SP3 at least 1500 Mb must be allocated. You need to install Fundamentals on real PC (otherwise you wount type ctrl+alt+del on first logon, and wount change display resolution to 640p), then transfer image file to android.
 
4fffsss
Old
#7  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jun 2010
Yesterday tryed Microsoft Office 2003 - works extremely slow.
 
MemoryController
Old
#8  
Senior Member
Thanks Meter 118
Posts: 782
Join Date: Dec 2011
Location: Thessaloniki
Can u post sp3 img?

Sent from my GT-I9100 using XDA App
 
4fffsss
Old
#9  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Jun 2010
Lightbulb Post image

The compressed image is 1.1 Gb. It includes bootable Windows XP Fundamendals Service Pack 3. I will attache also src text file with pc configuration. It is compatible for both PC and Android. Windows boots full color display 640*460 interlace drop till 320*240, 80 Mb RAM allocated, so it is still 40-50 avaliable for common Android applications. XP recognizes Pentium 4 processor operating at 7 Mhz. The forum limitations doesnt allow attaching that big files. If someone can give me an ftp or whatever like that and publish a link for everyone, i can provide files.
 
MemoryController
Old
#10  
Senior Member
Thanks Meter 118
Posts: 782
Join Date: Dec 2011
Location: Thessaloniki
Sweet!! Contact the OP

Sent from my GT-I9100 using XDA App

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...