Element: disk
Disk drive definition. Type is used to select one of 4 different disk HW configurations (ide, 1770, 1793 or upd765).
Type: ide
Ide disk definition.
child element | attribute | value | description |
---|---|---|---|
dirname | directory name (text) | Location of ide disk file; defined as sub-dir of the main Emma 02 data directory. If not specified the dirname specified in 'system' will be used (see also XML - system). | |
filename | file name (text) | Initial ide disk filename. | |
heads | number | Set number of heads | |
in | mask, q, type | port (1 to 7) | With type="status" the port will be configured to read ide status. With type="read" the port will be configured to read from selected ide port. For details about attribute and value usage see XML - I/O |
iogroup | group number (8 bit) | Ide disk iogroup definition. For details about value usage see XML - I/O | |
out | mask, q, type | port (1 to 7) | With type="select" the port will be configured to select ide port. With type="write" the port will be configured to write to the selected ide port. For details about attribute and value usage see XML - I/O |
sectors | number | Set number of sectors | |
tracks | number | Set number of tracks |
Type: 1770 or 1793
WD1770/WD1793 disk definition. The drive attribute defines how many drives will be configured (1 to 4).
child element | attribute | value | description |
---|---|---|---|
clearaddress | address (16 bit) | Set RAM address to be cleared when no disk is inserted. | |
dirname | directory name (text) | Location of WD1770/WD1793 disk file; defined as sub-dir of the main Emma 02 data directory. Attribute disk (0 to 4) indicates which disk drive the directory name is to be used for. If not specified the dirname specified in 'system' will be used (see also XML - system). | |
ef | pol, q | ef flag (1 to 4) | EF used for data request. For details about attribute and value usage see XML - I/O |
filename | file name (text) | Initial WD1770/WD1793 disk filename. Attribute disk (0 to 4) indicates which disk drive the directory name is to be used for. | |
in | mask, q, type | port (1 to 7) | With type="intrq" the port will be configured to read intrq. With type="read" the port will be configured to read from selected WD1770/WD1793 port. For details about attribute and value usage see XML - I/O |
iogroup | group number (8 bit) | WD1770/WD1793 disk iogroup definition. For details about value usage see XML - I/O | |
maxfmtcount | number | Set max format count. Use 2740 for a COMX WD1770 drive with 16 sectors. Use 6256 for 18 sectors WD1793 drive and 3128 for 9 sectors WD1793 drive. Other values might not work. | |
out | mask, q, type | port (1 to 7) | With type="select" the port will be configured to select WD1770/WD1793 port. With type="write" the port will be configured to write to the selected WD1770/WD1793 port. For details about attribute and value usage see XML - I/O |
sectorlength | length | Set sector length in bytes | |
sectors | number | Set number of sectors | |
sides | number | Set number of disk sides | |
tracks | number | Set number of tracks |
Type: upd765
Upd765 disk definition. The drive attribute defines how many drives will be configured (1 to 4).
child element | attribute | value | description |
---|---|---|---|
dirname | directory name (text) | Location of upd765 disk or hd file; defined as sub-dir of the main Emma 02 data directory. Attribute disk (0 to 4) indicates which disk drive the directory name is to be used for. If not specified the dirname specified in 'system' will be used (see also XML - system). | |
ef | pol, q | ef flag (1 to 4) | EF used for upd765 interrupt. For details about attribute and value usage see XML - I/O |
filename | file name (text) | Initial upd765 disk filename. Attribute disk (0 to 4) indicates which disk drive the directory name is to be used for. | |
hdname | hd file name (text) | Initial upd765 hd filename. Attribute disk (0 to 4) indicates which disk drive the directory name is to be used for. | |
in | mask, q, type | port (1 to 7) | With type="status" the port will be configured to read upd765 status. With type="command" the port will be configured to read the upd765 command. For details about attribute and value usage see XML - I/O |
iogroup | group number (8 bit) | Upd765 disk iogroup definition. For details about value usage see XML - I/O | |
out | mask, q, type | port (1 to 7) | With type="control" the port will be configured to set the upd765 DMA control. With type="count" the port will be configured to set the upd765 DMA count. With type="command" the port will be configured to set the upd765 command. For details about attribute and value usage see XML - I/O |