Oric ULA HCS10017 pinout

DIP-40. Clock divider (12 MHz to 1 MHz), address decode (ROM, page-3 I/O, RAM), DRAM multiplexing and refresh, video generation (RGB, sync)

The Oric's custom chip. It takes 12 MHz on pin 7, gives the 6502 its 1 MHz clock on pin 14, decodes A8-A15 into /ROMSEL ($C000-$FFFF unless /MAP is low) and /I/O ($0300-$03FF), and shares the DRAM between the CPU and the video on alternate half-cycles through the external 74LS257 mux. It only reads the data bus, never drives it. RAS, CAS and the DRAM write are active high here and inverted by IC21 before the 4164s. No official datasheet exists; the pinout here is read from the Oric schematic and the diagnostic guides.

Open the interactive ULA pinout

Pins

PinNameTypeSignal
1MUXctrlSelect for the external 74LS257 address mux (IC8/IC20): CPU row address or ULA address.
2MA5addrMultiplexed DRAM address bit 5 (column from A13 or video address), to the 74LS257.
3MA4addrMultiplexed DRAM address bit 4, to the 74LS257.
4MA3addrMultiplexed DRAM address bit 3, to the 74LS257.
5D5dataData bus bit 5 (input only).
6GNDgroundGround, 0 V.
7CLKclock12 MHz master clock from the XT1 oscillator (IC21 pin 2).
8D0dataData bus bit 0.
9CASctrlColumn strobe, active high; IC21 pin 9 to 8 inverts it to 4164 /CAS (pin 15). Not asserted for ROM or page-3 accesses. UNVERIFIED
10RASctrlRow strobe, active high; IC21 pin 11 to 10 inverts it to 4164 /RAS (pin 4). UNVERIFIED
11D2dataData bus bit 2.
12D3dataData bus bit 3.
13D4dataData bus bit 4.
14PHI OUTclock1 MHz system clock (12 MHz / 12), asymmetric, to 6502 PHI0 in (pin 37).
15A11addrAddress bit 11 from the 6502.
16SYNCvideoComposite sync (no serrations), to IC22 and the RGB socket.
17D1dataData bus bit 1.
18D7dataData bus bit 7.
19BLUEvideoBlue, TTL, to IC22.
20GREENvideoGreen, TTL, to IC22.
21REDvideoRed, TTL, to IC22.
22A13addrAddress bit 13.
23/ROMSELctrlROM select, low for $C000-$FFFF unless /MAP is low; to the ROM chip select.
24VCCpower+5 V supply (the wiki labels it VSS).
25/I/OctrlLow for $0300-$03FF: VIA CS2 (pin 23) and expansion pin 5.
26/MAPctrlFrom expansion pin 1 (2K2 pull-up). Low maps RAM in place of the ROM at $C000-$FFFF.
27R/W INctrl6502 R/W (pin 34).
28R/W OUTctrlDRAM write, inverted by IC21 pin 3 to 4 to 4164 /W (pin 3). Forced to read during video fetches.
29A14addrAddress bit 14.
30A15addrAddress bit 15.
31A10addrAddress bit 10.
32A8addrAddress bit 8.
33A9addrAddress bit 9.
34D6dataData bus bit 6.
35A12addrAddress bit 12. UNVERIFIED
36MA1addrMultiplexed DRAM address bit 1, to the 74LS257.
37MA2addrMultiplexed DRAM address bit 2, to the 74LS257.
38MA0addrMultiplexed DRAM address bit 0, to the 74LS257.
39MA7addrMultiplexed DRAM address bit 7, to the 74LS257.
40MA6addrMultiplexed DRAM address bit 6, to the 74LS257.

Fitted in

Sources