background image

Table 5-1. MIO Register Selection

 

Register Operation

 

Address 

(HEX)

 

Write

 

Read

 

$D1E0

 

Set address A15-A8 for $D600 RAM 
window. (LSB of sector number.)

 

Set RST- signal true (low). Resets the 
SCSI/SASI bus. (RST- also true during 
RESET)

 

$D1E1

 

Set printer data and SCSI/SASI data. True 
logic for printer — Inverted for SCSI/SASI 
bus.

 

Read data from SCSI/SASI bus. Data is 
inverted.

 

$D1E2

 

General purpose outputs. 

  

B[3..0] High RAM address, 

   sets address A19-A16. 
  B[4] 1 = Set SEL- true 
  B[5] 1 = Enable RAM access 
  B[6] 1 = Set STROBE- true 
  B[7] 1 = Enable Parallel IRQ

 

General purpose inputs. 
  B[0] = SASI C/D- 
  B[1] = SASI MSG- 
  B[2] = SASI I/O- 
  B[4] = Printer FAULT- 
  B[5] = SASI BUSY- 
  B[6] = Printer BUSY 
  B[7] = SASI REQ- 
Also clears RST- signal

 

$D1E3 

or 

$D1FF

 

Set ROM enable and bank. Only 
1 bit allowed set at a time. 
  B[2] 1 = Disk Interface ROM 
  B[3] 1 = Seg 2 of setup MENU 
  B[4] 1 = R:/P: Handler ROM 
  B[5] 1 = Seg 1 of setup MENU 
All bits 0 disable the ROM.

 

IRQ sense bits + Misc inputs. 
  B[0] = RS-232 DCD line 
  B[1] = RS-232 DSR line 
  B[2] = RS-232 CTS line 
  B[3] = Printer BUSY- IRQ 
  B[4] = MIO IRQ (from 6551 or 
            Printer BUSY- IRQ)

 

$D1C0

 

Write ACIA transmit register.

 

Read ACIA receive register.

 

$D1C1

 

Perform a programmed RESET on ACIA 
(data is "don't care").

 

Read Status register (resets IRQ). 
  B[0] 1 = Parity error 
  B[1] 1 = Framing error 
  B[2] 1 = Overrun has occurred 
  B[3] 1 = Receiver reg. full 
  B[4] 1 = Transmitter empty 
  B[7] 1 = IRQ occurred

 

$D1C2

 

Write ACIA command register. 
   (see table 5-2)

 

Read ACIA command register. 
   (see table 5-2)

 

$D1C3

 

Write ACIA control register. 
   (see table 5-3)

 

Read ACIA control register. 
   (see table 5-3)

 

$D6xx

 

Write RAM. High address A19-A8 selected 
by $D1E0/$D1E2.

 

Read RAM. High address A19-A8 
selected by $D1E0/D1E2.

 

  

 

 

 

MIO Service Manual

Page 59

Summary of Contents for Mio

Page 1: ......

Page 2: ...5 27C128 EPROM 30 U16 U20 74LS73A 31 U17 MC1489P 34 U18 LM3086 35 U19 74HC4046 36 U22 74LS139 43 U23 74LS158 45 U27 U48 74LS374 47 U28 74LS240 49 U47 U50 RESISTOR NETWORKS 50 DRAM Timing 53 Theory Signals 54 Theory Read Cycle 55 Theory Write Cycle 56 Theory Refresh 57 Programming Information 58 Hardware Description 58 Register Selection Table 59 ACIA Command Register 60 ACIA Control Register 61 RA...

Page 3: ...MIO Service Manual Page 2 ...

Page 4: ...MIO Service Manual Page 3 ...

Page 5: ...MIO Service Manual Page 4 ...

Page 6: ...MIO Service Manual Page 5 ...

Page 7: ...MIO Service Manual Page 6 ...

Page 8: ...MIO Service Manual Page 7 ...

Page 9: ...ICO 143 S8A T 0 08 DIP SOCKET 16 PIN 10 517 ICO 163 S8A T 0 11 DIP SOCKET 20 PIN 9 517 ICO 203 S8A T 0 11 DIP SOCKET 28 PIN 2 517 ICO 286 S8A T 0 15 25x2 Pin Header Right angle 1 A32706 25 ND 1 74 25x2 Pin header 4 A32707 25 ND 2 12 Female DB9 connector 1 J8 152 3409 0 73 Male DB9 Connector 1 J3 152 3309 0 77 Female DB25 connector 1 J2 152 3425 1 19 Power connector 1 J6 CP 102AH ND 0 36 Power swit...

Page 10: ...U1 74LS20 DUAL 4 INPUT NAND GATE MIO Service Manual Page 9 ...

Page 11: ...U2 U12 U24 74LS175 QUAD D FLIP FLOP MIO Service Manual Page 10 ...

Page 12: ...MIO Service Manual Page 11 ...

Page 13: ...U3 U4 74LS138 3 TO 8 LINE DECODER MIO Service Manual Page 12 ...

Page 14: ...MIO Service Manual Page 13 ...

Page 15: ...U5 7407 HEX BUFFER DRIVER MIO Service Manual Page 14 ...

Page 16: ...U6 6551 ASYNCHRONOUS COMMUNICATION INTERFACE ADAPTER ACIA MIO Service Manual Page 15 ...

Page 17: ...MIO Service Manual Page 16 ...

Page 18: ...MIO Service Manual Page 17 ...

Page 19: ...MIO Service Manual Page 18 ...

Page 20: ...MIO Service Manual Page 19 ...

Page 21: ...MIO Service Manual Page 20 ...

Page 22: ...MIO Service Manual Page 21 ...

Page 23: ...U7 U10 74LS04 HEX INVERTER MIO Service Manual Page 22 ...

Page 24: ...U8 74LS02 QUAD 2 INPUT NOR GATE MIO Service Manual Page 23 ...

Page 25: ...U9 U25 74LS93 4 BIT BINARY COUNTER MIO Service Manual Page 24 ...

Page 26: ...MIO Service Manual Page 25 ...

Page 27: ...MIO Service Manual Page 26 ...

Page 28: ...U11 74LS10 TRIPLE 3 INPUT NAND GATE MIO Service Manual Page 27 ...

Page 29: ...U13 U21 U67 U69 74LS00 QUAD 2 INPUT NAND GATE MIO Service Manual Page 28 ...

Page 30: ...U14 U26 U29 U49 U68 74LS244 OCTAL BUFFER LINE DRIVER WITH TRI STATE OUTPUTS MIO Service Manual Page 29 ...

Page 31: ...U15 27C128 16K x 8 EPROM MIO Service Manual Page 30 ...

Page 32: ...U16 U20 74LS73A DUAL J K FLIP FLOP WITH CLEAR MIO Service Manual Page 31 ...

Page 33: ...MIO Service Manual Page 32 ...

Page 34: ...MIO Service Manual Page 33 ...

Page 35: ...U17 MC1489P QUAD LINE RECIEVER MIO Service Manual Page 34 ...

Page 36: ...U18 LM3086 TRANSISTOR ARRAY MIO Service Manual Page 35 ...

Page 37: ...U19 74HC4046 PHASE LOCKED LOOP MIO Service Manual Page 36 ...

Page 38: ...MIO Service Manual Page 37 ...

Page 39: ...MIO Service Manual Page 38 ...

Page 40: ...MIO Service Manual Page 39 ...

Page 41: ...MIO Service Manual Page 40 ...

Page 42: ...MIO Service Manual Page 41 ...

Page 43: ...MIO Service Manual Page 42 ...

Page 44: ...U22 74LS139 DUAL 1 OF 4 DECODER DEMULTIPLEXER MIO Service Manual Page 43 ...

Page 45: ...MIO Service Manual Page 44 ...

Page 46: ...U23 74LS158 QUAD 2 INPUT MULTIPLEXER MIO Service Manual Page 45 ...

Page 47: ...MIO Service Manual Page 46 ...

Page 48: ...U27 U48 74LS374 OCTAL D TYPE FLIP FLOP POSITIVE EDGE TRIGGER TRI STATE MIO Service Manual Page 47 ...

Page 49: ...MIO Service Manual Page 48 ...

Page 50: ...U28 74LS240 OCTAL BUFFER LINE DRIVER WITH 3 STATE OUTPUTS MIO Service Manual Page 49 ...

Page 51: ...U47 MDP1603 330G AND U50 MDP1605 221 331G DIP PACKAGE RESISTOR NETWORKS MIO Service Manual Page 50 ...

Page 52: ...MIO Service Manual Page 51 ...

Page 53: ...MIO Service Manual Page 52 ...

Page 54: ...MIO Service Manual Page 53 ...

Page 55: ...MIO Service Manual Page 54 ...

Page 56: ...MIO Service Manual Page 55 ...

Page 57: ...MIO Service Manual Page 56 ...

Page 58: ...MIO Service Manual Page 57 ...

Page 59: ... control lines are normally all ones port voltages are 5 which represents a logic false on the bus For more information on SASI SCSI bus protocol refer to the Adaptec ACB 4000 Series User s Manual the XEBEC S1410A disk controller document the Seagate ST225N manual or any other device manual employing these protocols The ACK REQ handshake cycle is performed by the MIO hardware Whenever the data D1E...

Page 60: ...nly 1 bit allowed set at a time B 2 1 Disk Interface ROM B 3 1 Seg 2 of setup MENU B 4 1 R P Handler ROM B 5 1 Seg 1 of setup MENU All bits 0 disable the ROM IRQ sense bits Misc inputs B 0 RS 232 DCD line B 1 RS 232 DSR line B 2 RS 232 CTS line B 3 Printer BUSY IRQ B 4 MIO IRQ from 6551 or Printer BUSY IRQ D1C0 Write ACIA transmit register Read ACIA receive register D1C1 Perform a programmed RESET...

Page 61: ...e 1 Receiver echo mode bits 2 and 3 must be zero for receiver echo mode RTS will be true Bit 3 2 Transmitter Interrupt Control TIC 3 2 0 0 RTS false transmitter disabled 0 1 RTS true transmit interrupt enabled 1 0 RTS true transmit interrupt disabled 1 1 RTS true transmit interrupt disabled and transmit break on TxD Bit 1 Receiver Interrupt Request Disabled IRD 0 IRQ enabled receiver 1 IRQ disable...

Page 62: ... 6 5 Number of bits 0 0 8 0 1 7 1 0 6 1 0 5 Bit 4 Receiver Clock Source RCS 0 External receiver clock non functional on MIO 1 Baud Rate SBR Bits 3 0 Selected Baud Rate SBR 3 2 1 0 Baud Rate 0 0 0 0 16 x RxC Not usable by MIO 0 0 0 1 50 0 0 1 0 75 0 0 1 1 110 0 1 0 0 135 0 1 0 1 150 0 1 1 0 300 0 1 1 1 600 1 0 0 0 1200 1 0 0 1 1800 1 0 1 0 2400 1 0 1 1 3600 1 1 0 0 4800 1 1 0 1 7200 1 1 1 0 9600 1 ...

Page 63: ...the ACIA in which case D1C1 bit 7 should be set Note that the parallel device IRQ mask PDIMSK at 249 is set to 10 by the MIO RAM This is because there is only one interrupt handler which supports all possible MIO interrupts in the ROM In fact the system would crash if the OS tried to enter any of the other ROM banks to service the IRQ Accessing the ROM The ROM on the MIO contains all the software ...

Page 64: ...nfigure D610 DRDATA 64 This contains an array of 8 drive config records each 8 bytes long Records are 0 First physical block address sector number of logical device MSB first 3 Last 1 physical block address sector number of logical device MSB first 6 B 2 0 SCSI SASI ID if hard disk drive number if floppy B 5 1 if floppy drive reassign B 6 1 if RAM drive B 7 1 if Hard drive if B 7 5 0 then ignore 7...

