require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&MAD_NONE)) {
    sub MAD_NONE () {	0;}
}
unless(defined(&MAD_82C928)) {
    sub MAD_82C928 () {	1;}
}
unless(defined(&MAD_OTI601D)) {
    sub MAD_OTI601D () {	2;}
}
unless(defined(&MAD_82C929)) {
    sub MAD_82C929 () {	3;}
}
unless(defined(&MAD_82C931)) {
    sub MAD_82C931 () {	4;}
}
unless(defined(&MAD_BASE)) {
    sub MAD_BASE () {	0xf8d;}
}
unless(defined(&MAD_NPORT)) {
    sub MAD_NPORT () {	7;}
}
unless(defined(&MC1_PORT)) {
    sub MC1_PORT () {	0;}
}
unless(defined(&MC2_PORT)) {
    sub MC2_PORT () {	1;}
}
unless(defined(&MC3_PORT)) {
    sub MC3_PORT () {	2;}
}
unless(defined(&MC_PASSWD_REG)) {
    sub MC_PASSWD_REG () {	 &MC3_PORT;}
}
unless(defined(&MC4_PORT)) {
    sub MC4_PORT () {	3;}
}
unless(defined(&MC5_PORT)) {
    sub MC5_PORT () {	4;}
}
unless(defined(&MC6_PORT)) {
    sub MC6_PORT () {	5;}
}
unless(defined(&MC7_PORT)) {
    sub MC7_PORT () {	6;}
}
unless(defined(&MC1_NOCD)) {
    sub MC1_NOCD () {	0x;}
}
unless(defined(&MC1_JOYDISABLE)) {
    sub MC1_JOYDISABLE () {	0x1;}
}
unless(defined(&MC1_SONY)) {
    sub MC1_SONY () {	0x2;}
}
unless(defined(&MC1_MITSUMI)) {
    sub MC1_MITSUMI () {	0x4;}
}
unless(defined(&MC1_PANASONIC)) {
    sub MC1_PANASONIC () {	0x6;}
}
unless(defined(&MC1_SECIDE)) {
    sub MC1_SECIDE () {	0x8;}
}
unless(defined(&MC1_PRIMIDE)) {
    sub MC1_PRIMIDE () {	0xa;}
}
unless(defined(&MC2_CDDISABLE)) {
    sub MC2_CDDISABLE () {	0x3;}
}
unless(defined(&MC2_OPL4)) {
    sub MC2_OPL4 () {	0x20;}
}
unless(defined(&M_WSS_PORT0)) {
    sub M_WSS_PORT0 () {	0x530;}
}
unless(defined(&M_WSS_PORT1)) {
    sub M_WSS_PORT1 () {	0xe80;}
}
unless(defined(&M_WSS_PORT2)) {
    sub M_WSS_PORT2 () {	0xf40;}
}
unless(defined(&M_WSS_PORT3)) {
    sub M_WSS_PORT3 () {	0x604;}
}
unless(defined(&M_WSS_NPORTS)) {
    sub M_WSS_NPORTS () {	4;}
}
unless(defined(&M_WSS_PORT_SELECT)) {
    sub M_WSS_PORT_SELECT {
	my($i) = @_;
	eval q((0x80 | (($i) << 4)));
    }
}
unless(defined(&M_PASSWD_928)) {
    sub M_PASSWD_928 () {	0xe2;}
}
unless(defined(&M_PASSWD_929)) {
    sub M_PASSWD_929 () {	0xe3;}
}
unless(defined(&M_PASSWD_931)) {
    sub M_PASSWD_931 () {	0xe4;}
}
unless(defined(&MAD_REG1)) {
    sub MAD_REG1 () {	0x220;}
}
unless(defined(&MAD_LEN1)) {
    sub MAD_LEN1 () {	16;}
}
unless(defined(&MAD_REG2)) {
    sub MAD_REG2 () {	0x380;}
}
unless(defined(&MAD_LEN2)) {
    sub MAD_LEN2 () {	2;}
}
unless(defined(&MAD_REG3)) {
    sub MAD_REG3 () {	0x388;}
}
unless(defined(&MAD_LEN3)) {
    sub MAD_LEN3 () {	4;}
}
1;
