require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_NM256_H_)) {
    eval 'sub _NM256_H_ () {1;}' unless defined(&_NM256_H_);
    eval 'sub NM_SIGNATURE () {0x4e4d0000;}' unless defined(&NM_SIGNATURE);
    eval 'sub NM_SIG_MASK () {0xffff0000;}' unless defined(&NM_SIG_MASK);
    eval 'sub NM_PORT2_SIZE () {4096;}' unless defined(&NM_PORT2_SIZE);
    eval 'sub NM_MIXER_OFFSET () {0x600;}' unless defined(&NM_MIXER_OFFSET);
    eval 'sub NM_MAX_COEFFICIENT () {0x5000;}' unless defined(&NM_MAX_COEFFICIENT);
    eval 'sub NM_INT_REG () {0xa04;}' unless defined(&NM_INT_REG);
    eval 'sub NM_PLAYBACK_INT () {0x40;}' unless defined(&NM_PLAYBACK_INT);
    eval 'sub NM_RECORD_INT () {0x100;}' unless defined(&NM_RECORD_INT);
    eval 'sub NM_MISC_INT_1 () {0x4000;}' unless defined(&NM_MISC_INT_1);
    eval 'sub NM_MISC_INT_2 () {0x1;}' unless defined(&NM_MISC_INT_2);
    eval 'sub NM_MIXER_STATUS_OFFSET () {0xa04;}' unless defined(&NM_MIXER_STATUS_OFFSET);
    eval 'sub NM_MIXER_READY_MASK () {0x800;}' unless defined(&NM_MIXER_READY_MASK);
    eval 'sub NM2_PLAYBACK_INT () {0x10000;}' unless defined(&NM2_PLAYBACK_INT);
    eval 'sub NM2_RECORD_INT () {0x80000;}' unless defined(&NM2_RECORD_INT);
    eval 'sub NM2_MISC_INT_1 () {0x8;}' unless defined(&NM2_MISC_INT_1);
    eval 'sub NM2_MISC_INT_2 () {0x2;}' unless defined(&NM2_MISC_INT_2);
    eval 'sub NM2_MIXER_STATUS_OFFSET () {0xa06;}' unless defined(&NM2_MIXER_STATUS_OFFSET);
    eval 'sub NM2_MIXER_READY_MASK () {0x800;}' unless defined(&NM2_MIXER_READY_MASK);
    eval 'sub NM_PLAYBACK_REG_OFFSET () {0x;}' unless defined(&NM_PLAYBACK_REG_OFFSET);
    eval 'sub NM_RECORD_REG_OFFSET () {0x200;}' unless defined(&NM_RECORD_REG_OFFSET);
    eval 'sub NM_RATE_REG_OFFSET () {2;}' unless defined(&NM_RATE_REG_OFFSET);
    eval 'sub NM_RATE_STEREO () {1;}' unless defined(&NM_RATE_STEREO);
    eval 'sub NM_RATE_BITS_16 () {2;}' unless defined(&NM_RATE_BITS_16);
    eval 'sub NM_RATE_MASK () {0xf0;}' unless defined(&NM_RATE_MASK);
    eval 'sub NM_PLAYBACK_ENABLE_REG () {( &NM_PLAYBACK_REG_OFFSET + 0x1);}' unless defined(&NM_PLAYBACK_ENABLE_REG);
    eval 'sub NM_PLAYBACK_ENABLE_FLAG () {1;}' unless defined(&NM_PLAYBACK_ENABLE_FLAG);
    eval 'sub NM_PLAYBACK_ONESHOT () {2;}' unless defined(&NM_PLAYBACK_ONESHOT);
    eval 'sub NM_PLAYBACK_FREERUN () {4;}' unless defined(&NM_PLAYBACK_FREERUN);
    eval 'sub NM_AUDIO_MUTE_REG () {( &NM_PLAYBACK_REG_OFFSET + 0x18);}' unless defined(&NM_AUDIO_MUTE_REG);
    eval 'sub NM_AUDIO_MUTE_LEFT () {0x8000;}' unless defined(&NM_AUDIO_MUTE_LEFT);
    eval 'sub NM_AUDIO_MUTE_RIGHT () {0x80;}' unless defined(&NM_AUDIO_MUTE_RIGHT);
    eval 'sub NM_AUDIO_MUTE_BOTH () {0x8080;}' unless defined(&NM_AUDIO_MUTE_BOTH);
    eval 'sub NM_RECORD_ENABLE_REG () {( &NM_RECORD_REG_OFFSET + 0);}' unless defined(&NM_RECORD_ENABLE_REG);
    eval 'sub NM_RECORD_ENABLE_FLAG () {1;}' unless defined(&NM_RECORD_ENABLE_FLAG);
    eval 'sub NM_RECORD_FREERUN () {2;}' unless defined(&NM_RECORD_FREERUN);
    eval 'sub NM_RBUFFER_START () {( &NM_RECORD_REG_OFFSET + 0x4);}' unless defined(&NM_RBUFFER_START);
    eval 'sub NM_RBUFFER_END () {( &NM_RECORD_REG_OFFSET + 0x10);}' unless defined(&NM_RBUFFER_END);
    eval 'sub NM_RBUFFER_WMARK () {( &NM_RECORD_REG_OFFSET + 0xc);}' unless defined(&NM_RBUFFER_WMARK);
    eval 'sub NM_RBUFFER_CURRP () {( &NM_RECORD_REG_OFFSET + 0x8);}' unless defined(&NM_RBUFFER_CURRP);
    eval 'sub NM_PBUFFER_START () {( &NM_PLAYBACK_REG_OFFSET + 0x4);}' unless defined(&NM_PBUFFER_START);
    eval 'sub NM_PBUFFER_END () {( &NM_PLAYBACK_REG_OFFSET + 0x14);}' unless defined(&NM_PBUFFER_END);
    eval 'sub NM_PBUFFER_WMARK () {( &NM_PLAYBACK_REG_OFFSET + 0xc);}' unless defined(&NM_PBUFFER_WMARK);
    eval 'sub NM_PBUFFER_CURRP () {( &NM_PLAYBACK_REG_OFFSET + 0x8);}' unless defined(&NM_PBUFFER_CURRP);
    eval 'sub NM_TOTAL_COEFF_COUNT () {0x3158;}' unless defined(&NM_TOTAL_COEFF_COUNT);
    eval 'sub NM_COEFF_SIZES () {2*8;}' unless defined(&NM_COEFF_SIZES);
}
1;
