Bochs port - Forum
Android Games Development Sunday, 2016-12-04, 9:03 AM
Welcome Guest | RSS
[ New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Forum » Test category » General Discussion » Bochs port
Bochs port
PickleSammichesDate: Friday, 2015-01-16, 9:21 PM | Message # 1
Private
Group: Users
Messages: 5
Reputation: 0
Status: Offline
First, let me just say I am amazed by your Basilisk II port. It runs great, and it's the only good Mac emulator for Android. Another emulator that once existed in the Android development scene is a good x86 emulator. While there is DOSBox, it doesn't emulate operating systems correctly from my experience. Bochs seems to be a good emulator for the task. There was a Bochs port, but it is extremely outdated and no longer runs on Android Lollipop. Do you think you can look into the idea of porting Bochs to Android? That would be really swell. Thanks for reading.
 
lubomyrDate: Saturday, 2015-01-24, 11:36 PM | Message # 2
Private
Group: Administrators
Messages: 12
Reputation: 0
Status: Offline
ok, i will try
I had some attempt to build bochs year ago, but without success
 
PickleSammichesDate: Friday, 2016-02-19, 5:02 PM | Message # 3
Private
Group: Users
Messages: 5
Reputation: 0
Status: Offline
Hello. I noticed you recently released a Bochs port. It runs great, and doesn't crash when doing similar tasks to DOSBox. I want to say you did an excellent job of porting it.
I have a question, though. Does the port support networking?
 
lubomyrDate: Saturday, 2016-02-20, 8:12 PM | Message # 4
Private
Group: Administrators
Messages: 12
Reputation: 0
Status: Offline
It support networking
try to add in config file
ne2k: mac=b0:c4:20:00:00:01, ethmod=slirp, script=""

and replace one line
pci: enabled=1, chipset=i440fx, slot1=cirrus
to
pci: enabled=1, chipset=i440fx, slot1=cirrus, slot2=ne2k
 
PickleSammichesDate: Sunday, 2016-02-21, 6:39 AM | Message # 5
Private
Group: Users
Messages: 5
Reputation: 0
Status: Offline
When I added "slot2=ne2k", Windows 98 stopped detecting the network adapter. It detects the adapter fine without the "slot2=ne2k". I don't think it worked though. I installed the NE2000 drivers, but it's not connecting properly. Using ipconfig, it showed an IP address and a subnet mask, but nothing for the gateway address.

By the way, does bochsrc.txt support absolute paths? I tried something like "/storage/emulated/0/file.img" and it didn't work. I have to move files into the same folder as bochsrc.txt and use "file.img".


Message edited by PickleSammiches - Sunday, 2016-02-21, 12:17 PM
 
lubomyrDate: Sunday, 2016-02-21, 10:46 PM | Message # 6
Private
Group: Administrators
Messages: 12
Reputation: 0
Status: Offline
Some users responded that networking working in that way.
No ideas with absolute path. I don't know.
 
PickleSammichesDate: Thursday, 2016-02-25, 8:20 PM | Message # 7
Private
Group: Users
Messages: 5
Reputation: 0
Status: Offline
Thanks, I got networking to work! It communicates properly now. I'm not sure if this helped, but I left off "slot2=ne2k", and added "irq=10" to the ne2k line (bochsout.txt said it was conflicting with IRQ9). When I installed the NE2k drivers inside of Windows, I specified an IRQ of 10.

This is what I used:
pci: enabled=1, chipset=i440fx, slot1=cirrus
ne2k: irq=10, mac=b0:c4:20:00:00:01, ethmod=slirp, script=""

After installing the drivers, make sure to install the TCP/IP protocol, and enable DNS. Find your gateway address (winipcfg for Windows 95, ipconfig for Windows 98+), and set the address to it. Then add a few DNS servers, like Google's (8.8.8.8 an 8.8.4.4). You could probably just add the gateway address for that too, but I didn't test it.

I think the absolute path problem I was having has something to do with the file permission. When I moved the files into net.sourceforge.bochs/files, the permissions changed to 766. The permission of files on the internal storage appears to be 660. When I try to change it to 766, it always defaults back to 660. That's probably why I have to move the files into the same directory as bochsrc.txt, because I can then change the permission to 766.

There's a small annoying bug. Setting the left mouse click to "Tap or hold" makes using the mouse a little odd. It seems to register the "hold" way too often. When I move the cursor around, it almost always "holds" the mouse click unless I move the cursor really fast initially.

This emulator is really amazing. It runs well, doesn't crash, and has networking! Thanks for your hard work!

Added (2016-02-25, 8:20 PM)
---------------------------------------------
Okay, I updated my phone's ROM (same Android version) and now the emulator cannot read any of my disk images. I think there's a problem with access permissions.

Message edited by PickleSammiches - Monday, 2016-02-22, 4:03 PM
 
lubomyrDate: Monday, 2016-02-29, 10:52 PM | Message # 8
Private
Group: Administrators
Messages: 12
Reputation: 0
Status: Offline
Try this version

bochs-2.6.8-android-armeabi-v7a.apk
 
PickleSammichesDate: Tuesday, 2016-03-01, 4:40 AM | Message # 9
Private
Group: Users
Messages: 5
Reputation: 0
Status: Offline
Excellent! It is now able to access files in /sdcard correctly. Thanks for your effort!
 
Forum » Test category » General Discussion » Bochs port
Page 1 of 11
Search:



Copyright lubomyr © 2016Website builderuCoz