maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   bochs emulation (https://talk.maemo.org/showthread.php?t=48809)

rickrvo 2010-03-31 04:52

bochs emulation
 
hi, i've installed the app from the app manager and now how do I use it..? it's not shown on the apps like the others...

clasificado 2010-03-31 07:47

Re: bochs emulation
 
Try resetting the device

or, at least, telling us what the app name.

some apps are command line only

HtheB 2010-03-31 07:51

Re: bochs emulation
 
Quote:

Originally Posted by clasificado (Post 589288)
Try resetting the device

or, at least, telling us what the app name.

some apps are command line only

He stated the name of the app in his thread title ;)


I installed this either, I think it is indeed a command line app

rickrvo 2010-04-01 03:15

Re: bochs emulation
 
lol and how do I use it? lol which folder is it installed?

edworkscomputing 2010-12-13 21:31

Re: bochs emulation
 
Hi get bochs this app but i didn't have clue where to get manual how to add windows or where to put windows iso file. in terminal i start app with this /opt/bochs/bin/bochs but where is app saving settings or partitions what i made or where to put the dos files??? thanks

Radicalz38 2010-12-13 21:38

Re: bochs emulation
 
installing a software without knowing how to use or what it does? 0.o strange... What if it's a malware or anything?

extendedping 2010-12-13 21:54

Re: bochs emulation
 
Nokia boched maemo the day meego was announced.

suzuka 2010-12-28 03:36

Re: bochs emulation
 
I tried out bochs x86 PC emulator on N900 the other day. Here's what I did to install a freedos image in bochs. Just some things you should know to start off:-
bochs file locations
bochs binaries are located here:
Code:

/opt/bochs/bin
bios images, vgabios images, keymaps are located here:
Code:

/opt/bochs/share/bochs/
docs, readme, changes, bochsrc configuration file sample are located here:
Code:

/opt/bochs/share/doc/bochs/
suggested location for disc images (based on the sample bochsrc file disc images are to be placed here, you create this folder yourself):
Code:

/home/user/MyDocs/bochs
How to setup a disc image for use in bochs x86 pc emulator using FreeDOS as an example
1. Download the ready made FreeDOS image to your PC from
http://bochs.sourceforge.net/diskimages.html
2. Extract the contents of freedos-img.tar.gz and you should have four files: a.img, b.img, c.img, bochsrc
3. Open bochsrc in a text viewer on your PC
4. On your N900, copy the sample to your MyDocs/bochs folder ready for editing:
Code:

cp /opt/bochs/share/doc/bochs/bochsrc-sample.txt /home/user/MyDocs/bochs/bochsrc
5. Use the freedos bochsrc settings viewed on your PC to amend the bochsrc file on your N900:
Code:

leafpad /home/user/MyDocs/bochs/bochsrc
It should now look something like this:
Code:

# FreeDOS configuration file on N900
config_interface: textconfig
display_library: sdl
megs: 32
romimage: file="/opt/bochs/share/bochs/BIOS-bochs-latest"
vgaromimage: file="/opt/bochs/share/bochs/VGABIOS-lgpl-latest-cirrus"
vga: extension=vbe
floppy_bootsig_check: disabled=0
floppya: 1_44="/home/user/MyDocs/bochs/a.img", status=inserted
floppyb: 1_44="/home/user/MyDocs/bochs/b.img", status=inserted
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=disk, path="/home/user/MyDocs/bochs/c.img", cylinders=306, heads=4, spt=17
boot: c
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata2: enabled=0
ata3: enabled=0
parport1: enabled=1, file=""
parport2: enabled=0
com1: enabled=1, mode=null, dev=""
com2: enabled=0
com3: enabled=0
com4: enabled=0
usb1: enabled=0
vga_update_interval: 400000
vga: extension=cirrus
cpu: count=1, ips=2000000, reset_on_triple_fault=1
text_snapshot_check: enabled=0
private_colormap: enabled=0
clock: sync=none, time0=local
# no cmosimage
ne2k: enabled=0
pnic: enabled=0
sb16: enabled=0
# no loader
log: bochsout.txt
logprefix: %t%e%d
debugger_log: -
panic: action=ask
error: action=report
info: action=report
debug: action=ignore
pass: action=fatal
keyboard_type: mf
keyboard_serial_delay: 250
keyboard_paste_delay: 100000
keyboard_mapping: enabled=0, map=
user_shortcut: keys=none
mouse: enabled=0

6. Transfer the files a.img, b.img, c.img from your PC to your N900 to the location /home/user/MyDocs/bochs
7. Now you're ready to run FreeDOS in Bochs
Change to the directory where your disc image and config file is located:
Code:

cd /home/user/MyDocs/bochs
Launch bochs:
Code:

/opt/bochs/bin/bochs
and on the bochs main menu, enter 6 to begin simulation.

Hope that helps get you started.
Oh and for reference here's a link to the bochs user manual from the bochs home page - not specific for the N900 but will answer any questions regarding disc images for use in bochs.

samipower 2011-05-29 22:16

Re: bochs emulation
 
6 to begin simulation.

bios no bootable device

i looked in log

00001754310i(bios) bios_table_cur_addr: 0x000fb964
00007878366p(bios)panic no bootable device

samipower 2011-06-01 12:12

Re: bochs emulation
 
now run perfect

toninikkanen 2012-02-27 22:02

Re: bochs emulation
 
Hi, i think I'm the guy who made the Bochs package for the N900 originally.

I should have provided some instructions, but I assumed that since Bochs is a bit hard to use anyway, only people who already know how to use it will try to use it - or will at least spend some time reading the manuals on http://bochs.sourceforge.net/cgi-bin...ser/index.html.

If there's no "MeeGo" Harmattan package yet, I just might make one and try to add some better pointers on how to get started, but it might still remain as a command-line only thing.

baggacfreak 2012-12-17 14:15

Re: bochs emulation
 
Hi,

how did you (toninikkanen) make the bochs package? I would like to give it another shot during the upcoming holidays. My problems so far where that I could not get the keyboard to work. If I keyboard and mouse pointer would work correctly I would be able to set up kolibri os to run and use their onscreen keyboard and have some fun with it on the n900. Speed should be all right. Perhaps a newiert bochs would help, too!

Yours Baggacfreak!

toninikkanen 2012-12-17 23:55

Re: bochs emulation
 
Hi,

I did the package in a pretty straightforward way. If I go back to my old files it seems I have configured Bochs with --enable-pci --enable-clgd54xx --enable-apic --with-sdl --enable-all-optimizations

If the keyboard support can't seem to work, one way would be to simply try the different interface options before digging into it deeper. If I remember correctly, mouse was problematic as it was almost impossible to hit anything properly.

baggacfreak 2012-12-22 09:32

Re: bochs emulation
 
Hi,

is it possible to use chainrooted linux and a bochs installation within this? I guess within this linux keyboard and mouse should work! Or would it be a good try to connect a bluetooth keyboard mouse device and test this. VNC into the n900 is a no go for the long run!

Thanks for the reply!


All times are GMT. The time now is 09:08.

vBulletin® Version 3.8.8