From: Brian J. <bjj...@us...> - 2002-01-25 19:35:55
|
Thanks for fixing the problem with Ticks getting incremented on every interrupt, instead of just the 60Hz interrupt. Games are much more playable now. 8-) There's only one more Irix-specific issue I know of in BasiliskII: BII does not set the pthread scope explicitly, instead it defaults to system scope on Linux (indeed, that's the only scope available in LinuxThreads), but to process scope on Irix. That means the Irix pthreads library does all the thread scheduling itself, instead of letting threads always block in the kernel. This is fine for many apps, but in BasiliskII, the main instruction emulation thread doesn't get preempted often enough to keep the video and audio running smoothly... The fix is to use system scope or, since that requires root privileges on Irix (high-priority realtime pthreads can starve out kernel threads, such as the network packet handlers), the Irix-specific "bound scope". Anyway, I hope to get a patch together in the next week or so. If it can get into BasiliskII 1.0, BII will simply rock on Irix. Thanks, Brian J. Johnson -------------------------------------------------------------------- "Great works are performed not by power, but by perseverance." -- Samuel Johnson |