Mail Archives: djgpp/2001/11/28/21:31:48
Eli Zaretskii wrote:
>
> > From: CBFalconer <cbfalconer AT yahoo DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Wed, 28 Nov 2001 16:41:45 GMT
> > >
> > > > I expect this is not even portable under W98. I hope to try it
> > > > later using the identical compiler, etc., but running on this '486
> > > > system. I expect it will crash with an 'illegal instruction'
> > > > failing.
> > >
> > > What possible cause(s) do you see for the illegal instruction
> > > failure?
> >
> > I left the quote to capture the source in my own sent file. I
> > suspect that system is calling some sort of cpu cycle timer that
> > exists only in the Pentium. Something like rdtsc??
>
> No, uclock doesn't use rdtsc, it uses the system timer chip. So no
> illegal instructions should result.
>
> (The sources of the DJGPP library are freely available, so you really
> don't need to speculate.)
I bow to your superior knowledge of the system. I did not go
after any library sources, and as I said I was speculating. I
didn't think the raw timer was accessible under W9x, obviously I
was wrong.
That sounds sarcastic - it isn't meant to be so.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
(Remove "XXXX" from reply address. yahoo works unmodified)
mailto:uce AT ftc DOT gov (for spambots to harvest)
- Raw text -