Page 1 of 1
Bochs fault...!?
Posted: Mon Oct 07, 2002 1:12 am
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?
Re:Bochs fault...!?
Posted: Mon Oct 07, 2002 5:45 am
by Whatever5k
No ideas? Come on!
I know that Pype also has problems with Bochs, for example...
Re:Bochs fault...!?
Posted: Mon Oct 07, 2002 6:43 am
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.
Re:Bochs fault...!?
Posted: Mon Oct 07, 2002 9:19 am
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?
Re:Bochs fault...!?
Posted: Mon Oct 07, 2002 7:32 pm
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.