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: sound

Sound definition. The type attribute defines one of the different sound HW configurations: q, studio (Studio II sound), bit, cdp1863 (or 1863), vp550 (VIP supersound board VP550) or vp551 (VIP supersound board VP551).

For vp550 and vp551 add stereo="on" to activate stereo mode.

For studio, vp550 and vp551 no child elements are needed

Type: q

Sound definition using the Q flag, if defined either <hw> or <sw> should be used, not both.

child element attribute value description
hw frequency (Hz) Play beeper tone with specified frequency when Q=1.
sw Play tone with frequency as Q flag is switched between 1/0 by the 1802 CPU.

Type: bit

Sound definition using one bit in the specified output port. Same concept as using type="q" and <sw>, but using one bit in the output port instead of the q flag.

child element attribute value description
iogroup group number (8 bit) Bit sound iogroup definition. For details about value usage see XML - I/O.
out mask, q port (1 to 7) Bit sound output port definition. Attribute mask indicates the bit number. Optionally q can be specified to define what value the q flag should have to activate the sound. For details about attribute and value usage see XML - I/O.

Type: cdp1863

Sound definition using Q flag and output to latch the tone frequency.

child element attribute value description
iogroup group number (8 bit) Cdp1863 sound iogroup definition. For details about value usage see XML - I/O.
out mask, q port (1 to 7) Cdp1863 sound output port definition. For details about attribute and value usage see XML - I/O.

Type: 8912

Sound definition using AY-3-8912 Programmable Sound Generator.

child element attribute value description
channel type left, right or centre AY-3-8912 channel selector, type="a", "b" or "c" to indicate the channel and left, right or centre to define where the channel should be used.
io mask, q, type port (1 to 7) AY-3-8912 sound output and input port definition. Use type="data" to select port type. For details about attribute and value usage see XML - I/O.
iogroup group number (8 bit) AY-3-8912 sound iogroup definition. For details about value usage see XML - I/O.
out ay, mask, q, type port (1 to 7) AY-3-8912 sound output port definition. Use type="register" to select port type and ay="1" or ay="2" to address PSG 1 or 2. For details about attribute and value usage see XML - I/O.