Bochs or me?
Posted: Sat May 27, 2006 5:28 am
Has anyone noticed that bochs is doing something odd to generate a GPF when your using other then the setting clock: sync=slowdown, time0=local ?
I was doing some stability test with concerning with string output function, but now I don't know if its my function or bochs. In this test, I used a never ending loop that outputs a string and a ISR for the PIT channel 0 that will also output a string on interrupt.
Some things I found out:
1) No GPF when using clock: sync=slowdown, time0=local, at any PIT resolution.
2) No GPF when using around 100hz resolutions on PIT, with any setting.
3) GPF when using clock: sync=realtime, time0=local, with 500hz+ resoultions on PIT.
4) No GPF on my real machine even using 2000hz resolution.
Orginally it was a test to if I needed to have a mutex with some data, but after some time of testing I'm beginning to think that Bochs is screwing with my head and Bochs is the problem. In the other hand I'm new to ISRs and am not sure if its my routines or Bochs. Has anyone encounter a simular problem? or should I start pasting some code?
I was doing some stability test with concerning with string output function, but now I don't know if its my function or bochs. In this test, I used a never ending loop that outputs a string and a ISR for the PIT channel 0 that will also output a string on interrupt.
Some things I found out:
1) No GPF when using clock: sync=slowdown, time0=local, at any PIT resolution.
2) No GPF when using around 100hz resolutions on PIT, with any setting.
3) GPF when using clock: sync=realtime, time0=local, with 500hz+ resoultions on PIT.
4) No GPF on my real machine even using 2000hz resolution.
Orginally it was a test to if I needed to have a mutex with some data, but after some time of testing I'm beginning to think that Bochs is screwing with my head and Bochs is the problem. In the other hand I'm new to ISRs and am not sure if its my routines or Bochs. Has anyone encounter a simular problem? or should I start pasting some code?