require '_h2ph_pre.ph';

no warnings qw(redefine misc);

require 'macppc/dev/z8530sc.ph';
require 'macppc/dev/dbdma.ph';
unless(defined(&ZSC_PCLK)) {
    sub ZSC_PCLK () {	0x1;}
}
unless(defined(&ZSC_RTXBRG)) {
    sub ZSC_RTXBRG () {	0x2;}
}
unless(defined(&ZSC_RTXDIV)) {
    sub ZSC_RTXDIV () {	0x4;}
}
unless(defined(&ZSC_TRXDIV)) {
    sub ZSC_TRXDIV () {	0x8;}
}
unless(defined(&ZSC_VARIABLE)) {
    sub ZSC_VARIABLE () {	0x40;}
}
unless(defined(&ZSC_EXTERN)) {
    sub ZSC_EXTERN () {	0x80;}
}
unless(defined(&ZSC_BRG)) {
    sub ZSC_BRG () {	0x3;}
}
unless(defined(&ZSC_DIV)) {
    sub ZSC_DIV () {	0xc;}
}
unless(defined(&splzs)) {
    sub splzs () {	 &spltty;}
}
unless(defined(&ZS_MD_SETCLK)) {
    sub ZS_MD_SETCLK {
	my($cs) = @_;
	eval q( &zsmd_setclock($cs));
    }
}
unless(defined(&PCLK)) {
    sub PCLK () {	(9600* 384);}
}
unless(defined(&ZSCCF_CHANNEL)) {
    eval 'sub ZSCCF_CHANNEL () {0;}' unless defined(&ZSCCF_CHANNEL);
    eval 'sub ZSCCF_CHANNEL_DEFAULT () {-1;}' unless defined(&ZSCCF_CHANNEL_DEFAULT);
}
1;
