Bochs without X11

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
m
Member
Member
Posts: 67
Joined: Sat Nov 25, 2006 6:33 am
Location: PRC

Bochs without X11

Post by m »

Hi.

I'm wondering if all of you're using Bochs under X11...Does anyone know a way to use Bochs without X11?

I set the item display_library in bochsrc to svga but Bochs triples a panic indicating that there is no such library existing.Currently I have the package svgalib installed on my system,FreeBSD.And I find nothing helpful in their official documentation.

Do you have any ideas?Any help is appreciated.Thanks in advance!
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Not a clue about bochs..

I do know that QEMU includes a VNC server these days..

There is also a patch that uses curses/ncurses as an interface :wink:

You should read the bochs documentation though.. You likely need to "configure" the other optional display interfaces.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

poor documentation?

Code: Select all

./configure --help
which will tell you to

Code: Select all

./configure --with-svga --without-x11 --whatever-other-settings-you-want
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
m
Member
Member
Posts: 67
Joined: Sat Nov 25, 2006 6:33 am
Location: PRC

Post by m »

Yeah,thanks.

I think I forgot to compile the associated modules in advance...

Now a new problem has occured...When I run Bochs with svgalib it almost crashed my machine and the DELL logo was displayed on the screen scattered.It seems that the BIOS ROM was read into the VRAM...A strange problem.

Do you have ideas on this?Anyway if I can find a way out I will post back again.

Regards :)
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

<advertising adjective="shameless" object="Gentoo Linux">
USE="-X" emerge bochs...
</advertising>


*ducksandruns*
Every good solution is obvious once you've found it.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

No personal experience with svgalib - you could try to build SDL as a layer between those and use that. Maybe bochs has a broken or buggy frontend to it? even the windows gui looks still the same even after 2 years...
<advertising adjective="shameless" object="Gentoo Linux">
Gentoo rocks, but unfortunately it tends to lag a few versions behind. Yesterday it even proposed an 1.4 java runtime to me :roll:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
iammisc
Member
Member
Posts: 269
Joined: Thu Nov 09, 2006 6:23 pm

Post by iammisc »

Gentoo rocks, but unfortunately it tends to lag a few versions behind. Yesterday it even proposed an 1.4 java runtime to me
Lags a few versions behind? For your information, gentoo has some of the most up-to-date packages. It was one of the first to have x.org 7.0 support and it supports the most up-to-date openoffice.org and firefox and most other packages.

The java 1.4 version is probably an open source jvm like blackdown or something and not the sun jvm or it could be for the old java system or for compatibility with openoffice.org or 32 bits if you have amd64.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

{Deleted because it's OT. Combuster, just try "emerge sun-jdk", and look up "~x86" / "java-config".}
Every good solution is obvious once you've found it.
m
Member
Member
Posts: 67
Joined: Sat Nov 25, 2006 6:33 am
Location: PRC

Post by m »

It seems that that crash isn't caused by Bochs...Some programs I wrote using svgalib these days and the demos along with svgalib also crash like that.And sometimes FreeBSD core dump says "Segmentation Fault".So maybe it's svgalib's fault?
(Some "primitive" interfaces within svgalib may have something to do with this...)
Post Reply