2.8.3 / (Z80 Serial I/O)



Similar documents
Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring ) Serial Interfacing. By Dr.

Z80 Microprocessors Z80 CPU. User Manual UM Copyright 2014 Zilog, Inc. All rights reserved.

Serial Communications

Microprocessor & Assembly Language

SC16C652B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V dual UART, 5 Mbit/s (max.) with 32-byte FIFOs and infrared (IrDA) encoder/decoder

DK40 Datasheet & Hardware manual Version 2

Data Cables. Schmitt TTL LABORATORY ELECTRONICS II

Cable Pinouts. SRP I/O Module

SCN68681 Dual asynchronous receiver/transmitter (DUART)

Using HyperTerminal with Agilent General Purpose Instruments

LOW COST GSM MODEM. Description. Part Number

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

USB-to-Serial RS-232 Hub USB-to-Serial RS-422/485 Hub USER MANUAL UC2322 / UC2324 / UC4852 / UC4854

Modbus Communications for PanelView Terminals

IP SERIAL DEVICE SERVER

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

One Port Serial Server Users Manual Model ESP901, ESP901E

PART B QUESTIONS AND ANSWERS UNIT I

1.1 Connection Direct COM port connection. 1. Half duplex RS232 spy cable without handshaking

Z80 Family. CPU User Manual

RS-232 COMMUNICATIONS

SDLC Controller. Documentation. Design File Formats. Verification

Modicon Modbus Protocol Reference Guide. PI MBUS 300 Rev. J

Panasonic FP. HMI Setting: Device Address:

a8251 Features General Description Programmable Communications Interface

USB TO SERIAL ADAPTER

What is Easy-Radio? Devices Covered. Frequency Hopping Transceiver. Where x00 denotes frequency of operation. E.g. 400 = 433MHz

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Modbus Protocol. PDF format version of the MODBUS Protocol. The original was found at:

Single channel data transceiver module WIZ2-434

