require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&TIMER_FREQ)) {
    eval 'sub TIMER_FREQ () {1193182;}' unless defined(&TIMER_FREQ);
}
unless(defined(&TIMER_DIV)) {
    sub TIMER_DIV {
	my($x) = @_;
	eval q((( &TIMER_FREQ+($x)/2)/($x)));
    }
}
unless(defined(&TIMER_CNTR0)) {
    sub TIMER_CNTR0 () {	0;}
}
unless(defined(&TIMER_CNTR1)) {
    sub TIMER_CNTR1 () {	1;}
}
unless(defined(&TIMER_CNTR2)) {
    sub TIMER_CNTR2 () {	2;}
}
unless(defined(&TIMER_MODE)) {
    sub TIMER_MODE () {	3;}
}
unless(defined(&TIMER_SEL0)) {
    sub TIMER_SEL0 () {	0x;}
}
unless(defined(&TIMER_SEL1)) {
    sub TIMER_SEL1 () {	0x40;}
}
unless(defined(&TIMER_SEL2)) {
    sub TIMER_SEL2 () {	0x80;}
}
unless(defined(&TIMER_INTTC)) {
    sub TIMER_INTTC () {	0x;}
}
unless(defined(&TIMER_ONESHOT)) {
    sub TIMER_ONESHOT () {	0x2;}
}
unless(defined(&TIMER_RATEGEN)) {
    sub TIMER_RATEGEN () {	0x4;}
}
unless(defined(&TIMER_SQWAVE)) {
    sub TIMER_SQWAVE () {	0x6;}
}
unless(defined(&TIMER_SWSTROBE)) {
    sub TIMER_SWSTROBE () {	0x8;}
}
unless(defined(&TIMER_HWSTROBE)) {
    sub TIMER_HWSTROBE () {	0xa;}
}
unless(defined(&TIMER_LATCH)) {
    sub TIMER_LATCH () {	0x;}
}
unless(defined(&TIMER_LSB)) {
    sub TIMER_LSB () {	0x10;}
}
unless(defined(&TIMER_MSB)) {
    sub TIMER_MSB () {	0x20;}
}
unless(defined(&TIMER_16BIT)) {
    sub TIMER_16BIT () {	0x30;}
}
unless(defined(&TIMER_BCD)) {
    sub TIMER_BCD () {	0x1;}
}
1;
