Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with BOCHS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wolf_99
Apprentice
Apprentice


Joined: 22 Oct 2003
Posts: 213

PostPosted: Sat May 21, 2005 10:16 am    Post subject: Problems with BOCHS Reply with quote

I emerge bochs & I have Problems to configer it...

this is my configorition file.

Code:

###############################################################

# bochsrc.txt file for DLX Linux disk image.

###############################################################



# how much memory the emulated machine will have

megs: 128



# filename of ROM images

romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000

vgaromimage: $BXSHARE/VGABIOS-elpin-2.40



# what disk images will be used

floppya: 1_44=floppya.img, status=inserted

floppyb: 1_44=floppyb.img, status=inserted



# hard disk

ata0-master: type=disk, mode=flat, path="/home/shalom/bochs-test/hd10meg.img.gz", cylinders=65535, heads=16, spt=63
#ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14

#ata0-master: type=disk, path="/home/shalom/bochs-test/hd10meg.img.gz", cylinders=65535, heads=16, spt=63



# choose the boot disk.

boot: c



# default config interface is textconfig.

config_interface: textconfig

#config_interface: wx



#display_library: x

# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term



# where do we send log messages?

log: bochsout.txt



# disable the mouse, since DLX is text only

mouse: enabled=0



# enable key mapping, using US layout as default.

#

# NOTE: In Bochs 1.4, keyboard mapping is only 100% implemented on X windows.

# However, the key mapping tables are used in the paste function, so

# in the DLX Linux example I'm enabling keyboard_mapping so that paste

# will work.  Cut&Paste is currently implemented on win32 and X windows only.



keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-us.map

#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-fr.map

#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-de.map

#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-es.map



this is what happens:

Code:
 # bochs
00000000000i[APIC?] local apic in  initializing
========================================================================
                       Bochs x86 Emulator 2.1.1
                           February 08, 2004
========================================================================
00000000000i[     ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib/bochs/plugins'
00000000000i[     ] BXSHARE not set. using compile time default '/usr/share/bochs'
00000000000i[     ] reading configuration from bochsrc
00000000000i[     ] bochsrc: vga_update_interval seems awfully small!
------------------------------
Bochs Configuration: Main Menu
------------------------------

This is the Bochs Configuration Interface, where you can describe the
machine that you want to simulate.  Bochs has already searched for a
configuration file (typically called bochsrc.txt) and loaded it if it
could be found.  When you are satisfied with the configuration, go
ahead and start the simulation.

You can also start bochs with the -q option to skip these menus.

1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Begin simulation
6. Quit now

Please choose one: [5]


I press 2 to "Read options from..." & then 5 to "Begin simulation" the result is:
Code:

00000000000i[     ] lt_dlhandle is 0x8205ab8

00000000000i[PLGIN] loaded plugin libbx_x.la
00000000000i[     ] installing x module as the Bochs GUI
00000000000i[     ] Warning: no rc file specified.
00000000000i[     ] using log file bochsout.txt
Next at t=0
(0) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b             ; ea5be000f0
<bochs:1>


& a black empty window opens...
can sumeone please help me?
_________________
To err is human. To really fuck up, use a computer.
Back to top
View user's profile Send private message
Freanan
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2005
Posts: 113
Location: Esthal, Pfalz, Germany

PostPosted: Fri Jul 15, 2005 5:25 am    Post subject: Reply with quote

I am sorry that i cannot help, but i have the same or a similiar problem.
I can't check back at the moment but i think i don't have the jump at the end.
The black window is the same for me.
Back to top
View user's profile Send private message
Freanan
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2005
Posts: 113
Location: Esthal, Pfalz, Germany

PostPosted: Fri Jul 15, 2005 11:56 am    Post subject: Reply with quote

It works if you just change into the debugger-window and press c.
Found the answer ikn another thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum