require '_h2ph_pre.ph';

no warnings 'redefine';

if(defined(&PCDISPLAY_SOFTCURSOR)) {
}
unless(defined(&pcdisplay_6845_read)) {
    sub pcdisplay_6845_read {
	my($ph, $reg) = @_;
	eval q( &_pcdisplay_6845_read($ph,  &offsetof('struct reg_mc6845', $reg)));
    }
}
unless(defined(&pcdisplay_6845_write)) {
    sub pcdisplay_6845_write {
	my($ph, $reg, $val) = @_;
	eval q( &_pcdisplay_6845_write($ph,  &offsetof('struct reg_mc6845', $reg), $val));
    }
}
if(0) {
}
1;
