require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&MANUFACTURER_1)) {
    sub MANUFACTURER_1 () {	514;}
}
unless(defined(&PRODUCT_1)) {
    sub PRODUCT_1 () {	9;}
}
unless(defined(&MANUFACTURER_2)) {
    sub MANUFACTURER_2 () {	1053;}
}
unless(defined(&PRODUCT_2)) {
    sub PRODUCT_2 () {	9;}
}
unless(defined(&checkbyte)) {
    sub checkbyte () {	 $buffers[0];}
}
unless(defined(&dipswitches)) {
    sub dipswitches () {	 $buffers[2];}
}
unless(defined(&BUFPTR)) {
    sub BUFPTR {
	local($b,$n,$o) = @_;
	eval q((($b)-> $buffers[($n)*512+($o)*2]));
    }
}
unless(defined(&ARC_TXDIS)) {
    sub ARC_TXDIS () {	0x1;}
}
unless(defined(&ARC_RXDIS)) {
    sub ARC_RXDIS () {	0x2;}
}
unless(defined(&ARC_TX)) {
    sub ARC_TX {
	local($x) = @_;
	eval q((0x3 | (($x)<<3)));
    }
}
unless(defined(&ARC_RX)) {
    sub ARC_RX {
	local($x) = @_;
	eval q((0x4 | (($x)<<3)));
    }
}
unless(defined(&ARC_RXBC)) {
    sub ARC_RXBC {
	local($x) = @_;
	eval q((0x84 | (($x)<<3)));
    }
}
unless(defined(&ARC_CONF)) {
    sub ARC_CONF {
	local($x) = @_;
	eval q((0x5 | ($x)));
    }
}
unless(defined(&CLR_POR)) {
    sub CLR_POR () {	0x8;}
}
unless(defined(&CLR_RECONFIG)) {
    sub CLR_RECONFIG () {	0x10;}
}
unless(defined(&ARC_CLR)) {
    sub ARC_CLR {
	local($x) = @_;
	eval q((0x6 | ($x)));
    }
}
unless(defined(&CONF_LONG)) {
    sub CONF_LONG () {	0x8;}
}
unless(defined(&CONF_SHORT)) {
    sub CONF_SHORT () {	0x;}
}
unless(defined(&ARC_LDTST)) {
    sub ARC_LDTST {
	local($x) = @_;
	eval q((0x7 | ($x)));
    }
}
unless(defined(&TEST_ON)) {
    sub TEST_ON () {	0x8;}
}
unless(defined(&TEST_OFF)) {
    sub TEST_OFF () {	0x;}
}
unless(defined(&ARC_TA)) {
    sub ARC_TA () {	1;}
}
unless(defined(&ARC_TMA)) {
    sub ARC_TMA () {	2;}
}
unless(defined(&ARC_RECON)) {
    sub ARC_RECON () {	4;}
}
unless(defined(&ARC_TEST)) {
    sub ARC_TEST () {	8;}
}
unless(defined(&ARC_POR)) {
    sub ARC_POR () {	0x10;}
}
unless(defined(&ARC_ET1)) {
    sub ARC_ET1 () {	0x20;}
}
unless(defined(&ARC_ET2)) {
    sub ARC_ET2 () {	0x40;}
}
unless(defined(&ARC_RI)) {
    sub ARC_RI () {	0x80;}
}
1;
