require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_PCI_YDSREG_H_)) {
    eval 'sub _DEV_PCI_YDSREG_H_ () {1;}' unless defined(&_DEV_PCI_YDSREG_H_);
    eval 'sub YDS_PCI_MBA () {0x10;}' unless defined(&YDS_PCI_MBA);
    eval 'sub YDS_PCI_LEGACY () {0x40;}' unless defined(&YDS_PCI_LEGACY);
    eval 'sub YDS_PCI_LEGACY_SBEN () {0x1;}' unless defined(&YDS_PCI_LEGACY_SBEN);
    eval 'sub YDS_PCI_LEGACY_FMEN () {0x2;}' unless defined(&YDS_PCI_LEGACY_FMEN);
    eval 'sub YDS_PCI_LEGACY_JPEN () {0x4;}' unless defined(&YDS_PCI_LEGACY_JPEN);
    eval 'sub YDS_PCI_LEGACY_MEN () {0x8;}' unless defined(&YDS_PCI_LEGACY_MEN);
    eval 'sub YDS_PCI_LEGACY_MIEN () {0x10;}' unless defined(&YDS_PCI_LEGACY_MIEN);
    eval 'sub YDS_PCI_LEGACY_IO () {0x20;}' unless defined(&YDS_PCI_LEGACY_IO);
    eval 'sub YDS_PCI_LEGACY_SDMA0 () {0x;}' unless defined(&YDS_PCI_LEGACY_SDMA0);
    eval 'sub YDS_PCI_LEGACY_SDMA1 () {0x40;}' unless defined(&YDS_PCI_LEGACY_SDMA1);
    eval 'sub YDS_PCI_LEGACY_SDMA3 () {0xc0;}' unless defined(&YDS_PCI_LEGACY_SDMA3);
    eval 'sub YDS_PCI_LEGACY_SBIRQ5 () {0x;}' unless defined(&YDS_PCI_LEGACY_SBIRQ5);
    eval 'sub YDS_PCI_LEGACY_SBIRQ7 () {0x100;}' unless defined(&YDS_PCI_LEGACY_SBIRQ7);
    eval 'sub YDS_PCI_LEGACY_SBIRQ9 () {0x200;}' unless defined(&YDS_PCI_LEGACY_SBIRQ9);
    eval 'sub YDS_PCI_LEGACY_SBIRQ10 () {0x300;}' unless defined(&YDS_PCI_LEGACY_SBIRQ10);
    eval 'sub YDS_PCI_LEGACY_SBIRQ11 () {0x400;}' unless defined(&YDS_PCI_LEGACY_SBIRQ11);
    eval 'sub YDS_PCI_LEGACY_MPUIRQ5 () {0x;}' unless defined(&YDS_PCI_LEGACY_MPUIRQ5);
    eval 'sub YDS_PCI_LEGACY_MPUIRQ7 () {0x800;}' unless defined(&YDS_PCI_LEGACY_MPUIRQ7);
    eval 'sub YDS_PCI_LEGACY_MPUIRQ9 () {0x1000;}' unless defined(&YDS_PCI_LEGACY_MPUIRQ9);
    eval 'sub YDS_PCI_LEGACY_MPUIRQ10 () {0x1800;}' unless defined(&YDS_PCI_LEGACY_MPUIRQ10);
    eval 'sub YDS_PCI_LEGACY_MPUIRQ11 () {0x2000;}' unless defined(&YDS_PCI_LEGACY_MPUIRQ11);
    eval 'sub YDS_PCI_LEGACY_SIEN () {0x4000;}' unless defined(&YDS_PCI_LEGACY_SIEN);
    eval 'sub YDS_PCI_LEGACY_LAD () {0x8000;}' unless defined(&YDS_PCI_LEGACY_LAD);
    eval 'sub YDS_PCI_EX_LEGACY_FMIO_388 () {(0x << 16);}' unless defined(&YDS_PCI_EX_LEGACY_FMIO_388);
    eval 'sub YDS_PCI_EX_LEGACY_FMIO_398 () {(0x1 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_FMIO_398);
    eval 'sub YDS_PCI_EX_LEGACY_FMIO_3A0 () {(0x2 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_FMIO_3A0);
    eval 'sub YDS_PCI_EX_LEGACY_FMIO_3A8 () {(0x3 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_FMIO_3A8);
    eval 'sub YDS_PCI_EX_LEGACY_SBIO_220 () {(0x << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SBIO_220);
    eval 'sub YDS_PCI_EX_LEGACY_SBIO_240 () {(0x4 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SBIO_240);
    eval 'sub YDS_PCI_EX_LEGACY_SBIO_260 () {(0x8 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SBIO_260);
    eval 'sub YDS_PCI_EX_LEGACY_SBIO_280 () {(0xc << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SBIO_280);
    eval 'sub YDS_PCI_EX_LEGACY_MPUIO_330 () {(0x << 16);}' unless defined(&YDS_PCI_EX_LEGACY_MPUIO_330);
    eval 'sub YDS_PCI_EX_LEGACY_MPUIO_300 () {(0x10 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_MPUIO_300);
    eval 'sub YDS_PCI_EX_LEGACY_MPUIO_332 () {(0x20 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_MPUIO_332);
    eval 'sub YDS_PCI_EX_LEGACY_MPUIO_334 () {(0x30 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_MPUIO_334);
    eval 'sub YDS_PCI_EX_LEGACY_JSIO_201 () {(0x << 16);}' unless defined(&YDS_PCI_EX_LEGACY_JSIO_201);
    eval 'sub YDS_PCI_EX_LEGACY_JSIO_202 () {(0x40 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_JSIO_202);
    eval 'sub YDS_PCI_EX_LEGACY_JSIO_204 () {(0x80 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_JSIO_204);
    eval 'sub YDS_PCI_EX_LEGACY_JSIO_205 () {(0xc0 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_JSIO_205);
    eval 'sub YDS_PCI_EX_LEGACY_MAIM () {(0x100 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_MAIM);
    eval 'sub YDS_PCI_EX_LEGACY_SMOD_PCI () {(0x << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SMOD_PCI);
    eval 'sub YDS_PCI_EX_LEGACY_SMOD_DISABLE () {(0x800 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SMOD_DISABLE);
    eval 'sub YDS_PCI_EX_LEGACY_SMOD_DDMA () {(0x1000 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SMOD_DDMA);
    eval 'sub YDS_PCI_EX_LEGACY_SBVER_3 () {(0x << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SBVER_3);
    eval 'sub YDS_PCI_EX_LEGACY_SBVER_2 () {(0x2000 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SBVER_2);
    eval 'sub YDS_PCI_EX_LEGACY_SBVER_1 () {(0x4000 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_SBVER_1);
    eval 'sub YDS_PCI_EX_LEGACY_IMOD () {(0x8000 << 16);}' unless defined(&YDS_PCI_EX_LEGACY_IMOD);
    eval 'sub YDS_PCI_DSCTRL () {0x48;}' unless defined(&YDS_PCI_DSCTRL);
    eval 'sub YDS_DSCTRL_CRST () {0x1;}' unless defined(&YDS_DSCTRL_CRST);
    eval 'sub YDS_DSCTRL_WRST () {0x4;}' unless defined(&YDS_DSCTRL_WRST);
    eval 'sub YDS_PCI_FM_BA () {0x60;}' unless defined(&YDS_PCI_FM_BA);
    eval 'sub YDS_PCI_SB_BA () {0x62;}' unless defined(&YDS_PCI_SB_BA);
    eval 'sub YDS_PCI_MPU_BA () {0x64;}' unless defined(&YDS_PCI_MPU_BA);
    eval 'sub YDS_PCI_JS_BA () {0x66;}' unless defined(&YDS_PCI_JS_BA);
    eval 'sub YDS_INTERRUPT_FLAGS () {0x4;}' unless defined(&YDS_INTERRUPT_FLAGS);
    eval 'sub YDS_INTERRUPT_FLAGS_TI () {0x1;}' unless defined(&YDS_INTERRUPT_FLAGS_TI);
    eval 'sub YDS_ACTIVITY () {0x6;}' unless defined(&YDS_ACTIVITY);
    eval 'sub YDS_ACTIVITY_DOCKA () {0x10;}' unless defined(&YDS_ACTIVITY_DOCKA);
    eval 'sub YDS_GLOBAL_CONTROL () {0x8;}' unless defined(&YDS_GLOBAL_CONTROL);
    eval 'sub YDS_GLCTRL_HVE () {0x1;}' unless defined(&YDS_GLCTRL_HVE);
    eval 'sub YDS_GLCTRL_HVIE () {0x2;}' unless defined(&YDS_GLCTRL_HVIE);
    eval 'sub YDS_GPIO_IIF () {0x50;}' unless defined(&YDS_GPIO_IIF);
    eval 'sub YDS_GPIO_GIO0 () {0x1;}' unless defined(&YDS_GPIO_GIO0);
    eval 'sub YDS_GPIO_GIO1 () {0x2;}' unless defined(&YDS_GPIO_GIO1);
    eval 'sub YDS_GPIO_GIO2 () {0x4;}' unless defined(&YDS_GPIO_GIO2);
    eval 'sub YDS_GPIO_IIE () {0x52;}' unless defined(&YDS_GPIO_IIE);
    eval 'sub YDS_GPIO_GIE0 () {0x1;}' unless defined(&YDS_GPIO_GIE0);
    eval 'sub YDS_GPIO_GIE1 () {0x2;}' unless defined(&YDS_GPIO_GIE1);
    eval 'sub YDS_GPIO_GIE2 () {0x4;}' unless defined(&YDS_GPIO_GIE2);
    eval 'sub YDS_GPIO_ISTAT () {0x54;}' unless defined(&YDS_GPIO_ISTAT);
    eval 'sub YDS_GPIO_GPI0 () {0x1;}' unless defined(&YDS_GPIO_GPI0);
    eval 'sub YDS_GPIO_GPI1 () {0x2;}' unless defined(&YDS_GPIO_GPI1);
    eval 'sub YDS_GPIO_GPI2 () {0x4;}' unless defined(&YDS_GPIO_GPI2);
    eval 'sub YDS_GPIO_OCTRL () {0x56;}' unless defined(&YDS_GPIO_OCTRL);
    eval 'sub YDS_GPIO_GPO0 () {0x1;}' unless defined(&YDS_GPIO_GPO0);
    eval 'sub YDS_GPIO_GPO1 () {0x2;}' unless defined(&YDS_GPIO_GPO1);
    eval 'sub YDS_GPIO_GPO2 () {0x4;}' unless defined(&YDS_GPIO_GPO2);
    eval 'sub YDS_GPIO_FUNCE () {0x58;}' unless defined(&YDS_GPIO_FUNCE);
    eval 'sub YDS_GPIO_GPC0 () {0x1;}' unless defined(&YDS_GPIO_GPC0);
    eval 'sub YDS_GPIO_GPC1 () {0x2;}' unless defined(&YDS_GPIO_GPC1);
    eval 'sub YDS_GPIO_GPC2 () {0x4;}' unless defined(&YDS_GPIO_GPC2);
    eval 'sub YDS_GPIO_GPE0 () {0x10;}' unless defined(&YDS_GPIO_GPE0);
    eval 'sub YDS_GPIO_GPE1 () {0x20;}' unless defined(&YDS_GPIO_GPE1);
    eval 'sub YDS_GPIO_GPE2 () {0x40;}' unless defined(&YDS_GPIO_GPE2);
    eval 'sub YDS_GPIO_ITYPE () {0x5a;}' unless defined(&YDS_GPIO_ITYPE);
    eval 'sub YDS_GPIO_GPT0_LEVEL () {0x;}' unless defined(&YDS_GPIO_GPT0_LEVEL);
    eval 'sub YDS_GPIO_GPT0_RISE () {0x1;}' unless defined(&YDS_GPIO_GPT0_RISE);
    eval 'sub YDS_GPIO_GPT0_FALL () {0x2;}' unless defined(&YDS_GPIO_GPT0_FALL);
    eval 'sub YDS_GPIO_GPT0_BOTH () {0x3;}' unless defined(&YDS_GPIO_GPT0_BOTH);
    eval 'sub YDS_GPIO_GPT0_MASK () {0x3;}' unless defined(&YDS_GPIO_GPT0_MASK);
    eval 'sub YDS_GPIO_GPT1_LEVEL () {0x4;}' unless defined(&YDS_GPIO_GPT1_LEVEL);
    eval 'sub YDS_GPIO_GPT1_RISE () {0x5;}' unless defined(&YDS_GPIO_GPT1_RISE);
    eval 'sub YDS_GPIO_GPT1_FALL () {0x6;}' unless defined(&YDS_GPIO_GPT1_FALL);
    eval 'sub YDS_GPIO_GPT1_BOTH () {0x7;}' unless defined(&YDS_GPIO_GPT1_BOTH);
    eval 'sub YDS_GPIO_GPT1_MASK () {0x7;}' unless defined(&YDS_GPIO_GPT1_MASK);
    eval 'sub YDS_GPIO_GPT2_LEVEL () {0x;}' unless defined(&YDS_GPIO_GPT2_LEVEL);
    eval 'sub YDS_GPIO_GPT2_RISE () {0x10;}' unless defined(&YDS_GPIO_GPT2_RISE);
    eval 'sub YDS_GPIO_GPT2_FALL () {0x20;}' unless defined(&YDS_GPIO_GPT2_FALL);
    eval 'sub YDS_GPIO_GPT2_BOTH () {0x30;}' unless defined(&YDS_GPIO_GPT2_BOTH);
    eval 'sub YDS_GPIO_GPT2_MASK () {0x30;}' unless defined(&YDS_GPIO_GPT2_MASK);
    eval 'sub YDS_GLOBAL_CONTROL () {0x8;}' unless defined(&YDS_GLOBAL_CONTROL);
    eval 'sub YDS_GLCTRL_HVE () {0x1;}' unless defined(&YDS_GLCTRL_HVE);
    eval 'sub YDS_GLCTRL_HVIE () {0x2;}' unless defined(&YDS_GLCTRL_HVIE);
    eval 'sub AC97_CMD_DATA () {0x60;}' unless defined(&AC97_CMD_DATA);
    eval 'sub AC97_CMD_ADDR () {0x62;}' unless defined(&AC97_CMD_ADDR);
    eval 'sub AC97_ID {
        my($id) = @_;
	    eval q((($id) << 8));
    }' unless defined(&AC97_ID);
    eval 'sub AC97_CMD_READ () {0x8000;}' unless defined(&AC97_CMD_READ);
    eval 'sub AC97_CMD_WRITE () {0x;}' unless defined(&AC97_CMD_WRITE);
    eval 'sub AC97_STAT_DATA1 () {0x64;}' unless defined(&AC97_STAT_DATA1);
    eval 'sub AC97_STAT_ADDR1 () {0x66;}' unless defined(&AC97_STAT_ADDR1);
    eval 'sub AC97_STAT_DATA2 () {0x68;}' unless defined(&AC97_STAT_DATA2);
    eval 'sub AC97_STAT_ADDR2 () {0x6a;}' unless defined(&AC97_STAT_ADDR2);
    eval 'sub AC97_BUSY () {0x8000;}' unless defined(&AC97_BUSY);
    eval 'sub YDS_LEGACY_OUT_VOLUME () {0x80;}' unless defined(&YDS_LEGACY_OUT_VOLUME);
    eval 'sub YDS_DAC_OUT_VOLUME () {0x84;}' unless defined(&YDS_DAC_OUT_VOLUME);
    eval 'sub YDS_DAC_OUT_VOL_L () {0x84;}' unless defined(&YDS_DAC_OUT_VOL_L);
    eval 'sub YDS_DAC_OUT_VOL_R () {0x86;}' unless defined(&YDS_DAC_OUT_VOL_R);
    eval 'sub YDS_ZV_OUT_VOLUME () {0x88;}' unless defined(&YDS_ZV_OUT_VOLUME);
    eval 'sub YDS_2ND_OUT_VOLUME () {0x8c;}' unless defined(&YDS_2ND_OUT_VOLUME);
    eval 'sub YDS_ADC_OUT_VOLUME () {0x90;}' unless defined(&YDS_ADC_OUT_VOLUME);
    eval 'sub YDS_LEGACY_REC_VOLUME () {0x94;}' unless defined(&YDS_LEGACY_REC_VOLUME);
    eval 'sub YDS_DAC_REC_VOLUME () {0x98;}' unless defined(&YDS_DAC_REC_VOLUME);
    eval 'sub YDS_ZV_REC_VOLUME () {0x9c;}' unless defined(&YDS_ZV_REC_VOLUME);
    eval 'sub YDS_2ND_REC_VOLUME () {0xa0;}' unless defined(&YDS_2ND_REC_VOLUME);
    eval 'sub YDS_ADC_REC_VOLUME () {0xa4;}' unless defined(&YDS_ADC_REC_VOLUME);
    eval 'sub YDS_ADC_IN_VOLUME () {0xa8;}' unless defined(&YDS_ADC_IN_VOLUME);
    eval 'sub YDS_REC_IN_VOLUME () {0xac;}' unless defined(&YDS_REC_IN_VOLUME);
    eval 'sub YDS_P44_OUT_VOLUME () {0xb0;}' unless defined(&YDS_P44_OUT_VOLUME);
    eval 'sub YDS_P44_REC_VOLUME () {0xb4;}' unless defined(&YDS_P44_REC_VOLUME);
    eval 'sub YDS_SPDIFIN_OUT_VOLUME () {0xb8;}' unless defined(&YDS_SPDIFIN_OUT_VOLUME);
    eval 'sub YDS_SPDIFIN_REC_VOLUME () {0xbc;}' unless defined(&YDS_SPDIFIN_REC_VOLUME);
    eval 'sub YDS_ADC_SAMPLE_RATE () {0xc0;}' unless defined(&YDS_ADC_SAMPLE_RATE);
    eval 'sub YDS_REC_SAMPLE_RATE () {0xc4;}' unless defined(&YDS_REC_SAMPLE_RATE);
    eval 'sub YDS_ADC_FORMAT () {0xc8;}' unless defined(&YDS_ADC_FORMAT);
    eval 'sub YDS_REC_FORMAT () {0xcc;}' unless defined(&YDS_REC_FORMAT);
    eval 'sub YDS_FORMAT_8BIT () {0x1;}' unless defined(&YDS_FORMAT_8BIT);
    eval 'sub YDS_FORMAT_STEREO () {0x2;}' unless defined(&YDS_FORMAT_STEREO);
    eval 'sub YDS_STATUS () {0x100;}' unless defined(&YDS_STATUS);
    eval 'sub YDS_STAT_ACT () {0x1;}' unless defined(&YDS_STAT_ACT);
    eval 'sub YDS_STAT_WORK () {0x2;}' unless defined(&YDS_STAT_WORK);
    eval 'sub YDS_STAT_TINT () {0x8000;}' unless defined(&YDS_STAT_TINT);
    eval 'sub YDS_STAT_INT () {0x80000000;}' unless defined(&YDS_STAT_INT);
    eval 'sub YDS_CONTROL_SELECT () {0x104;}' unless defined(&YDS_CONTROL_SELECT);
    eval 'sub YDS_CSEL () {0x1;}' unless defined(&YDS_CSEL);
    eval 'sub YDS_MODE () {0x108;}' unless defined(&YDS_MODE);
    eval 'sub YDS_MODE_ACTV () {0x1;}' unless defined(&YDS_MODE_ACTV);
    eval 'sub YDS_MODE_ACTV2 () {0x2;}' unless defined(&YDS_MODE_ACTV2);
    eval 'sub YDS_MODE_TOUT () {0x8000;}' unless defined(&YDS_MODE_TOUT);
    eval 'sub YDS_MODE_RESET () {0x10000;}' unless defined(&YDS_MODE_RESET);
    eval 'sub YDS_MODE_AC3 () {0x40000000;}' unless defined(&YDS_MODE_AC3);
    eval 'sub YDS_MODE_MUTE () {0x80000000;}' unless defined(&YDS_MODE_MUTE);
    eval 'sub YDS_CONFIG () {0x114;}' unless defined(&YDS_CONFIG);
    eval 'sub YDS_DSP_DISABLE () {0;}' unless defined(&YDS_DSP_DISABLE);
    eval 'sub YDS_DSP_SETUP () {0x1;}' unless defined(&YDS_DSP_SETUP);
    eval 'sub YDS_PLAY_CTRLSIZE () {0x140;}' unless defined(&YDS_PLAY_CTRLSIZE);
    eval 'sub YDS_REC_CTRLSIZE () {0x144;}' unless defined(&YDS_REC_CTRLSIZE);
    eval 'sub YDS_EFFECT_CTRLSIZE () {0x148;}' unless defined(&YDS_EFFECT_CTRLSIZE);
    eval 'sub YDS_WORK_SIZE () {0x14c;}' unless defined(&YDS_WORK_SIZE);
    eval 'sub YDS_MAPOF_REC () {0x150;}' unless defined(&YDS_MAPOF_REC);
    eval 'sub YDS_RECSLOT_VALID () {0x1;}' unless defined(&YDS_RECSLOT_VALID);
    eval 'sub YDS_ADCSLOT_VALID () {0x2;}' unless defined(&YDS_ADCSLOT_VALID);
    eval 'sub YDS_MAPOF_EFFECT () {0x154;}' unless defined(&YDS_MAPOF_EFFECT);
    eval 'sub YDS_DL_VALID () {0x1;}' unless defined(&YDS_DL_VALID);
    eval 'sub YDS_DR_VALID () {0x2;}' unless defined(&YDS_DR_VALID);
    eval 'sub YDS_EFFECT1_VALID () {0x4;}' unless defined(&YDS_EFFECT1_VALID);
    eval 'sub YDS_EFFECT2_VALID () {0x8;}' unless defined(&YDS_EFFECT2_VALID);
    eval 'sub YDS_EFFECT3_VALID () {0x10;}' unless defined(&YDS_EFFECT3_VALID);
    eval 'sub YDS_PLAY_CTRLBASE () {0x158;}' unless defined(&YDS_PLAY_CTRLBASE);
    eval 'sub YDS_REC_CTRLBASE () {0x15c;}' unless defined(&YDS_REC_CTRLBASE);
    eval 'sub YDS_EFFECT_CTRLBASE () {0x160;}' unless defined(&YDS_EFFECT_CTRLBASE);
    eval 'sub YDS_WORK_BASE () {0x164;}' unless defined(&YDS_WORK_BASE);
    eval 'sub YDS_DSP_INSTRAM () {0x1000;}' unless defined(&YDS_DSP_INSTRAM);
    eval 'sub YDS_CTRL_INSTRAM () {0x4000;}' unless defined(&YDS_CTRL_INSTRAM);
    eval("sub YDS_DS_1 () { 0; }") unless defined(&YDS_DS_1);
    eval("sub YDS_DS_1E () { 1; }") unless defined(&YDS_DS_1E);
    eval 'sub AC97_TIMEOUT () {1000;}' unless defined(&AC97_TIMEOUT);
    eval 'sub YDS_WORK_TIMEOUT () {250000;}' unless defined(&YDS_WORK_TIMEOUT);
    eval 'sub MAX_PLAY_SLOT_CTRL () {64;}' unless defined(&MAX_PLAY_SLOT_CTRL);
    eval 'sub N_PLAY_SLOT_CTRL_BANK () {2;}' unless defined(&N_PLAY_SLOT_CTRL_BANK);
    eval 'sub N_REC_SLOT_CTRL () {2;}' unless defined(&N_REC_SLOT_CTRL);
    eval 'sub N_REC_SLOT_CTRL_BANK () {2;}' unless defined(&N_REC_SLOT_CTRL_BANK);
    eval 'sub PSLT_FORMAT_STEREO () {0x10000;}' unless defined(&PSLT_FORMAT_STEREO);
    eval 'sub PSLT_FORMAT_8BIT () {0x80000000;}' unless defined(&PSLT_FORMAT_8BIT);
    eval 'sub PSLT_FORMAT_SRC441 () {0x10000000;}' unless defined(&PSLT_FORMAT_SRC441);
    eval 'sub PSLT_FORMAT_RCH () {0x1;}' unless defined(&PSLT_FORMAT_RCH);
    eval 'sub PSLT_STATUS_DEND () {0x1;}' unless defined(&PSLT_STATUS_DEND);
    eval 'sub N_PLAY_SLOTS () {2;}' unless defined(&N_PLAY_SLOTS);
    eval 'sub N_PLAY_SLOT_CTRL () {2;}' unless defined(&N_PLAY_SLOT_CTRL);
    eval 'sub WORK_SIZE () {0x400;}' unless defined(&WORK_SIZE);
    eval 'sub sc_opl_iot () { &sc_legacy_iot;}' unless defined(&sc_opl_iot);
    eval 'sub sc_mpu_iot () { &sc_legacy_iot;}' unless defined(&sc_mpu_iot);
}
1;
