Bochs fault...!?

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
Whatever5k

Bochs fault...!?

Post by Whatever5k »

I built a kernel, and on every keyboard interrupt (IRQ1), a message is printed on the screen. When I test my kernel with Bochs four times, the first three times work perfectly - but the forth time, no message is printed out...
When I now reboot my PC, so that GRUB (I use GRUB) is loaded by the BIOS and then my kernel is loaded, everything works perfect - and *always*. I tried ten times, it always worked...
Is this possible?
Whatever5k

Re:Bochs fault...!?

Post by Whatever5k »

No ideas? Come on!
I know that Pype also has problems with Bochs, for example...
Tom

Re:Bochs fault...!?

Post by Tom »

Well, BOCHS is not reliable, that's why after installing my OS I use "reboot -f" ( I have the 3rd linux file system so I can do that :) )

If you reboot in Windows in Bochs, the second time doesn't work...etc.
Whatever5k

Re:Bochs fault...!?

Post by Whatever5k »

Ah, I see...
Well, that's a good new..because I cannot find any error in my code...
Anybody else having problems with Bochs?
K.J.

Re:Bochs fault...!?

Post by K.J. »

Bochs is not a perfect emulator... but it's a very good one. What you can get out of the CVS tree is much better than 1.4.1, in both speed and bug fixes. They are reaching Bochs version 2.0 which they hope to put out by the end of October! It will fix some bugs, be more than twice as fast as 1.4.1 . It will also add x86-64 emulation, an APIC, and several other new features.

I currently have a problem with it, it doesn't support int 0xe820... but I'm working on adding in support for it into Bochs.

K.J.
Post Reply