Software Description; Mio Configuration Parameters - Yamaha Mio Service Manual

Hide thumbs Also See for Mio:
Table of Contents

Advertisement

Software Description

In order for the MIO to perform its multitude of tasks, one full page of memory has been allocated for
general operating variables and configuration parameters. Two other pages have been reserved for
"R:" handler input and output buffers, and the rest of memory (up to 4093 pages) can be used as
RAM drives and a printer buffer through the MIO ROM. Table 5-4 describes the configuration
parameters (those which are read from the hard disk (ID=0, LUN=0) when memory is invalid). This
table occupies the first 192 bytes of memory page 0. The remaining 64 bytes are operating variables
and are listed in table 5-5. Memory pages 1 and 2 are reserved for the "R:" handler input/output
buffers.
Address
Symbol
(HEX)
Name
$D600
MEMKEY
$D610
DRDATA
$D652
PREND
$D654
PRUNIT
$D655
PRFLAGS
$D656
SERUNIT
$D657
SERFLAGS
$D658
RAMUSAGL
$D660
RAMUSAGH
MIO Service Manual
Table 5-4. MIO Configuration Parameters
Length
Function of parameter or variable.
(Dec)
16
This contains a string of characters. If the string in memory is
not equal to that in ROM, it is assumed that power to the MIO
has been lost and it should reconfigure.
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: B[3]
= 1 if disk is write locked
B[4]
= 1 if SASI type interface
B [7,5] = logical unit number of drive
2
Last+1 RAM page number allocated to print spooler.
1
Printer device number (0 if P: disabled)
1
Printer configuration flags
B[5] = 1 if using a serial printer
B[6] = 1 if spooler is enabled
B[7] = 1 if CR/LF option enabled
1
RS-232 "R:" enable flag; 1=enable/0=disable
1
Default configuration for serial port.
B[7] = 1 if to append LF after CR
B[6] = 1 if 2 stop bits (else 1 stop bit)
B[5] = 1 if no ATASCII/ASCII translation
B[4,3] = parity mode: 00=none, 01=odd, 10=even, 11=mark
B[2,0] = baud rate index
8
Number pages allocated for each drive (low)
8
Number pages allocated for each drive (hi)
Page 63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents