EMMA 02

XML CODE

  • Home
  • Download
  • Change Log
  • Help
  • Compilation
    • Windows
    • OS X
    • Ubuntu
    • Fedora
    • openSUSE
  • Forums
  • Tape Conversion
  • Machine Code
    • SYSTEM00
    • CDP1801
    • CDP1802
    • CDP1804
    • CDP1805
    • Differences
  • Pseudo Code
    • AMVBAS
    • AM4KBAS
    • CARDTRAN
    • Chip-8, 8X, ETI-660 & Elf
    • FEL-1
    • FPA-1
    • FPL-2
    • FPL-4
    • GPL-2
    • GPL-3
    • GPL-4
    • GPL-A (2K RAM)
    • GPL-A (2K ROM)
    • ST2
    • ST4
    • STK
    • Test-Word
    • Super-chip
  • XML Code
    • Main Elements
    • I/O
    • System
    • A/D Convertor
    • BASIC
    • Batch wav
    • Bootstrap
    • Cassette
    • CD4536B
    • CDP1851
    • CDP1852
    • CDP1854
    • CDP1855
    • CDP1877
    • CDP1878
    • CDP1879
    • Debugger
    • COMX Diagnostic
    • Dip switch
    • Disk
    • EF Buttons
    • Flip Flop
    • Front Panel
    • GUI
    • HEX Modem
    • I/O Group
    • Keyboard
    • Keyfile
    • Locations
    • Memory
    • MM57109
    • Printer
    • RTC
    • Sound
    • Splash
    • USB
    • Video
    • Videodump
    • vt
    • X Modem
  • BASIC
    • General Information
    • COMX BASIC V1.00
    • Floating Point BASIC 2.2
    • Pecom 32 BASIC
    • Pecom 64 BASIC 1.0 & 4.0
    • Quest Super BASIC 1.4
    • Quest Super BASIC 3.0
    • Quest Super BASIC 5.0
    • Quest Super BASIC 6.0
    • RCA BASIC3 V1.1
    • Telmac SBASIC v24.3
    • Error Messages
  • Computer List

 

 

 

 

 

 

 

 

 

 

 

 

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
int CDP1877 PIC interrupt number Specify PIC interrupt number (if used).
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