How To Set The Sensor On A Powerpoint 3.5 (Powerpoint) On A Blackberry 2.5A (Powerplant) On An Iphone Or Ipad (Powerplant) On The Blackberry 3.2 (

UART IP Core Specification. Author: Jacob Gorban

Technical Support Bulletin Nr.18 Modbus Tips

PMC-XM-DIFF & EADIN/MODBUS Virtex Design

How To Run An Nport I5000A Device Server

Z8018x Family MPU User Manual

Flash Microcontroller. Memory Organization. Memory Organization

Appendix A. This Appendix includes the following supplemental material:

Encore Controller to Router Connections

SC16C754B. 1. General description. 2. Features. 5 V, 3.3 V and 2.5 V quad UART, 5 Mbit/s (max.) with 64-byte FIFOs

USART and Asynchronous Communication

KSH-3000-MI. Swipe Card Reader. ( Magnetic / IC Card two in One Reader ) Revision Reason Date V

TCP/IP Converter DDS EX-9132 Operation Manual for 8051 Series

TASCAM SS-CDR200/SS-R200 CONTROL I/O Terminals RS-232C Protocol Specifications

UNIVERSITY OF CALIFORNIA. Los Angeles. Software for A Fault Tolerant. Microcontroller Network. A thesis submitted in partial satisfaction

Serial Communications Protocol. Data 2179 Revision 4. For Use With Cooper Power Systems Apparatus Controls: Form 6 Recloser Control

Programming Interface. for. Bus Master IDE Controller. Revision 1.0

Hardware and Software Requirements

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER

Application Note. Introduction. J1850 Overview. AN1212/D Rev. 1, 11/2001

Cable Specifications and Information

How To Use A Sunix Ser5037A Card On A Pc Or Mac Or Mac With A Microsoft Powerbook (Powerbook) With A Powercard (Powercard) And Powercard With A Mini Usb (Powerboard) With An

KOYO DIRECT. HMI Setting: PLC Setting: Supported Series: KOYO DirectLogic series PLC DL05, DL06, DL105, DL205, DL305, and DL405 series.

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

MICROPROCESSOR AND MICROCOMPUTER BASICS

The Analyst RS422/RS232 Tester. With. VTR, Monitor, and Data Logging Option (LOG2) User Manual

Introduction: Implementation of the MVI56-MCM module for modbus communications:

Section 17. UART HIGHLIGHTS UART. This section of the manual contains the following major topics:

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

Nemo 96HD/HD+ MODBUS

MODBUS TCP to RTU/ASCII Gateway. User s Manual

2-port RS-232 High Speed Low Profile Universal PCI Serial Board

SyncLink GT2/GT4 Serial Adapter

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Mbps PCI LAN Controller A Guide to Compatibility

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

Chapter 11: Input/Output Organisation. Lesson 06: Programmed IO

PNSPO! Modbus Solution CP1H / CP1L / CJ1 / CJ2 / CS1. Version /18/2009

PA-MC-T3 Multi-Channel T3 Synchronous Serial Port Adapter Enhancement

1. Computer System Structure and Components

Toshiba Serial Driver Help Kepware Technologies

Teleservice via RS232 interface XC100/XC200

G.703 Fractional T1 Access Unit. User Guide

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

GM1200E Interface Cable

Quectel Cellular Engine

Cable Guide. Click on the subject to view the information. Digi Cables Building Cables General Cable Information

User s Manual TCP/IP TO RS-232/422/485 CONVERTER. 1.1 Introduction. 1.2 Main features. Dynamic DNS

8051 MICROCONTROLLER COURSE

TMU3114MS. USB Full Speed Controller. Data Sheet. Tenx reserves the right to change or discontinue this product without notice. tenx technology inc.

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems Peripherals

Manual Serial PCI Cards

Appendix C: Keyboard Scan Codes

Why you need to monitor serial communication?

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification

User Manuals. Connection to Siemens S5 PU (AS511) Part Number: Version: 2. Date:

Stevens Cell-Net CDMA & GSM M2M 3G Data Modem. Product Manual

ModBus Server - KNX. Gateway for integration of KNX equipment into Modbus (RTU and TCP) control systems.

PROPERTY MANAGEMENT SYSTEM

Fanuc 0 M/T Model C Serial (RS232) Connection Guide

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

Real-time system programs

Process Control and Automation using Modbus Protocol

Alcalde # 1822 Col. Miraflores C.P Guadalajara, Jal. Mexico MX 01 (33) y USA 001 (619) (San Diego, CA.

Industrial Networks & Databases. Protocols and Networks - Device Bus - - Field Bus -

1 Mi kołaj Z Mik ar ołaj Z zyc arzy ki cki

Computer Organization & Architecture Lecture #19

RN-XV-RD2 Evaluation Board

Transcription:

283 / (Z80 Serial I/O) 80 SIO 80 / 80 bit bit bit bit SIO! 80 " Z80 SIO 2 # $ % Z80 SIO & IBM bisync ( byte) HDLC, IBM SDLC ( bit) '! # & ( modem modem )/" ' Cyclic Redundancy Check (CRC) ( ) 2831 Z80 SIO 80 SIO #!!, 80 & # * : D0-D7: + 80 %/$~: ' / C/D~: ' %/$~ C/D~!! Z80 SIO $0 $1 CE~: ' Z80 SIO +, chip enable,1: - RD! &,1 IORQ~ ( / Z80 SIO) IORQ~:, 80! 80 SIO )" ports 59

RD~:! Z80 SIO RESET~: ' 80 SIO " # )'), )'": +! 80 SIO )') )'" )') )/~: - 80! W/RDYA~, W/RDYB~: - # $ % $ Wait & / Z80 SIO! Ready DMA controller / / CSTA~, CSTB~:, Clear To Send - Clear To Send # Z80 SIO DCDA~, DCDB~: * CTS RxDA, RxDB: ( TxDA, TxDB: ( TxCA, TxCB: 0, # Z80 CTC RxCA, RxCB: 0, # 80 CTC RTSA~, RTSB~: Request To Send -, # DTRA~, DTRB~: Data Terminal Ready # & DTR bit, # SYNCA~, SYNCB~: - # (external synchronization mode) - (internal synchronization mode) # & SYNC - Dual In Package 40! # # *, - 2-34 TxCB~, RxCB~ & 60

- 2-34 $ 80 SIO 2832 80 SIO 1 Z80 SIO & - 2-35 - /, / - 2 : 20-bit 3-bit 8-bit & # - CRC & bytes & - (frames), & CRC 61

$ - 2-35 $ Z80 SIO 2833 28331 (Asynchronous Mode),, start/stop bits,!! ( interrupts) start/stop bits! 1 1/1 1/16 1/32 1/64 TxC 2 bit Auto Enables & CTS~ $ bit 0 CTS~! 62

