Digital I/O
The PCSYSCON can be used for simple digital I/O. You can read the
state of the inputs on Group 1 of the D50 connector by writing 4 to
the pointer register at 180H and reading the value at 181H (for group
1). You can write to the outputs on Group 0 of the connector by
writing 4 to 180H and writing the byte to 181H.
The state of most bits of the STATUS register is readable on the 50-
way connector. The bit pattern is the same as in the STATUS register
except that the top bit (WDIS) from the STATUS register is replaced
with a BUZZ signal, so that a remote buzzer can be connected. All
the signals in this group of eight (Group 2 on the 50-way connector)
are active-low TTL. They can all be buffered by signal-conditioning
boards to drive remote alarms or inspected with a LED32 indicator.
Interrupts
Most interrupt lines on the PCbus are already taken up by standard
peripherals - IRQ2 and 3 are less likely than most to be used and
they can be driven by the PCSYSCON.
There are five interrupt sources on the PCSYSCON, as defined by
the bits in the INTM register.
If LK1 is not jumpered at all no interrupts will be passed on to the PC,
but you can still inspect the STATUS register.
Interrupts are not latched; your interrupt routine should do an
immediate read of the STATUS register to discover the interrupt
source. Once it has it can mask out the interrupt source with the
INTM register while it is dealing with the interrupt.
Fault finding
As described earlier, there are several diagnostic aids on the
PCSYSCON. Firstly check that the red LED near the 50-way
connector lights when (and only when) your program is accessing
the board. If it doesn't, it is likely that the address your program is
writing is not the one that the switches are set to. If this works, check
that you can turn the green LED on and off by writing to its register.
Try reading the board identification. If this is not correct but the LEDs
have been working correctly it is possible that there is another board
at the same address.
2192-09065-000-000
Section 3. Using the PCSYSCON
Page 20
J278 PCSYSCON