Bochs? Huh?

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
The_Legend

Bochs? Huh?

Post by The_Legend »

I tried to set up Bochs, but I don't know what to I need for
the options "Video ROM" and "BIOS ROM" (or similar).
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re: Bochs? Huh?

Post by df »

bochs comes with all required files (including video rom + bios rom). its more than just an .exe file.
-- Stu --
The_Legend

Re: Bochs? Huh?

Post by The_Legend »

I have it installed under Linux ...
Kernel Panic

Re: Bochs? Huh?

Post by Kernel Panic »

Here is a simple .bochsrc file. It assumes that you run bochs from directory one level deeper from where the bochs is installed. Change "romimage" and "vgaromimage" path settings  to wherever those files reside on your system. (Anyway, you should have those files..)

floppya: 1_44="a.img", status=inserted
diskc: file="c.img", cyl=81, heads=16, spt=63
romimage: file=../BIOS-bochs-latest, address=0xf0000
vgaromimage: ../VGABIOS-elpin-2.40
megs: 4
boot: c
ips: 500000
mouse: enabled=0
time0: 0
newharddrivesupport: enabled=1
log: bochsout.txt
K.J.

Re: Bochs? Huh?

Post by K.J. »

Basically, Bochs itself is nothing more than a cpu with the ability to add a hard drives and floppy dirves and a monitor. The VGA rom is really a "video card" and the BOIS rom is well what it uses for a BIOS. Bochs comes with both a VGA rom and a BIOS rom. You can (supossedly) use any VGA rom that you want, but the one from elpin that comes with Bochs works great. I'm not sure whether or not you can use any BOIS rom that you want though(I'm thinking that you can't).

K.J.
Kernel Panic

Re: Bochs? Huh?

Post by Kernel Panic »

Basically, Bochs itself is nothing more than a cpu with the ability to add a hard drives and floppy dirves and a monitor
Nope. Bochs is a complete (well, almost complete..) PC emulator. It has emulated hard drives, floppy drives, VGA card etc built-in. There are talks now on the bochs development list about separating the cpu part from the other ones for some purpose (I guess, testing), which may prove rather hard..
The VGA rom is really a "video card"
No, it's just what it is - a VGA ROM.. ;)
The_Legend

Re: Bochs? Huh?

Post by The_Legend »

Hmm, I can't get it to work. I've configured the rom paths and when I start bochs with a image from tabos it dies with an illegal instruction and when I say alwayscontinue, it keeps executing illegal instructions ...
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re: Bochs? Huh?

Post by df »

maybe tabos does something it should not?
-- Stu --
The_Legend

Re: Bochs? Huh?

Post by The_Legend »

No, my bochs was buggy, a friend send me another one and this seems to work now!
Post Reply