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

Cassette definition. The type attribute defines one of the different cassette HW configurations. If not specified standard cassette support is configured using EF/Q flags, other options: cv (Cybervision), fred (FRED 1 and 1.5). Attribute deck is used to define the number of cassette decks (1 or 2).

Type: ""

Standard Cassette configuration

In this mode, Q is used for cassette output unless child element out is specified with type="q". Cassette input is done using one of the EF flags.

child element attribute value description
dirname cassette directory name (text) Location of cassette file; defined as sub-dir of the main Emma 02 data directory. Attribute cassette (0 or 1) indicates which deck the directory name is to be used for. If not specified the dirname specified in 'system' will be used (see also XML - system).
endtapedelay ms Number of ms the tape will continue loading after end of the wav file
ef pol, q, type ef flag (1 to 4) With type="in" the flag will be configured for cassette input. With type="run" the flag indicates 'tape running'. For details about attribute and value usage see XML - I/O
filename cassette file name (text) Initial cassette filename. Attribute cassette (0 or 1) indicates which deck the file name is to be used for.
iogroup group number (8 bit) Cassette iogroup definition. For details about value usage see XML - I/O
keyclear Clear key buffer on save start as well as save file selection errors (set in COMX, ETI, HUG and HEC)
out type, addressmask, mask, q port (1 to 7) When no type attribute is specified the port is configured as cassette output control port (used in the VIP 1=load, 2=save, 0=stop). With type="q" the port will be configured as cassette output. With type="micro" the port will be configured as micro computer cassette output port. For details about attribute and value usage see XML - I/O
stopdelay ms Number of ms the tape will continue saving after a stop command is given by CPU

Type: cv, fred

Cybervision, FRED 1 and 1.5 cassette definition.

child element attribute value description
bootstart Start tape on boot.
channel type channel (left or right) With type="audio" this indicates which channel is used for audio (speech or music). With type="data" this indicates which channel is used for data.
databits number of bits Number of databits.
dirname cassette directory name (text) Location of cassette file; defined as sub-dir of the main Emma 02 data directory. Attribute cassette (0 or 1) indicates which deck 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, type ef flag (1 to 4) The type attribute indicates the EF flag function: out = write buffer empty, in = data ready, run = casette running, error = casette error. For details about attribute and value usage see XML - I/O
filename cassette file name (text) Initial cassette filename. Attribute cassette (0 or 1) indicates which deck the file name is to be used for.
freq type tone frequency (in Hz) Tone frequency in Hz for bit value x (0 or 1).
in mask, mode, q port (1 to 7) Cassette input port definition to read data. For details about attribute and value usage see XML - I/O
iogroup group number (8 bit) Cassette iogroup definition. For details about value usage see XML - I/O
out mask, type, q port (1 to 7) For Cybervision: cassette output port definition. For FRED type="mode": mode select (bit 4 = program mode, bit 5 = direct mode, bit 6 = write mode), type="sound": tape/sound selection (bit 0 = 1 - run tape, bit 1 = 1 - sound on, bit 2 = sound). For details about attribute and value usage see XML - I/O
startbit bit value (0 or 1) Start bit value, 0 or 1.
stopbit type bit value (0 or 1) Stop bit value, 0 or 1. Using type="ignore" will not check (i.e. ignore) the stopbit when loading/reading data.
stopdelay ms Number of ms the tape will continue saving after a stop command is given by CPU
stoptone Detect stop tone.
threshold type threshold value Threshold used for 8 (type="8bit"), 16 (type="16bit") and 24 (type="24bit") bit wav files. The threshold is used to ignore noise; if sound value is read from the wav file lower than the threshold it will not be used as data. If loading does not work, increase of decrease these values.