DCD~, SYNC " / byte ' DCD~, CTS~, SYNC - start bit RxD $, RxC! 8 $, &! parity bit & $ Parity Error bit RR1 / $ stop bit Frame Error & (RR1) flag RR1 ', 3 /, Overrun Error ( RR1) ( / # RR1 data register! # - 2-36 $ ' 28332 byte & Z80 SIO (- 2-37): Monosync 1 & SYNC WR6 & SYNC ( WR7) $ 2 CRC! 63

Bisync Monosync & 2 WR6, WR7 External Sync - # SYNC~ 80 SIO - Hunt Mode (- 2-35) $ # Hunt Mode CRC 3! - 2-37, / WAIT~/READY~ ' / SYNC CRC SYNC # CRC 64

! Transmit CRC Enable bit bit CRC " RTS bit!! - # / : " / Z80 SIO (polled mode) " / #! & WAIT~/READY~ Overrun error End of Frame " / $ # ( CRC bit Receive CRC enable 28333 bit (SDLC, HDLC) - #& # bit $ IBM Synchronous Data Link Control (SDLC) High level synchronous Data Link Control (HDLC) 3 SDLC HDLC ' SDLC bit # (frame) Bisync Bisync # & SYNC, SDLC bits (flag) frame *, - 2-38 0111 1110,! frame " 80 SIO!, & ( TxD Z80 SIO RxD ) +! SDLC Z80 SIO modem (physical module) # 4 65

, ( ) CRC! - 2-38, SDLC frame SDLC, Request To Send Data Terminal Ready, SDLC CRC!,, " / $ / underrun CRC, & Z80 SIO, CRC flag / # " Hunt mode flag RxD flag WR7,! & WR6 $ bit! $ & # Hunt flag $ " / #!! # - 2! / # #, / (polled mode) flag # CRC! CRC # CRC & CRC, 66

# CRC 0001 1101 0000 1111 " CRC / buffer Z80 SIO 2834 Z80 SIO 1 Z80 SIO & B/A~ C/D~ C/D~ B/A~ 5 0 0 $ 0 1 % 1 0 / $ 1 1 / % " (WR0-WR7)! (RR0-RR1) 28341 WR0 D0-D2 WR0 & Z80 SIO D3-D5 & 7 & - 2-39 1 Send Abort SDLC 8 13 & 1 Reset Exit/Status Interrupts # DCD 1 Channel Reset # & B/A~ 1 Enable Int on Next Char!, 1 Reset Tx Interrupt Pending transmit data buffer # 1 Error Reset flags Overrun Parity 1 Return From Interrupt # $ RETI bit 6 7 CRC generator CRC checker # 67

- 2-39 WR0 28342 WR1-WR2 D0 DCD~,CTS~, SYNC~ Abort, SYNC CRC Tx Int Enable (D1) transmit buffer Status Affects Vector % 1 WR2 ( bits V1-V3 WR2, - 2-41) $ Status Affects Vector 0 # WR2 D3-D4 &, D7-D5 & WAIT~/READY~ WAIT READY 68

- 2-40 WR1-2-41 * bit WR2 Status Affects Vector WR1 28343 WR3 D0 D1 SYNC ( Rx Data buffer) D2 $ & WR6 broadcast (1111 1111) / D3 69

# CRC #! - D4 1 Hunt Mode, bit Auto Enables 1 DCD~ CTS~,! & RR0 D6, D7 & bits $ bit oriented protocol SDLC $ # 000100111010110100010101 $ bit 6 # / 00-101010 00-001011 00-010111 00-001000! bits 6 # 2 $, byte oriented bisync 10101000 10110101 11001000-2-42 WR3 70

28344 WR4-2-43 WR 4 D0 WR4 $ <8! D1 & D2-D3 & stop bits $ - - 00 (SYNC) D4-D5 & SYNC SDLC #! SYNC D6-D7 & (RxC TxC) - +1 28345 WR5 1 D0 # CRC Tx buffer underrun D1 RTS~ D2! CRC CRC-16 (D2=1) SDLC (D2=0) bit (D3) 1 D4 1 break D6, D5 & bit " / 71

byte Tx data buffer Z80 SIO 5,6,7, 8 # bits byte D6, D5, D7 DTR~ 0 0 Tx 5 bits/character 0 1 Tx 7 bits/character 1 0 Tx 6 bits/character 1 1 Tx 8 bits/character - 2-44 WR5 28346 WR6 WR7 " WR6 SYNC Monosync External Sync mode - Bisync mode byte 16- bit SYNC - SDLC mode Z80 SIO " WR7 receive SYNC Monosync mode byte 16-bit SYNC Bisync mode flag (0111 1110) SDLC 72

28347 RR0-2-45 RR0 D0 1 D1 # + & # WR2 / D2 1 Tx data buffer D3 & DCD~, / bit SYNC/Hunt SYNC $ - External Synchronization Mode 1 SYNC - Monosync, Bisync mode bit 1 0 CTS CTS~, bit Break/Abort Break RxD, Reset! 28348 RR1 D0 1 $ Tx buffer -! 1 D3 D1 I-field SDLC mode D4 1 D5! Overrun D6! Framing error $ CRC - D7! SDLC frame 3 73

- 2-46 RR1 28349 RR2 ( ), WR2 3 & RR2 ( %) / $ # & RR2 WR2 0,1,1 bits D3, D2, D1 2835 Z80 SIO SDLC mode - Z80 SIO % SDLC mode,! # byte,,! # ) 74

Status Affects Vector WR2 2 Z80 SIO port address 0x80 B/A~ $0! C/D~ $1 0x80 data buffer $ ( DA), 0x81 data buffer % (DB), 0x82 / $ (CA) 0x83 % (CB) "! WR! ; Initialization of Interrupts on Z80 CPU IM 2 ; Interrupt Mode 2 with vectored interrupts LD A,F0 ; Load Accumulator with the high order byte of ; the interrupt vector LD IV,A ; Load Interrupt Vector High Order Byte with F0 EI ; Ensure global interrupts are allowed ; Initialization of Z80 SIO LD A,10000000 ; Reset Tx CRC OUT CB,A ; Store to WR0 LD A,00000010 ; Prepare WR2 OUT CB,A ; Store to WR0 LD A,00100000 ; Base Interrupt Vector=0x20 OUT CB,A ; Store to WR2 LD A,00000011 ; Prepare WR3 OUT CB,A ; Store to WR0 LD A,00000000 ; Don t use AutoEnables OUT CB,A ; Store to WR3 LD A,00010100 ; Prepare WR4 and Reset Ext Status Int OUT CB,A ; Store to WR0 LD A,00100000 ; Clk x1, SDLC, SYNC, No Parity OUT CB,A ; Store to WR4 LD A,00000001 ; Prepare WR1 OUT CB,A ; Store to WR0 LD A,10000111 ; Status Affects Vector, TxInt Enable, ; Wait function selected to notify CPU ; for a next byte transfer OUT CB,A ; Store to WR1 LD A,00000001 ; Prepare WR5 OUT CB,A ; Store to WR0 LD A,00101111 ; Tx Enable, CRC Enable, RTS, SDLC OUT CB,A ; Store to WR5 ; Concerning that base low order byte of interrupt vector ; is 0x20, the resulting low order byte of interrupt vector ; for channel B Tx buffer empty is 0x30 The high order ; byte is stored in IV register ; 0xF030: ; ISR for Tx buffer empty EX AF,AF EXX ; Save current contents of registers LD A,data ; data:the character to be transmitted OUT DB,A ; Store to data buffer of channel B LD A,11000000 ; Reset Tx Underrun OUT CB,A ; Store to WR0 ; 75

; if this is character contains the last I-field bit ; the current frame must be closed properly by the Z80 SIO ; (CRC and flag must be added) This is done if the ; following command is issued instead of the previous ; 4 commands ; LD A,00101000 ; Reset Interrupt Pending OUT CB,A EX AF,AF EXX ; Save current contents of registers 76

284 A (80 DMA Controller) $ *, (Direct Memory Transfer Controllers-DMAC),' " DMAC (Address bus)!! 80,':,, )/"!, & # - # 80 #! DMAC,' 80 DMAC 1 80 DMAC & # - DMA DMAC - & 80 DMAC o 80 # : (interrupt) 80 # $ 5-10 s 4MHz " " 80! # $ 5 s /! (polling) " 80 # # 1 WAIT & $ 77

# 250ns WAIT DMAC 1 80 DMAC 1 1 #! DMAC READY - DMAC 80 : 2 )/",' 1 )/",' " )/",' 2841! Z80 DMAC - 2-47 5 80 DMAC 78

