<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE EDL PUBLIC "-//OPENEMULATOR//DTD EDL 1.0//EN" "http://www.openemulator.org/DTD/edl-1.0.dtd">
<edl version="1.0" creator="OpenEmulator" framework="787" label="Apple-1 Cassette Interface Card" image="images/Apple/Apple-1 Cassette Interface Card.png" description="The Apple-1 Cassette Interface Card connects the virtual audio recorder to Apple-1 computers. To load data from a recording, enter C100R in the monitor, enter the memory range in hex as XXXX.YYYYR and press play.">
    
    <device id="appleACI" label="Apple-1 Cassette Interface Card" image="images/Apple/Apple-1 Cassette Interface Card.png">
        <setting ref="appleACI.io" name="volume" label="Volume" type="slider" options="0,1"/>
    </device>
    <connector id="appleACI.connector" type="Apple-1 Expansion Port">
        <inlet ref="appleACI.addressMapper" property="addressDecoder" outletRef="memoryBus"/>
        <inlet ref="appleACI.audioCodec" property="controlBus" outletRef="controlBus"/>
    </connector>
    <component id="appleACI.addressMapper" class="AddressMapper">
        <property name="addressDecoder" ref=""/>
        <property name="mapIO" value="0xc000-0xc0ff"/>
        <property name="refIO" ref="appleACI.io"/>
        <property name="mapROM" value="0xc100-0xc1ff"/>
        <property name="refROM" ref="appleACI.rom"/>
        <property name="sel" value="IO,ROM"/>
    </component>
    <component id="appleACI.io" class="Apple1ACI">
        <property name="volume" value="1"/>
        <property name="noiseRejection" value="0.04"/>
        <property name="audioCodec" ref="appleACI.audioCodec"/>
        <property name="rom" ref="appleACI.rom"/>
    </component>
    <component id="appleACI.audioCodec" class="AudioCodec">
        <property name="audio" ref="audio"/>
        <property name="controlBus" ref=""/>
        <property name="timeAccuracy" value="0.000001"/>
        <property name="filterSize" value="17"/>
        <property name="lowFrequency" value="20"/>
        <property name="highFrequency" value="10000"/>
    </component>
    <component id="appleACI.rom" class="ROM">
        <property name="memoryImage" data="${resourcePath}/roms/Apple/Apple-1 ACI ROM.bin"/>
    </component>
    
</edl>
