Why emulating it anyway ? I don't think plex86 makes any sense on
"none pentium class" PC's (performance!). Therefore the instruction
could be executed directly. However I'm not sure if a counter reset may
cause any harm to the (Linux)host.
Norbert
-----Original Message-----
From: Nick Behnken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 1:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [plex86] CVS updates, QNX partially boots.
I was going to ask about RDTSC, because BeOS needs it to boot. My question
is "Can another thread be used to simulate the RDTSC instruction?"
Apparently this is a 64 bit counter that increments until it reaches it's
max value and then starts at zero again. So what is we put a thread in the
emulator that just incremented a fake RDTSC counter, and then read the
counter whenever RDTSC is called? Will that work, or will the timing be too
far off?
Nick
