mm Monochrome Display and Printer Adapter

Similar documents
_ Personal Computer. Hardware Reference Library. mm Expansion Unit

ONYX-MM-XT PC/104 Format Counter/Timer & Digital I/O Module

UNIT-3 PC HARDWARE OVERVIEW PART A

Parallel-to-Serial and Serial-to-Parallel Converters

Appendix XII The Hardware.

Basic I/O Interface

ST78C34 GENERAL PURPOSE PARALLEL PRINTER PORT WITH 83 BYTE FIFO DESCRIPTION. PLCC Package FEATURES ORDERING INFORMATION

Section 3. XGA Function

This set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on PIO 8255 (Programmable Input Output Port).

US x 32 OLED/PLED Segment/Common Driver with Controller For 20x4 Characters.

Module 12: Elementary Input/Output

3. The MC6802 MICROPROCESSOR

S5-115U. Application

SECTION 2. INTRODUCTION TO DIAGNOSTICS

I/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li

History and Basic Processor Architecture

Roberto Muscedere Images and Text Portions 2003 Prentice Hall 1

Personal Computer. ---, Hardware Reference. Library. mm Game Control. Adapter

REV: PAGE: REVISION DESCRIPTION APPR: DATE: B - Released as a standard product. GRW 11/05/96

DOT MATRIX LCD DRIVER

CHAPTER TWELVE - Memory Devices

INTRO TO I/O INTERFACE

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

HT6535 SPP/EPP/ECP Controller

S5-115U. Application

Breadboard & Digital Input/Output Modules

IBM Personal Computer Professional Graphics Controller Technical Reference

END-TERM EXAMINATION

ElectronFlux USB Module

PCI-12AIO 12-Bit Analog Input/Output PCI Board

melabs Serial LCD Firmware Version 1.1 3/5/07

HD44780U (LCD-II) A single HD44780U can display up to one 8-character line or two 8-character lines.


LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

Chapter 16. PC-Compatible Bus Connectors Discussion. PC-Compatible Bus Connectors 97

PCI to SH-3 AN Hitachi SH3 to PCI bus

Features: Analog to Digital: 12 bit resolution TTL outputs, RS-232 tolerant inputs 4.096V reference (1mV/count) 115K max speed

Architecture of 8085 microprocessor

ISDN OEM1. DesignGuide V1.2

Chapter Operation Pinout Operation 35

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1

Digital Input and Output

Z Z-280 MT8930, MT8992/3/4/5 MT8880 MT8888 MT8889 MT8980/1 MT8985, MT8986 (DIP-40) MT8986 (PLCC-44) MT8920B MT8952B

melabs Serial LCD Firmware Version 1.0 2/7/07

FIGURE Three EPROMs interfaced to the 8088 microprocessor.

Address connections Data connections Selection connections

Unit 5 DOS INTERRPUTS

UNIT - II PERIPHERAL INTERFACING WITH 8085

INTRODUCTION. Mechanical Considerations APPLICATION NOTE Z86E21 THERMAL PRINTER CONTROLLER ZILOG

34COM/60SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

unit: mm 3044B - QFP80A unit: mm QFP80D

Table of Contents. Introductory Material

The DVT Ethernet IO Module (CON-IOE)

Liquid Crystal Monitors OEM - Custom TECHNICAL SPECIFICATIONS 2000 KRISTEL

SPECIFICATION NO. : DS D A T E O F I S S U E : March 27, 2007

AIO LN-USB. Features. N Series for USB Multifunction DAQ Unit (8ch AI, 2ch AO, 16ch DIO) AIO LN-USB 1. Ver.1.01

8M x 64 Bit PC-100 SDRAM DIMM

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5096 P-DIP-8-1

Introduction to Microcontrollers

EISA Series Desktop. Computer Specifications. Processor Board. Main System Board. Mass Storage Bays. EISA configuration.

Chapter TEN. Memory and Memory Interfacing

PMC-16AIO 16-Bit Analog Input/Output PMC Board With 32 Input Channels, 4 Output Channels and 16-Bit Digital I/O Port

SIPS - Group. Technical Description May ISA96 Bus Specification V 1.0

PIN DIAGRAM. Richa Upadhyay Prabhu. NMIMS s MPSTME January 19, 2016

PMC-12AIO. 12-Bit PMC Analog Input/Output Board

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5092 P-DIP-8-1

Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT IV I/O INTERFACING PART A (2 Marks)

1. CP430, CP470, CP474, CP770 and CP774

SSD1803. Product Preview. 100 x 34 STN LCD Segment / Common Mono Driver with Controller

Selection Information FAST/LS TTL FAST AND LS TTL

Chapter 1: Basics of Microprocessor [08 M]

KBD42W11 FEATURES GENERAL DESCRIPTION

Microcomputer Architecture and Programming

JE-AN ELECTRONICS CO.,LTD. Spec. No: WG240128A

MICRO CRAFT CORPORATION

ACR8000 Hardware Manual

Experiment No. 5 MEMORY DESIGN USING STATIC RANDOM ACCESS MEMORY (RAM) ECE 441

CIO-DO48H, CIO-DO96H and CIO-DO192H. User s Guide

ezvision 200 Television Controllers with OSD

Parallel Display Specifications Revision 1.0

Keyboard and PS/2 Mouse Controller

NORITAKE ITRON VFD MODULES GU128x18F-K612A2

Introduction Page 1. Power Supply Requirements & Hardware Options Page 2. External Connectors (Functions & Pinouts) Page 2

CPCI-HPDI32ALT High-speed 64 Bit Parallel Digital I/O PCI Board 100 to 400 Mbytes/s Cable I/O with PCI-DMA engine

A.N.A.L.O.G. #15, January 1984 TRANSPORTING ATARI COMPUTER PROGRAMS TO THE ATARI by Claus Buchholz 6502 CPU 16K RAM ANTIC

16COM / 40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

Lab #2: Building the System

Vorne Industries. 2000S Series Serial Input Alphanumeric Display User's Manual

Data sheet CC 03, Commander Compact (603-1CC21)

SIPS - Group. Technical Description May AT96 Bus Specification V 1.1

NORITAKE ITRON VFD MODULES GU128x18F-K610A2

PK2200 Series. Features. C-Programmable Controller. Specifications Board Size Enclosure Size Operating Temp.

User s Manual. PCIe-FRM11 User s Manual (Rev 1.4)

Microprocessors and Microcontrollers (EE-231)

S-2900A. Rev.1.1. CMOS 512-bit SERIAL E 2 PROM

UNISONIC TECHNOLOGIES CO.,LTD. UL318 Preliminary LINEAR INTEGRATED CIRCUIT

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

INTEGRATED CIRCUITS DATA SHEET. PCF2119x-2 LCD controllers/drivers. Product specification File under Integrated Circuits, IC12

SSD1311. Advance Information. OLED/PLED Segment/Common Driver with Controller

Transcription:

--- ---- - --_. - - - --- ---- ----- Personal Computer Hardware Reference Library mm Monochrome Display and Printer Adapter 6361511

ii

Contents Introduction... 1 Monochrome Display Adapter Function... 1 Description... 1 Programming Considerations... 5 Specifications... 9 Printer Adapter Function... 11 Description... 11 Programming Considerations... 13 Specifications... 17 Logic Diagrams... 19 ill

iv

Introduction The IBM Monochrome Display and Printer Adapter has two functions. The first is to provide an interface to the IBM Monochrome Display. The second is to provide a parallel interface for the IBM Printers. We will discuss this adapter by function. Monochrome Display Adapter Function Description The IBM Monochrome Display and Printer Adapter is designed around the Motorola 6845 CRT Controller module. There are 4K bytes of RAM on the adapter that are used for the display. buffer. This buffer has two ports to which the system unit's microprocessor has direct access. No parity is provided on the display buffer. Two bytes are fetched from the display buffer in 553 ns, providing a data rate of 1.8M bytes/second. The adapter supports 256 different character codes. An 8K-byte character generator contains the fonts for the character codes. The characters, values, and screen characteristics are given in "Of Characters, Keystrokes, and Colors" in your Technical Reference system manual. This adapter, when used with a display containing P39 phosphor, does not support a light pen. Where possible, only one low-power Schottky (LS) load is present on any I/O slot. Some of the address bus lines have two LS loads. No signal has more than two LS loads. Monochrome Adapter 1

Characteristics of the adapter are: Supports 80-character by 25-1ine screen Has direct-drive output Supports 9-PEL by 14-PEL character box Supports 7-PEL by 9-PEL character Has 18-kHz monitor Has character attributes 2 Monochrome Adapter

The following is a block diagram of the monochrome display adapter portion of the IBM Monochrome Display and Printer Adapter. Processor Address (12) Memory Address (1 Multiplexer (10) (10) 2K Memory Character Code 2K Memory Attribute (8) Processor Data... Data Bus (8) Gating Character Clock 1 (8) 1 BDO-7 MA Octal L.. 1.. Octal Latch Latch Chip Select Timing Signals AO..,... f- RA.....,. r.. MC6845 CRTC (4),. Character Generator 1 Shift Register L... 1 Serial Dots DOTCLK.. HSYNC, VSYNC, CURSOR, DISPEN IBM Monochrome Display Adapter Block Diagram.. Attribute Decode Video Process Logic Character Clock I + Monitor Direct Drive Outputs Monochrome Adapter 3

4 Monochrome Adapter

Programming Considerations The following table summarizes the 6845 controller module's internal data registers, their functions, and their parameters. For the IBM Monochrome Display, the values must be programmed into the 6845 to ensure proper initialization of the display. Register Number Register File Program Unit IBM Monochrome Display (Address in hex) RO R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 Horizontal Total Horizontal Displayed Horizontal Sync Position Horizontal Sync Width Vertical Total Vertical Total Adjust Vertical Displayed Vertical Sync Position Interlace Mode Maximum Scan Line Address Cursor Start Cursor End Start Address (H) Start Address (L) Cursor (H) Cursor (L) Reserved Reserved Characters Characters Characters Characters Character Rows Scan Line Character Row Character Row --------- Scan Line Scan Line Scan Line --------- --------- --------- --------- 61 50 52 F 19 6 19 19 02 D B C 00 00 00 00 --------- -- --------- -- - To ensure proper initialization, the first command issued to the IBM Monochrome Display and Printer Adapter must be sent to the CRT control port 1 (hex 3B8), and must be a hex 01, to set the high-resolution mode. If this bit is not set, the system unit's microprocessor's access to the adapter must never occur. If the high-resolution bit is not set, the system unit's microprocessor will stop running. r""\ System configurations that have both an IBM Monochrome Display and Printer Adapter, and an IBM Color/Graphics Monitor Adapter, must ensure that both adapters are properly initialized after a power-on reset. Damage to either display may occur if not properly initialized. Monochrome Adapter 5

The IBM Monochrome Display and Printer Adapter supports 256 different character codes. In the character set are alphanumerics and block graphics. Each character in the display buffer has a corresponding character attribute. The character code must be an even address, and the attribute code must be an odd address in the display buffer. 7 6 5 4 3 2 0 Character Code Even Address 1M) r-... 7 6 5 4 3 2 0 BL Attribute Code I R I I G B I I I R G B I Odd Address 1M + 1) I I I I Blink Foreground Intensity Background The adapter decodes the character attribute byte as defined above. The blink and intensity bits may be combined with the foreground and background bits to further enhance the character attribute functions listed below: Background Foreground R G B R G B Function 0 0 0 0 0 0 Non-Display 0 0 0 0 0 1 Underline 0 0 0 1 1 1 White Character/Black Background 1 1 1 0 0 0 Reverse Video The 4K display buffer supports one screen of the 25 rows of 80 characters, plus a character attribute for each display character. The starting address of the buffer is hex BOOOO. The display buffer can be read using direct memory access (DMA); however, at least one wait state will be inserted by the system unit's microprocessor. The duration of the wait state will vary, because the microprocessor/monitor access is synchronized with the character clock on this adapter. 6 Monochrome Adapter

flc ;/ Interrupt level 7 is used on the parallel interface. Interrupts can be enabled or disabled through the printer control port. The interrupt is a high-level active signal. The following table breaks down the functions of the I/O address decode for the adapter. The I/O address decode is from hex 3BO through hex 3BF. The bit assignment for each I/O address follows: 1/0 Register Address Function 3BO Not Used 3B1 Not Used 3B2 Not Used 3B3 Not Used 3B4 6845 Index Register 3B5 6845 Data Register 3B6 Not Used 3B7 Not Used 3B8 CRT Control Port 1 3B9 Reserved 3BA CRT Status Port 3BB Reserved 3BC Parallel Data Port 3BD Printer Status Port 3BE Printer Control Port 3BF Not Used I/O Address and Bit Map Monochrome Adapter 7

Bit Number Function 0 + High Resolution Mode 1 Not Used 2 Not Used 3 + Video Enable 4 Not Used 5 + Enable Blink 6,7 Not Used 6845 CRT Control Port 1 (Hex 3B8) Bit Number Function 0 + Horizontal Drive 1 Reserved 2 Reserved 3 + Black/White Video 6845 CRT Status Port (Hex 3BA) 8 Monochrome Adapter

Specifications 9-Pin Monochrome Display connector o 16 5l:!g o IBM Monochrome Display At Standard TTL Levels Ground 1 Ground 2 Not Used 3 Not Used Not Used 4 5 + Intensity 6 +Video 7 + Horizontal 8 - Vertical 9 IBM Monochrome Display and Printer Adapter Note: Signal voltages are 0.0 to 0.6 Vdc at down level and + 2.4 to 3.5 Vdc at high level. Connector Specifications Monochrome Adapter 9

10 Monochrome Adapter

Printer Adapter Function,...-.., Description The printer adapter portion of the IBM Monochrome Display and Printer Adapter is specifically designed to attach printers with a parallel-port interface, but it can be used as a general,input/output port for any device or application that matches its I" i input/output capabilities. It has 12 TTL-buffer output points, which are latched and can be written and read under program control using the microprocessor In or Out instruction. The adapter also has five steady-state input points that may be read using the microprocessor's In instructions.,), In addition, one input can also be used to create a microprocessor, _' interrupt. This interrupt can be enabled and disabled under ',j.' program control. A reset from the power-on circuit is also ORed with a program output point, allowing a device to receive a r""'\ 'power-on reset' when the system unit's microprocessor is reset. The input/output signals are made available at the back of the adapter through a right-angle, printed-circuit-board-mounted, 2S-pin, D-shell connector. This connector protrudes through the rear panel of the system unit or expansion unit, where a cable may be attached. When this adapter is used to attach a printer, data or printer commands are loaded into an 8-bit, latched, output port, and the strobe line is activated, writing data to the printer. The program then may read the input ports for printer status indicating when the next character can be written, or it may use the interrupt line to indicate "not busy" to the software. The output ports may also be read at the card's interface for diagnostic loop functions. This allows faults to be isolated to the,...-.., adapter or the attaching device. Monochrome Adapter 11

The following is a block diagram of the printer adapter portion of the Monochrome Display and Printer Adapter. I I 8 25-Pin D-Shell us ButteJ..:r8>-lData Latcl-h_8 Connector Enable... Clock r DIR Trans- J4..:8>--+- --4a-J ceiver..... I,...--- I DIR O.C. Drivers SLCTIN Read A Data STROBE I----,- Write Data Command------------ Decoder Write Control Read Status Read I Control AUTO FDXT INIT Bus Buffers Control Latch Enable 4 Clock I.. 5 Enable r-t Clear ERROR SLCT PE ACK Reset BUSY Printer Adapter Block Diagram 12 Monochrome Adapter

Programming Considerations The printer adapter portion of the IBM Monochrome Display and Printer Adapter responds to five I/O instructions: two output and three input. The output instructions transfer data into 2 latches whose outputs are presented on pins of a 25-pin D-shell connector. Two of the three input instructions allow the system unit's microprocessor to read back the contents of the two latches. The third allows the system unit's microprocessor to read the real-time status from a group of pins on the connector. A description of each instruction follows. IBM Monochrome Display & Printer Adapter Output to address hex 3BC Bit 7 Bit 6 Bit 5 Bit 4 Pin 9 Pin 8 Pin 7 Pin 6 I I The instruction captures data from the data bus and is present on the respective pins. Each of these pins is capable of sourcing 2.6 rna and sinking 24 rna. It is essential that the external device does not try to pull these lines to ground. IBM Monochrome Display & Printer Adpater Output to address hex 3BE Bit 4 IRQ Enable This instruction causes the latch to capture the five least significant bits of the data bus. The four least significant bits present their outputs, or inverted versions of their outputs, to the Monochrome Adapter 13

respective pins as shown in the previous figure. If bit 4 is written as ai, the card will interrupt the system unit's microprocessor on the condition that pin 10 changes from high to low. These pins are driven by open-collector drivers pulled to +5 Vdc through 4.7 kq resistors. They can each sink approximately 7 rna and maintain 0.8 volts down-level. IBM Monochrome Display & Printer Adapter Input from address hex 3BC This instruction presents the system unit's microprocessor with data present on the pins associated with the output to hex 3BC. This should normally reflect the exact value that was last written to hex 3BC. If an external device should be driving data on these pins at the time of an input (in violation of usage ground rules), this data will be ORed with the latch contents. IBM Monochrome Display & Printer Adapter Input from address hex 3BD This instruction presents the real-time status to the system unit's microprocessor from the pins as follows. Bit 4 Bit 3 BitO Pin 13 Pin 15 IBM Monochrome Display & Printer Adapter Input from address hex 3BE 14 Monochrome Adapter