Page 65: ...r memory page number LSB MSB D6C5 CPROFFS 1 Printer queue entry page offset D6C6 PROFFS 1 Printer queue exit page offset D6C7 BADBUFF 1 If 255 this indicates that the queue has wrapped thus repeat copies are invalid D6C8 PRIRQ 1 If 128 then parallel IRQ is enabled This byte gets copied to D6E2 when ROM exited D6CA PRPAUSE 1 If 0 then the printer spooler is paused D6CB PCOPYT 1 Number repeat copies...

Page 66: ...e RS 232 port in pseudo non concurrent mode To remain compatible with the 850 and P R Connection the MIO has a flag indicating whether an XIO 40 set concurrent mode has been performed since the last OPEN command If it has not then the STATUS command returns the state of the handshake lines whereas if in concurrent mode the STATUS command returns the number of characters in the input and output buf...

Page 67: ...e as a normal PRINT statement except that the IOCB precedes the expression Note that the IOCB must be opened for write or read write mode 8 or 12 but whether in concurrent mode or not has no effect on GET INPUT statement operation Refer to your BASIC reference manual for more information on these statements Reading the Port Status Syntax STATUS IOCB DUMMY FLAGS PEEK 746 REM Error bits relating to ...

Page 68: ...imply copies of the next highest bit In the 850 Interface these bits would indicate a history i e not always ready since last STATUS Forcing Early Transmission of Output Blocks Syntax XIO 32 IOCB 0 0 R Remarks This function causes all the buffered data in the computer to be transmitted through the RS 232 port This is used when the user wants to make sure that all data is transmitted before perform...

Page 69: ...u must add the value representing the desired baud rate to the code 0 or 128 for the desired number of stop bits per word Note that the word size is always 8 bits plus 1 or 2 stop bits the MIO R handler does not support smaller word sizes as did the Atari 850 interface The missing baud rates are available through the ACIA on the MIO but are not supported by the R handler since they are never used ...

Page 70: ...ault FEEDS 64 Append LF after CR translation from EOL Setting Concurrent Mode Syntax XIO 40 IOCB 0 0 R Remarks This function simulates the Start concurrent mode I O of the P R Connection and Atari 850 This is needed because of the dual nature of the STATUS command When in concurrent mode the statement returns the size of the data buffers whereas when in block mode the statement returns the state o...

Page 71: ...the special needs of your particular installation Printer Cable Connections 36 pin centronics male DB25P 1 2 1 Data Strobe 2 D0 3 4 3 D1 4 D2 5 6 5 D3 6 D4 7 8 7 D5 8 D6 16 32 18 25 Gnd 15 Fault 11 9 11 Busy 9 D7 Frame to the shield wire No connection to shield MODEM Cable Connections DB25P DB9P 20 8 4 DTR 1 CRX 2 3 3 XMT 2 RCV 7 6 5 GND 6 DSR 4 5 7 RTS 8 CTS Frame to the shield wire No connection...

Page 72: ...s a DCE device not DTE then XMT would connect to XMT and RCV to RCV DTE Serial Printer Cable Connections DB25P DB9P 6 DSR 4 RTS 4 DTR 1 CRX 3 RCV 2 XMT 3 XMT 2 RCV 7 GND 20 DTR 5 GND 6 DSR 5 8 CTS CD 14 FAULT 7 RTS 8 CTS Frame to the shield wire No connection to shield Null MODEM Cable Connections This will allow transfer of files between an MIO serial port and an IBM PC or Atari ST without using ...

Page 73: ...I ST506 412 ST506 412 RLL certified Iomega Alpha 10H Beta xxx SCSI SCSI cartridge drive 10Mb cartridge drive xxMb Rodime RO650 RO652 SCSI SCSI includes drive 10Mb includes drive 20Mb Seagate ST225N SCSI includes drive 20Mb Western Digital WD1002 SHD SASI ST506 412 XEBEC 1410 1410A SASI SASI ST506 412 ST506 412 MIO Service Manual Page 72 ...

Reviews: