Control Values Added To Aux1 (Xio 34); Setting Baud Rate, Stop Bits, And Ready Checking; Codes To Add To Aux1 (Xio 36); Setting Translation Modes And Parity - Yamaha Mio Service Manual

Hide thumbs Also See for Mio:
Table of Contents

Advertisement

Function
DTR
RTS
XMT

Setting Baud Rate, Stop Bits, and Ready Checking

Syntax
XIO 36,#IOCB,Aux1,0,"R:"
Remarks
This function configures the RS-232 port for desired speed and stop bits. Aux1 is the sum of two
codes; baud rate and the number of stop bits. The coding is given by Table 6-4. You 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.

Setting Translation Modes and Parity

Syntax
XIO 38,#IOCB,Aux1,0,"R:"
Remarks
This function configures the parity and level of ASCII/ATASCII translation. The value of Aux1 is
derived from Table 6-5.
MIO Service Manual
Table 6-3. Control Values Added to Aux1 (XIO 34)
Bit
Dec Equiv
Meaning When Bit is SET
7
128
Set state of DTR (from bit 6)
6
64
Set DTR Ready (Not ready if bit is CLEAR)
5
32
Set state of RTS (from bit 4)
4
16
Set RTS Ready (Not ready if bit is CLEAR)
1
2
Set state of XMT (FROM BIT 0)
0
1
Set XMT to MARK (SPACE if bit is CLEAR)
Table 6-4. Codes to Add to Aux1 (XIO 36)*
Add
Baud Rate
0
300
8
300
10
1200
13
4800
15
19200
* Default is 1 stop bit. Add 128 for 2 stop bits.
Add
Baud Rate
5
110
9
600
12
2400
14
9600
Page 68

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents