PAL Latch Info....
; =============================================================================
; The PAL ...... (SG F22HA9231)
;
; The latch address at $4000 is the Output latch.
; The latch address at $6000 is the Input latch.
;
;
pal_4000_latch equ $4000 ; Output Latch
; ; 1xxxxxxx -
; ; x1xxxxxx - PAL-44 zero AN0 input
; ; xx1xxxxx - PAL-43 Fuel Pump Relay J1-28
; ; xxx1xxxx - PAL-42 NC
; ; xxxx1xxx - PAL-41 Aux Relay Drvr J1-12
; ; xxxxx1xx - PAL-40 AN0 switch to thermister
; ; xxxxxx1x - PAL-39 AN0 switch to HY2-7
; ; xxxxxxx1 - PAL-38 ANO switch to HY3-2
;
; The seven section inverter (L9112D) is a strange part. All of its inputs
; seem to have a 4.7k resistor to ground, so with nothing pulling it up
; that sections output will be high. One section (pins 3,4) is used to drive
; INJ-D from the 68HC11's internal timer, and another section is the serial
; interface reciever. All the others, with the exception of the one that seems
; to be monitoring the IAC motor driver transistor collector (pins 1,2), have
; some connection to the outside world thru J1. Some are pulled up and some
; pulled down either internally and/or externally. The below displayed bits
; are the default conditions observed.
;
; The only bit that is tested in this code is 00000100. It is tested several
; places. Nothing is connected to J1-21 so it is always high.
;
; 08/29/99 - Found what J1-21 purpose is. It is an input that is connected to
; the AC to detect if it is on. If the ECU senses that an AC is on
; there is another 6.6% added to the IAC motor duty cycle to keep the
; the RPM up.
;
pal_6000_latch equ $6000 ; Input latch
; The PAL loacation reads information from
; the L9112D inverter
; 1xxxxxxx -
; x1xxxxxx -
; xx1xxxxx -
; xxx1xxxx - PAL-5 L9112-6 - J1-16 - N/C
; xxxx1xxx - PAL-4 L9112-2 - J1-34 - IAC
; xxxxx1xx - PAL-3 L9112-12 - J1-21 - AC Sense
; xxxxxx1x - PAL-2 L9112-7 - J1-13 - N/C
; xxxxxxx1 - PAL-1 L9912-15 - J1-14 - N/C
;
;==============================================================================