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

 

 

 

 

 

 

 

 

 

 

 

 

I/O

The table below describes details about the I/O child elements ef, in, iogroup and out. Format and function of these are the same when used in any element. Note that the address options for input and output functions is only available for a limited number of I/O configurations.

child element attribute value description
ef iogroup, pol, q flag (1 to 4) Definition of one EF flag. The attribute q can be used if the EF flag has a different function depending on the value of the Q flag. Attribute pol="rev" will reverse polarify of the EF flag. Attribute iogroup="no" will decouple the specified EF flag from the defined I/O group.
in type, addressmask, mask, q port (1 to 7) or address (0 to 0xFFFF) To define an address as an input use type="address" or a value > 7. The attribute q can be used if the in port has a different function depending on the value of the Q flag. The mask attribute defines the data mask, e,g, mask="0xF" will only use lowest 4 bits of the in port. The address mask will do the same for when an address input is defined. Multiple ports can be defined for the same function, to do so use multiple numbers separated by a comma.
io addressmask, mask, q port (1 to 7) The attribute q can be used if the I/O (in and out) port has a different function depending on the value of the Q flag. The mask attribute defines the data mask, e,g, mask="0xF" will only use lowest 4 bits of the I/O port. Multiple ports can be defined for the same function, to do so use multiple numbers separated by a comma.
iogroup group number (8 bit) This element is used in combination with the iogroup element as described on the main page: XML - Main Elements. The group number is the value that is send to the IoGroup output port (defined in the main iogroup element) to enable a specific I/O group. Multiple group numbers can be defined for the same function, to do so use multiple numbers separated by a comma.
out type, addressmask, mask, q port (1 to 7) or address (0 to 0xFFFF) To define an address as an ouput use type="address" or a value > 7. The attribute q can be used if the out port has a different function depending on the value of the Q flag. The mask attribute defines the data mask, e,g, mask="0xF" will only use lowest 4 bits of the out port. The address mask will do the same for when an address output is defined. Multiple ports can be defined for the same function, to do so use multiple numbers separated by a comma.