This instruction causes the data present on pins 1, 14, 16, 17, and the IRQ bit to be read by the system unit's microprocessor. In the absence of external drive applied to these pins, data read by the system unit's microprocessor will match data last written to hex 3BE in the same bit positions. Notice that data bits 0-2 are not included. If external drivers are dotted to these pins, that data will be ORed with data applied to the pins by the hex 3BE latch. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 BitO IRQ Pin 17 -- Pin 16 Pin 14 Pin 1 Enable Por=O Por = 1 Por=O Por= 1 Por = 1 These pins assume the states shown after a reset from the system unit's microprocessor. Monochrome Adapter 1 S

16 Monochrome Adapter

Specifications 13 0 14 25 0 At Standard TTL Levels Signal Name Adapter Pin Number Printer - Strobe + Data Bit 0 + Data Bit 1 + Data Bit 2 + Data Bit 3 + Data Bit 4 + Data Bit 5 + Data Bit 6 + Data Bit 7 - Acknowledge + Busy + P. End (out of paper) + Select -Auto Feed - Error - Initialize Printer - Select Input Ground 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18-25 IBM Monochrome Display and Printer Adapter Connector Specifications Monochrome Adapter 17

18 Monochrome Adapter

Logic Diagrams.. ii5.; N " '".. -. - f' " if -; " I=' I' 11 - " " o... >'l '" '" >'l... N " " o... Q)... Q. co "0 «>. co c.. III o Q) E ọ.. CJ o s:::: o 2: '--1" Monochrome Adapter 19

.... 'l- '" l;; 66 ;d! f! thhhj thhb 5S :c'c:c'c ; IL. l [::fa: ọ...... o ('II ; G).r.!!l... G)... c. (0 "C c:( > (0 Q. (II is G) E ọ...r. (,,) o c: o ::E = =:;;:'::::'!;;!;; " '" " -. - -..... -. - - - - " r------- '" e 'f 20 Monochrome Adapter

.. " '" - i i i "- i. ii :!.. = 3 t::"0e';; '" ;; '" -!l 5l ;,.!!!! ;!., g ';;l lii 'f \l t;t ';'.- g -;ar;'=f 1L'-------:=I--I - = o-- " f ọ...... " o 8 Ie lc (\') =!\l ;o!. =... -- - CD.. CD! Q. fti 'tj «> fti C. 1/1 C r' - CD = E.. Qo ọ.. - i m g:=; U I=" o C o :E Monochrome Adapter 21

S'ciD '" '" " ; I I,I,, v} : IECI e!2= = ;!!l iii ii! ::: - ọ... 15 q... Q) Q).l: (/).. Q)... Co III "C <C > III Q. III i5 Q) E.. o.l: U o c o :E iii!:l ;!:::> ;! a)!:... :Ii': : : == I: iii:'" 0>::: ID 1ft.:c CC c:c === =- == = c::; i i iii i i i i a 22 Monochrome Adapter

- ;0 ;0 - '" "'., := g c g _ uu L r"'\ =<:S" < :; < < «< < g '" '" '" '" " '" i..,!l = N N ;0 C')..., N --- - Monochrome Adapter 23

- - --- 11111111 N'" -- l )l )l )... "" 0> -... s... o co CD CD.c Q) c. (II "C «> (II is. VI C5 """'" CD Q) E e.c (,) o c: o :E ::l ;;' N 24 Monochrome Adapter

iii iiiiii' f!.--------"1 o I... OS... Q) Q)...! c. «I - :ll.1 = <C c '''''' «I > --- [. Q. II) is Q) E.s: e.s: u o c: o :!: -n ".:.:.,.,!;l "-, " g l:;,. i!' ".. ':!'!' ;;- ;; '" '" '" "". " "- "- i ii H "- Monochrome Adapter 2S

-IHi' 0....:; -0 - -ihi' i co!;i +-++---j---++1hi'... ffi Q) Q) l- ii; o u: ---.,.,,-----=:t-1f fr.s:: :0 I :0 Q) I- i!!l... Co ii ca I- "C i; «I' Uu > ca u Q. c:; i5 1/1 i Q) E 0.s:: (J 0 t: 0 IIIIII := ; i " 26 Monochrome Adapter

g ::; co _ N to)..., "",.. :; '" g/ '" - -...... i '" io io io io io z - - i iii - z 1! - - - - '" I I TIT Monochrome Adapter 27

I c_ u '---- N. m= 180 s :IE = C:.! - -- -- 0'...... o ọ.. ".r:.... Q) Q) i5 z =... <.::I::r;: ij! Q)... O- - - -"I' Q. co "0. en!il I... a:g8s <t co > C. i:s E Q) :::::l::l:c:::il:> J e N. _ N = 11- --- 1Tm:ITI'(', ""Ii!.r:. u o c: o 28 Monochrome Adapter