I guess that
is why the 6502 and Apple did so well
for home made stuff, the 68xx CPU's all have the
Halt and Catch Fire instruction.
That also applies to some FORTH CPU's too.
In fairness, a lot of NMOS 6502s have apparent freeze opcodes (try POKE768,2
POKE 769,96 and CALL 768 on an Apple sometime, or the equivalent on a
Commodore or Atari).
Actually, thinking this over, a lot of Apples may have CMOS 6502s in them
and I forget if $02 is still the 6502 "HCF" instruction. POKE49152,2:SYS49152
will definitely sour a C64 (all Commodore 8-bits except the C65 are NMOS
systems).
--
---------------------------------- personal:
http://www.armory.com/~spectre/ --
Cameron Kaiser, Floodgap Systems Ltd * So. Calif., USA * ckaiser(a)floodgap.com
-- Do not innovate unnecessarily. -- "The Tick" -------------------------------