Hi;
Thomas Bocek wrote:
> it's "only" about 40% faster: I marked the position of the (old source)
> crash on my crt, and stopped the time, when the new source reached that
> position.
> But the clear screen seems to run much faster...
Hmm....
> hmm a write32 is still about 10 times slower than a write8, but a write16
> is about twice as fast as write8.
I'll take a look. You would think that 4x fewer Java/native boundary crossing
would make up for any double-length operations. Maybe there's a Real Bug (I
have noticed that, the way the x86 architecture works, that there is no "bus
error" exception when writing to non-existent memory (unless you are on a P5 or
above, and set some magical machine-specific register bit(s))) - but when I was
debugging the heap stuff, I noticed that writes to non-existent memory would
time-out in hardware, and thus appear to take WAY longer than writes to existing
memory. (BTW, this should be better when I/we implement virtual memory.)
> > With respect to the crash:
> >
>
> > (1) When my version hangs after displaying the checkmark, is that the
> > crash's failure mode? I mean, is this the same "crash" you're getting?
> > If so, I can try and debug it.
>
> the checkmark seems to run fine (there's no switching to text console
> yet), but the pixel fillscreen test crashes after a while. Usualy I get
> the screen filled with <000000> (div by zero I think) or a jbHeap error.
How can you tell which error occurs once the screen has gone to VGA mode?
> > (2) Do you think it would help if I wrote something that, in the case of
> > a detectable crash, reset the VGA display to text mode and spat out some
> > debugging info? (Our own little BSOD! What color should I make the
> > screen?)
>
> hmm blue? doh, sorry I mean red.
Red Screen of Death?
> printing on screen is ok, we can change the mode to 80x50 or 116x50, so we
> could see more.
OK.
-jm
--
==== John Morrison ==== MaK Technologies, Inc.
==== Chief Technology Officer ==== 185 Alewife Brook Pkwy, Cambridge, MA 02138
==== [EMAIL PROTECTED] ==== http://www.mak.com/welcome.html
==== vox:617-876-8085 x115 ==== fax:617-876-9208
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel