<?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 Language Card" image="images/Apple/Apple Language Card.png" description="The Apple Language Card is a 16 kiB memory expansion for Apple II and II plus computers that also provides an autostart F8 ROM for the Apple II. It is usually installed in slot 0.">
    
    <device id="appleLanguageCard" label="Apple Language Card" image="images/Apple/Apple Language Card.png">
    </device>
    <connector id="appleLanguageCard.connector" type="Apple II Slot">
        <inlet ref="appleLanguageCard.addressMapper" property="addressDecoder" outletRef="memoryBus"/>
        <inlet ref="appleLanguageCard.io" property="controlBus" outletRef="controlBus"/>
        <inlet ref="appleLanguageCard.io" property="memoryBus" outletRef="memoryBus"/>
        <inlet ref="appleLanguageCard.io" property="floatingBus" outletRef="floatingBus"/>
        <inlet ref="appleLanguageCard.ram" property="controlBus" outletRef="controlBus"/>
    </connector>
    <component id="appleLanguageCard.addressMapper" class="AddressMapper">
        <property name="addressDecoder" ref=""/>
        <property name="mapROM" value="0xf800-0xffff"/>
        <property name="refROM" ref="appleLanguageCard.romF8"/>
        <property name="sel" value="ROM"/>
    </component>
    <component id="appleLanguageCard.romF8" class="ROM">
        <property name="memoryImage" data="${resourcePath}/roms/Apple/341-0020-F8.bin"/>
    </component>
    <component id="appleLanguageCard.io" class="AppleLanguageCard">
        <property name="controlBus" ref=""/>
        <property name="memoryBus" ref=""/>
        <property name="floatingBus" ref=""/>
        <property name="bankSwitcher" ref="appleLanguageCard.bankSwitcher"/>
        <property name="bank1" value="0"/>
        <property name="ramRead" value="0"/>
        <property name="preWrite" value="0"/>
        <property name="ramWrite" value="0"/>
    </component>
    <component id="appleLanguageCard.bankSwitcher" class="AddressOffset">
        <property name="memory" ref="appleLanguageCard.ram"/>
        <property name="size" value="0x4000"/>
        <property name="blockSize" value="0x1000"/>
    </component>
    <component id="appleLanguageCard.ram" class="RAM">
        <property name="size" value="0x4000"/>
        <property name="memoryImage" data="${packagePath}/${id}.bin"/>
        <property name="controlBus" ref=""/>
        <property name="powerOnPattern" value="0xffff0000"/>
    </component>
    
</edl>
