On Thu, 27 Jul 2000, Robin Harbron wrote: > In a similar vein, is there a way for a program to > auto-detect what kind of SID is in your machine? It > seems to me I've seen this before, but I honestly can't > remember where or when. Any idea how it's done? This has now been discussed, but I have been wondering about a related subject - how to detect between a 6510 and an 8500. LUnix has a command which prints out the architecture of the machine on which it is running, and I'd like to extend the functionality of this as far as possible. At the moment it prints out '6510' for the processor even if it's running on a C128, and no sound chip information at all. Adding in SID would be simple enough as already explained, and functionality to check for a C128 already exists so 6510 could easily be replaced with 8502. But - what I'm curious to know is does anyone know a way to detect between 6510 and 8500, or 6569 and 8565? You can't rely on the sound chip being 6581 with 6510 / 6569 chips or 8580 with 8500 / 8565 because some people replace the 8580s in their C64Cs with 6581s, and some early 64Cs were made with 8500s (at least according to the schematic). So does anyone know of any differences between the CPU or video chip in NMOS and HMOS processes? According to Secret Weapons, something called SMON crashes on an 8500 when you use the TRACE command (or something like that), so perhaps there is a difference in there somewhere. Richard -- Richard Atkinson Software Engineer Tenison Technology EDA Ltd http://www.tenisontech.com/ - This message was sent through the cbm-hackers mailing list. To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.
Archive generated by hypermail 2.1.1.