Page 1 of 1

Help!There is nothing in bochs' emulator screen!

Posted: Fri Oct 16, 2009 12:22 am
by frankyue
My paltform is ubuntu8.10.
I installed the bochs by using the command apt-get at first!It's all right when I typed "bochs -f bochsrc"with my config to run my program,It is also showed me a window(emulator screen) with some characters which I expected!

I want to use the debugger function of the bochs,So I svn a new version of bochs-2.4.1 and compiled by my self and uninstall the previous one!OK, I can debugger the program but there is nothing in the emulator screen!
So I removed the bochs-2.4.1 and installed the bochs from the apt package again!However,there is nothing in the emulator screen and the terminal always show the info of VGA like blow:
00006000000e[VGA ] character height = 1, skipping text update
00006080000e[VGA ] character height = 1, skipping text update
00006160000e[VGA ] character height = 1, skipping text update
00006240000e[VGA ] character height = 1, skipping text update
00006320000e[VGA ] character height = 1, skipping text update
00006400000e[VGA ] character height = 1, skipping text update
00006480000e[VGA ] character height = 1, skipping text update
Here is my bochs' log file bochsout.txt
http://docs.google.com/View?id=dfcp2gcf_187g993pzhm

I guess may the BIOS-bochs-latest is wrong!

TX !

Re: Help!There is nothing in bochs' emulator screen!

Posted: Fri Oct 16, 2009 12:57 am
by xenos
Could you post your bochsrc file? It seems that you loaded the BIOS to the wrong address. The BIOS-bochs-latest has a file size of 128k instead of 64k for the old versions, it has to be loaded to 0xe0000 instead of 0xf0000.

I think I just found the problem:

Code: Select all

00000000000i[MEM0 ] rom at 0xffff6400/39936 ('/usr/share/bochs/BIOS-bochs-latest')
This is obviously wrong... So the simulation runs into trouble right at the beginning:

Code: Select all

00000000007e[CPU0 ] prefetch: EIP [00010000] > CS.limit [0000ffff]
00000080000e[VGA  ] character height = 1, skipping text update