MC6845 PROCESSOR INTERFACE The CRTC interfaces to a processor bus on the bidirectional data bus (DO-D7) using CS, RS, E, and R/W for control signals. Data Bus (DO-D7) — The bidirectional data lines (DO-D7) allow data transfers between the CRTC internal Register File and the processor. Data bus output drivers are 3-state buffers which remain in the high impedance state except when the processor performs a CRTC read operation. A high level on a data pin is a logical ’’1.”” Enable (E}) — The Enable signal is a high impedance TTL/MOS compatible input which enables the data bus input/output buffers and clocks data to and from the CRTC. This signat is usually derived from the processor clock, and the high to low transition is the active edge. Chip Select (CS) — The CS line is a high impedance TTL/MOS compatible input which selects the CRTC when low to read or write the internal Register File. This signal should only be active when there is a valid stable address being decoded from the processor. Register Select (RS) — The RS line is a high impedance TTL/MOS compatible input which selects either the Address Register (RS = '0’’) or one of the Data Registers (RS = ‘'1’’) of the internal Register File. Read/Write (RAV) — The RM line is a high impedance TTL/MOS compatible input which determines. whether the internal Register File gets written or read. A write is active low ("0"). CRT CONTROL The CRTC provides horizontal sync (HS), vertical sync (VS), and Display Enable signals. Vertical Syne (V SYNC) — This TTL compatible output is an active high signal which drives the monitor directly or is fed to Video Processing Logic for composite generation. This signal determines the vertical position of the displayed text. Horizontal Sync (H SYNC) — This TTL compatible output is an active high signal which drives the monitor directly or is fed to Video Processing Logic for composite generation. This signal determines the horizontal position of the displayed text. Display Enable — This TTL compatible output is an active high signal which indicates the CRTC is providing addressing in the active Display Area. REFRESH MEMORY/CHARACTER GENERATOR ADDRESSING The CRTC provides Memory Addresses (MAQ-MA13) to scan the Refresh RAM. Aliso provided are Raster Addresses (RAO-RA4) for the character ROM. (M) MOTOROLA Semiconductor Products inc. PIN DESCRIPTION Refresh Memory Addresses (MAQ-MA13) — These 14 outputs are used to refresh the CRT screen with pages of data located within a 16K block of refresh memory. These outputs drive a TTL load and 30pF. A high fevel on MA0-MA13 is a logical ’’1." Raster Addresses (RAO-RA4) — These 5 outputs from the internal Raster Counter address the Character ROM for the row of a character. These outputs drive a TTL load and 30pF. A high level (on RAO-RA4) is a logical “1.” OTHER PINS Cursor — This TTL compatible output indicates Cursor Display to external Video Processing Logic. Active high signal. Clock (CLK) — The CLK TTL/MOS compatible input is used to synchronize all CRT control signals. An external dot counter is used to derive this signal which is usually the character rate in an alphanumeric CRT. The active transition is high to low. Light Pen Strobe (LPSTR) — This high impedance TTL/MOS compatible input latches the current Refresh Addresses in the Register File. Latching is on the low to high edge and is synchronized internally to character clock. Vec, Gnd RES — The RES input is used to Reset the CRTC. An input low level on RES forces CRTC into following status: (A) All the counters in CRTC are cleared and the device stops the display operation. (B) All the outputs go down to low level. (C) Control registers in CRTC are not affected and remain unchanged. This signal is different from other M6800 family in the following functions: (A) RES signal has capability of reset function only, when LPSTB is at low level. (B) After RES has gone down to low level, output signals of MAOQ-MA13 and RAOQ-RA4, synchronizing with CLK tow level, goes down to low level. (At least 1 cycle CLK signal is necessary for reset.) (C) The CRTC starts the Display operation immediately after the release of RES signal. TABLE 1 —- CRTC Operating Mode RES. LPSTB OPERATING MODE 0 0 Reset 0 1 Test Mode 1 0 Normal Mode 1 3 Normal Mode