JimDrew wrote:
The MOS and Rockwell datasheets do not state the default power-on state (which is why I asked here). I would assume it would be the same as a reset, in that the I/O's would be inputs with everything turned off. I guess it doesn't matter what is the timer latches/counters as long as the timers are turned off.
Section
3.9 of the WDC 65C22 data sheet describes the state of the device following a hard reset, which would also apply to a cold start, viz:
3.9 Reset (RESB)
Reset clears all internal registers (except T1 and T2 counters and latches, and the SR. In the RESB
condition, all pins are placed in the input state and bus holding devices maintain initial level if not driven.
The initial level can be Logic 1 or Logic 0 and are not initialized by on chip circuitry. Also, T1 and T2, SR
and the interrupt logic are disabled from operation. All inputs have NOR gates with reset overriding the
input pin value. Schmitt trigger NOR gates are on CA1, CA2, DB1, CB2, and PH2. Reset has a Schmitt
trigger inverter input. The W65C22S RESB input has a bus holding device.
You should keep in mind that the 65C22's reset input should be held low until Vcc has stabilized and the Ø2 clock has started. Devices such as the Maxim DS1813 are useful for this purpose, as they generate a programmed reset via a fully resettable timer.
My general philosophy over the years (nearly 40, now, of writing 6502 assembly language programs) has been to assume nothing about a device's state at power-on or reset and configure all registers in a meaningful way, usually with a data table.