Amstrad 40007 / 40008 Gate Array (20RA043) pinout

DIP-40. Video (pixels, palette, RGB, sync), DRAM timing, ROM/RAM selection, CPU clock and wait states, interrupts

The early CPC 464 Gate Array, fitted with a metal cooling plate. It divides the 16 MHz from a 7400 oscillator to 4 MHz for the Z80 (pin 39) and 1 MHz for the CRTC (pin 40), turns CRTC timing and RAM bytes into three-level RGB, and generates /RAS, /CAS and the address mux selects, READY (Z80 wait) and the 300 Hz interrupt. Write-only: the CPU programs it at I/O &7Fxx. The later 40010 does the same job on a different pinout; some boards take either. Missing heat plate or a dried pad gives faults that come with warm-up.

Open the interactive 40007 pinout

Pins

PinNameTypeSignal
1/CPU ADDRctrlSelects CPU address (LOW) or CRTC address on the 74LS153 DRAM address multiplexers.
2READYctrlTo Z80 /WAIT and expansion pin 39. Open collector with a 600 ohm pull-up.
3/CASctrlDRAM column address strobe.
4/244ENctrlEnables the 74LS244 data buffer between CPU and RAM.
5/MWEctrlDRAM write enable.
6/CAS ADDRctrlSwitches the address multiplexers from row to column address.
7/RASctrlDRAM row address strobe.
8XTALclock16 MHz master clock from the 7400 crystal oscillator (X101).
9VCC2power+5 V through resistor R138 (12 ohm).
10/INTERRUPTctrlTo Z80 /INT. Open collector with a 5K pull-up.
11/SYNCvideoComposite sync to monitor DIN pin 4.
12/ROMENctrlROM enable: to the ROM /CS and expansion pin 42.
13/RAMRDctrlRAM read; ORed with RAMDIS and sent to expansion pin 44.
14HSYNCvideoHorizontal sync from the 6845.
15VSYNCvideoVertical sync from the 6845 (also to 8255 PB0).
16/IORQctrlZ80 I/O request.
17/M1ctrlZ80 M1, used to acknowledge the interrupt.
18/MREQctrlZ80 memory request.
19/RDctrlZ80 read.
20A15addrAddress bit 15 (ROM and register decode).
21A14addrAddress bit 14.
22VCC1power+5 V direct. Decouple close (C104).
23DISPENvideoDisplay enable from the 6845; border outside it.
24D0dataData bus bit 0 (the Gate Array is written, never read).
25D1dataData bit 1.
26D2dataData bit 2.
27D3dataData bit 3.
28D4dataData bit 4.
29D5dataData bit 5.
30D6dataData bit 6.
31D7dataData bit 7.
32BvideoBlue drive to the RGB resistor network.
33VCC2power+5 V through R138, as pin 9.
34GvideoGreen drive.
35GNDground0 V. Decouple close.
36RvideoRed drive.
37/RESETctrlSystem reset.
38VCC1power+5 V direct.
39PHIclockZ80 clock with a passive pull-up (to Z80 pin 6).
40MA0/CCLKclockCharacter clock to the 6845 CLK input (schematic misprints NAD/CCLK).

Fitted in

Sources