80 DMAC &, (configuration registers),' 1,' - (source and destination address) 1 DMA! (ports) DMAC: Port A Port B ( byte,! (, # 1),! byte 1 &,' 2 3 (modes) 5: Byte, Burst Continuous mode Byte mode!,' DMAC - Burst mode DMAC &,!,' READY DMAC! Continuous mode & Burst mode! & DMAC 79

2842 Z80 DMAC - 2-48 $ 80 DMAC - - 2-48! CLK, 5V, GND:, " $0-$15 D0-D7-2-49 - %$)~ %$"~ DMAC 80

1 %$)~ (Bus Acknowledge In) 80! DMAC 1 %$"~ (Bus Acknowledge Out) DMAC - %$)~ %$"~ DMAC & (- 2-49) $!! DMA To BUSREQ~ 80 DMA! DMAC & # CE~/WAIT~ chip enable DMAC control status byte, Wait cycles DMA! DMA - 2-50 - )') )'" DMAC IE~, IO~ %$)~ %$"~ DMAC! DMAC (- 2-50) " # interrupt INT~ Z80 DMAC ( bus master) IORQ~ 80! $0-$7 )/"! ( ) - IORQ~ CE~ RD~! configuration register DMAC $ DMAC IORQ~ # # DMA 81

,1~ #, interrupt acknowledge ( IORQ~), reset MREQ~ # DMAC RD~ 80 configuration register DMAC DMAC RD~ # RDY~ DMAC # (,, RDY~ DMAC ( bus master) # WR~ RD~ 2843 DMAC " DMAC )/"!!! " 80 bits 80 DMAC! ( DMAC 7 (base registers WR0-WR6) (associated)! 6! (base register group)! address bus,! )/" bit fields & (pointers)! DMAC ' 7 (status registers RR0-RR6) & DMAC RR1-RR6 & WR6 group " Status Byte (RR0) 1! & - 2-51 82

- 2-51 1! * # register group DMAC DMAC Disabled Mode DMAC Enabled (! «ENABLE DMA -») (active) (inactive stopped) - «DISABLE DMA» - & ' & (suspended) 83

Continuous mode RDY '! 28431 WR0 group registers - 2-52 * WR0 group registers ( WR0 80 DMAC bit 7 0 bit 1 0 00-2-52 bit 1 0 (, & ) bit 2 & ( -port ) bit 3-6 1 *, WR0 1 bit 4 6 2 port A starting address (low) block length (high) " associated registers WR0 & 16-bit $ (port A) 16-bit 84

28432 WR1 WR2 group registers - 2-53 WR1 group registers " WR1 bit 7, 2, 1, 0 80 DMAC 0,1,0,0 " WR1 1 bit 6 $ WR1 $ )/" " & WR~, RD~, MREQ~, IORQ~ WR2 group! WR1 % " & bit 7, 2, 1, 0 80 0 -! & &, % & 28433 WR3 group registers " & WR3 & & (- 2-54) 85

- 2-54 WR3 group registers " WR3 bit 7, 1 0 0 $ bit 2 1 & ( WR0 register group) & (mask/match byte) - mask & match $ mask 11110000 & nibble & nibble match byte DMA, Interrupt Enable bits ENABLE Interrupt ENABLE DMA WR6 28434 WR4 group register, group & DMA " bit 7, 1, 0 Z80 1, 0, 1 bit 4, 3, 2!! 2 2 Interrupt Control Byte (- 2-55) 86

- 2-55 WR4 group registers group & Continuous, Burst Byte mode, %, (, &, READY, 87

) 1! INT~ bits 2, 3 Interrupt Control 1 Pulse Control Byte byte Byte Counter " 256 bytes 256 " Interrupt Vector 80 interrupt acknowledge # 1 ( bit 1 2 Interrupt Vector) Status Affects Vector bit Interrupt Control Byte 28435 WR5 group register - 2-56 WR5 group register - WR5 bits 7,6,2,1,0 1,0,0,1,0, READY active low high CE~/WAIT~ CE~ 1 # DMA 88

28436 WR6 group registers group " bit 7, 1, 0 1-2-57 WR6 group registers $ 89

Reset, Reset port A, Reset port B timing: ( WR1/WR2 Load: 7! # DMA Continue:,& Byte Counter!! + &! Load 1 Continue # Disable Interrupts Enable Interrupts WR4 Reset and Disable Interrupts ' / 8080$ 8085 Enable after RETI: +! DMAC 80 * Enable DMA RETI Read Status Byte: 1 & Status Byte Reinitialize Status Byte: $ bit 4, 5 Status Byte (Match not found, not end of block) Read Mask Follows:, & *, Read Mask 01100110 byte counter low, high, port B address low, high Initialize Read Sequence $! Read Mask Follows, Force Ready * RDY Enable DMA, Disable DMA: ' DMA - 2-57 DMAC DISABLE STATE, ENABLE DMA, 28437 90

" $ & - 2-58 " Status Byte &! DMA, READY, #, & " / 16-bit Byte Counter, Address Counter $ % 8 16-bit WR0 WR4 groups - 2-58 " 91

28438 $! " * 2-1, #! # WR6 *!, group 3, 80 DMAC ' * 1, & & % Disable DMA Reset WR0 group WR1 group WR2 group WR3 group WR4 group WR5 group Reset Port A timing Reset Port B timing Load Reinitialize Status Byte Read Mask Follows Read Mask control byte Initiate Read Sequence Force Ready Enable Interrupts Enable DMA * 2-1 - 5! $ 2844 DMAC 80 DMAC # 80! # 1 DMAC! )/" DMAC (! ) (! ) 1 92

DMAC NAND, PROM 6 NAND & - 2-59 DMAC 80! $15, $14 $13 1, 0 1 DMAC 80 $15 $14 $13 M1~ IORQ~ 101x xxxx xxxx xxxx! A000-BFFF IORQ~ M1~ CE~ Z80 DMAC - 2-59 $ NAND 6 2 DMAC # 2! Z80 SIO ( ) & - 2-59 - 80 # - 2-60 " RDY! SIO 2 DMAC!, 80 $ DMAC, SIO 80 SIO " # DMA 80 * 2-2 * 2-2 - 93

- 2-60, DMA 94

29 80 - - 2-61 2-62 & / 80 )/" -!! $ # - 2-61! / 80 " # & 5V 11 29 8 80 (CLK) # (, resonator) OG1 4,1 # 3! & # 1 RESET RC (R4, C1) & RESET " S2 C1 RESET " Schmitt Trigger RESET C1, S2 * & RESET #! (IC6A) 2! RAM 55257 2 15 =32768 bytes " 80 55257, $0-$14 1 $15 CE~ 55257! 8000- FFFF $15 1 EPROM 27C512 2 16 =65536 byte! 80! 16-bit RAM 32768 EPROM " 27C512 ( $15 27C512, 32768 " $0-$14 80! $15 80 CE~ 27C512! 0000-7FFF $15=0 95

CE~ RAM EPROM! OR MREQ~ 80 (=0)!!, IORQ~!! )/", MREQ~ 80 )/"! "'~ RD~ 80 80 $ R/W~ RAM WR~ 80 0 80 $ EPROM RFSH 80 ( 55257 ) '#& - 2-62, RESET, CLK - 2-61 SIO PIO! )/" 80 IORQ~! IORQ~ 80 "! )/" 256 (00-FF) 4!, & CONTSEL, PORTSEL (! C/D B/A) ( $1 $0 CE~! $7 " $8-$15 )/"! " $2-$6 (, NAND) 6 0)" )/" 0xxxxx00 0xxxxx11, x 0 1 6 0)" 00-03 60-63 1C-1F " SIO )/" 1xxxxx00 1xxxxx11 (, 80-83 F0-F3 8C-8F ) " D0-D7 SIO PIO 80!! " RD,1! 80 ' 5V! «#» 80 # SIO PIO )/, )'), )'" - SIO )') +5V 1 # )'" )') 0)" )'" 0)" " )/! 80 )'), )'" 96

0)", () ( #) " 5V %7! 0V * (keypad) 1,, 1 D1 6 & ( ) & ( ) & # 1 12 24V!, & +5V 1 SIO RS232, handshaking (RTS, CTS ) (TxD, RxD) %!! 0 5 V RS232 ( MAX232!,$+232 /# handshaking ( (baud rate) SIO (,, # Z80 CTC ) RxD, TxD 97

8000-FFFF - 2-61 - 80 RAM EPROM 98

- 2-62 - 80 80 PIO 80 SIO 99