require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_SBUS_ZXREG_H_)) {
    eval 'sub _DEV_SBUS_ZXREG_H_ () {1;}' unless defined(&_DEV_SBUS_ZXREG_H_);
    eval 'sub ZX_OFF_UNK2 () {0x;}' unless defined(&ZX_OFF_UNK2);
    eval 'sub ZX_OFF_LC_SS0_KRN () {0x200000;}' unless defined(&ZX_OFF_LC_SS0_KRN);
    eval 'sub ZX_OFF_LC_SS0_USR () {0x201000;}' unless defined(&ZX_OFF_LC_SS0_USR);
    eval 'sub ZX_OFF_LD_SS0 () {0x400000;}' unless defined(&ZX_OFF_LD_SS0);
    eval 'sub ZX_OFF_LD_GBL () {0x401000;}' unless defined(&ZX_OFF_LD_GBL);
    eval 'sub ZX_OFF_LX_CROSS () {0x600000;}' unless defined(&ZX_OFF_LX_CROSS);
    eval 'sub ZX_OFF_LX_CURSOR () {0x601000;}' unless defined(&ZX_OFF_LX_CURSOR);
    eval 'sub ZX_OFF_UNK () {0x602000;}' unless defined(&ZX_OFF_UNK);
    eval 'sub ZX_OFF_SS0 () {0x800000;}' unless defined(&ZX_OFF_SS0);
    eval 'sub ZX_OFF_LC_SS1_KRN () {0x1200000;}' unless defined(&ZX_OFF_LC_SS1_KRN);
    eval 'sub ZX_OFF_LC_SS1_USR () {0x1201000;}' unless defined(&ZX_OFF_LC_SS1_USR);
    eval 'sub ZX_OFF_LD_SS1 () {0x1400000;}' unless defined(&ZX_OFF_LD_SS1);
    eval 'sub ZX_OFF_SS1 () {0x1800000;}' unless defined(&ZX_OFF_SS1);
    eval 'sub ZX_ATTR_PICK_DISABLE () {0x;}' unless defined(&ZX_ATTR_PICK_DISABLE);
    eval 'sub ZX_ATTR_PICK_2D () {0x80000000;}' unless defined(&ZX_ATTR_PICK_2D);
    eval 'sub ZX_ATTR_PICK_3D () {0xa0000000;}' unless defined(&ZX_ATTR_PICK_3D);
    eval 'sub ZX_ATTR_PICK_2D_REND () {0xc0000000;}' unless defined(&ZX_ATTR_PICK_2D_REND);
    eval 'sub ZX_ATTR_PICK_3D_REND () {0xe0000000;}' unless defined(&ZX_ATTR_PICK_3D_REND);
    eval 'sub ZX_ATTR_DCE_DISABLE () {0x;}' unless defined(&ZX_ATTR_DCE_DISABLE);
    eval 'sub ZX_ATTR_DCE_ENABLE () {0x10000000;}' unless defined(&ZX_ATTR_DCE_ENABLE);
    eval 'sub ZX_ATTR_APE_DISABLE () {0x;}' unless defined(&ZX_ATTR_APE_DISABLE);
    eval 'sub ZX_ATTR_APE_ENABLE () {0x8000000;}' unless defined(&ZX_ATTR_APE_ENABLE);
    eval 'sub ZX_ATTR_COLOR_VAR () {0x;}' unless defined(&ZX_ATTR_COLOR_VAR);
    eval 'sub ZX_ATTR_COLOR_CONST () {0x4000000;}' unless defined(&ZX_ATTR_COLOR_CONST);
    eval 'sub ZX_ATTR_AA_DISABLE () {0x2000000;}' unless defined(&ZX_ATTR_AA_DISABLE);
    eval 'sub ZX_ATTR_AA_ENABLE () {0x1000000;}' unless defined(&ZX_ATTR_AA_ENABLE);
    eval 'sub ZX_ATTR_ABE_BG () {0x;}' unless defined(&ZX_ATTR_ABE_BG);
    eval 'sub ZX_ATTR_ABE_FB () {0x800000;}' unless defined(&ZX_ATTR_ABE_FB);
    eval 'sub ZX_ATTR_ABE_DISABLE () {0x;}' unless defined(&ZX_ATTR_ABE_DISABLE);
    eval 'sub ZX_ATTR_ABE_ENABLE () {0x400000;}' unless defined(&ZX_ATTR_ABE_ENABLE);
    eval 'sub ZX_ATTR_BLTSRC_A () {0x;}' unless defined(&ZX_ATTR_BLTSRC_A);
    eval 'sub ZX_ATTR_BLTSRC_B () {0x200000;}' unless defined(&ZX_ATTR_BLTSRC_B);
    eval 'sub ZX_ROP_ZERO () {(0x << 18);}' unless defined(&ZX_ROP_ZERO);
    eval 'sub ZX_ROP_NEW_AND_OLD () {(0x8 << 18);}' unless defined(&ZX_ROP_NEW_AND_OLD);
    eval 'sub ZX_ROP_NEW_AND_NOLD () {(0x4 << 18);}' unless defined(&ZX_ROP_NEW_AND_NOLD);
    eval 'sub ZX_ROP_NEW () {(0xc << 18);}' unless defined(&ZX_ROP_NEW);
    eval 'sub ZX_ROP_NNEW_AND_OLD () {(0x2 << 18);}' unless defined(&ZX_ROP_NNEW_AND_OLD);
    eval 'sub ZX_ROP_OLD () {(0xa << 18);}' unless defined(&ZX_ROP_OLD);
    eval 'sub ZX_ROP_NEW_XOR_OLD () {(0x6 << 18);}' unless defined(&ZX_ROP_NEW_XOR_OLD);
    eval 'sub ZX_ROP_NEW_OR_OLD () {(0xe << 18);}' unless defined(&ZX_ROP_NEW_OR_OLD);
    eval 'sub ZX_ROP_NNEW_AND_NOLD () {(0x1 << 18);}' unless defined(&ZX_ROP_NNEW_AND_NOLD);
    eval 'sub ZX_ROP_NNEW_XOR_NOLD () {(0x9 << 18);}' unless defined(&ZX_ROP_NNEW_XOR_NOLD);
    eval 'sub ZX_ROP_NOLD () {(0x5 << 18);}' unless defined(&ZX_ROP_NOLD);
    eval 'sub ZX_ROP_NEW_OR_NOLD () {(0xd << 18);}' unless defined(&ZX_ROP_NEW_OR_NOLD);
    eval 'sub ZX_ROP_NNEW () {(0x3 << 18);}' unless defined(&ZX_ROP_NNEW);
    eval 'sub ZX_ROP_NNEW_OR_OLD () {(0xb << 18);}' unless defined(&ZX_ROP_NNEW_OR_OLD);
    eval 'sub ZX_ROP_NNEW_OR_NOLD () {(0x7 << 18);}' unless defined(&ZX_ROP_NNEW_OR_NOLD);
    eval 'sub ZX_ROP_ONES () {(0xf << 18);}' unless defined(&ZX_ROP_ONES);
    eval 'sub ZX_ATTR_HSR_DISABLE () {0x;}' unless defined(&ZX_ATTR_HSR_DISABLE);
    eval 'sub ZX_ATTR_HSR_ENABLE () {0x20000;}' unless defined(&ZX_ATTR_HSR_ENABLE);
    eval 'sub ZX_ATTR_WRITEZ_DISABLE () {0x;}' unless defined(&ZX_ATTR_WRITEZ_DISABLE);
    eval 'sub ZX_ATTR_WRITEZ_ENABLE () {0x10000;}' unless defined(&ZX_ATTR_WRITEZ_ENABLE);
    eval 'sub ZX_ATTR_Z_VAR () {0x;}' unless defined(&ZX_ATTR_Z_VAR);
    eval 'sub ZX_ATTR_Z_CONST () {0x8000;}' unless defined(&ZX_ATTR_Z_CONST);
    eval 'sub ZX_ATTR_WCLIP_DISABLE () {0x;}' unless defined(&ZX_ATTR_WCLIP_DISABLE);
    eval 'sub ZX_ATTR_WCLIP_ENABLE () {0x4000;}' unless defined(&ZX_ATTR_WCLIP_ENABLE);
    eval 'sub ZX_ATTR_MONO () {0x;}' unless defined(&ZX_ATTR_MONO);
    eval 'sub ZX_ATTR_STEREO_LEFT () {0x1000;}' unless defined(&ZX_ATTR_STEREO_LEFT);
    eval 'sub ZX_ATTR_STEREO_RIGHT () {0x3000;}' unless defined(&ZX_ATTR_STEREO_RIGHT);
    eval 'sub ZX_ATTR_WE_DISABLE () {0x;}' unless defined(&ZX_ATTR_WE_DISABLE);
    eval 'sub ZX_ATTR_WE_ENABLE () {0x800;}' unless defined(&ZX_ATTR_WE_ENABLE);
    eval 'sub ZX_ATTR_FCE_DISABLE () {0x;}' unless defined(&ZX_ATTR_FCE_DISABLE);
    eval 'sub ZX_ATTR_FCE_ENABLE () {0x400;}' unless defined(&ZX_ATTR_FCE_ENABLE);
    eval 'sub ZX_ATTR_RE_DISABLE () {0x;}' unless defined(&ZX_ATTR_RE_DISABLE);
    eval 'sub ZX_ATTR_RE_ENABLE () {0x200;}' unless defined(&ZX_ATTR_RE_ENABLE);
    eval 'sub ZX_ATTR_GE_DISABLE () {0x;}' unless defined(&ZX_ATTR_GE_DISABLE);
    eval 'sub ZX_ATTR_GE_ENABLE () {0x100;}' unless defined(&ZX_ATTR_GE_ENABLE);
    eval 'sub ZX_ATTR_BE_DISABLE () {0x;}' unless defined(&ZX_ATTR_BE_DISABLE);
    eval 'sub ZX_ATTR_BE_ENABLE () {0x80;}' unless defined(&ZX_ATTR_BE_ENABLE);
    eval 'sub ZX_ATTR_RGBE_DISABLE () {0x;}' unless defined(&ZX_ATTR_RGBE_DISABLE);
    eval 'sub ZX_ATTR_RGBE_ENABLE () {0x380;}' unless defined(&ZX_ATTR_RGBE_ENABLE);
    eval 'sub ZX_ATTR_OE_DISABLE () {0x;}' unless defined(&ZX_ATTR_OE_DISABLE);
    eval 'sub ZX_ATTR_OE_ENABLE () {0x40;}' unless defined(&ZX_ATTR_OE_ENABLE);
    eval 'sub ZX_ATTR_ZE_DISABLE () {0x;}' unless defined(&ZX_ATTR_ZE_DISABLE);
    eval 'sub ZX_ATTR_ZE_ENABLE () {0x20;}' unless defined(&ZX_ATTR_ZE_ENABLE);
    eval 'sub ZX_ATTR_FORCE_WID () {0x10;}' unless defined(&ZX_ATTR_FORCE_WID);
    eval 'sub ZX_ATTR_FC_PLANE_MASK () {0xe;}' unless defined(&ZX_ATTR_FC_PLANE_MASK);
    eval 'sub ZX_ATTR_BUFFER_A () {0x;}' unless defined(&ZX_ATTR_BUFFER_A);
    eval 'sub ZX_ATTR_BUFFER_B () {0x1;}' unless defined(&ZX_ATTR_BUFFER_B);
    eval 'sub ZX_CSR_BLT_BUSY () {0x20000000;}' unless defined(&ZX_CSR_BLT_BUSY);
    eval 'sub ZX_EXTENT_DIR_FORWARDS () {0x;}' unless defined(&ZX_EXTENT_DIR_FORWARDS);
    eval 'sub ZX_EXTENT_DIR_BACKWARDS () {0x80000000;}' unless defined(&ZX_EXTENT_DIR_BACKWARDS);
    eval 'sub ZX_SS1_MISC_ENABLE () {0x1;}' unless defined(&ZX_SS1_MISC_ENABLE);
    eval 'sub ZX_SS1_MISC_STEREO () {0x2;}' unless defined(&ZX_SS1_MISC_STEREO);
    eval 'sub ZX_ADDRSPC_OBGR () {0x;}' unless defined(&ZX_ADDRSPC_OBGR);
    eval 'sub ZX_ADDRSPC_Z () {0x1;}' unless defined(&ZX_ADDRSPC_Z);
    eval 'sub ZX_ADDRSPC_W () {0x2;}' unless defined(&ZX_ADDRSPC_W);
    eval 'sub ZX_ADDRSPC_FONT_OBGR () {0x4;}' unless defined(&ZX_ADDRSPC_FONT_OBGR);
    eval 'sub ZX_ADDRSPC_FONT_Z () {0x5;}' unless defined(&ZX_ADDRSPC_FONT_Z);
    eval 'sub ZX_ADDRSPC_FONT_W () {0x6;}' unless defined(&ZX_ADDRSPC_FONT_W);
    eval 'sub ZX_ADDRSPC_O () {0x8;}' unless defined(&ZX_ADDRSPC_O);
    eval 'sub ZX_ADDRSPC_B () {0x9;}' unless defined(&ZX_ADDRSPC_B);
    eval 'sub ZX_ADDRSPC_G () {0xa;}' unless defined(&ZX_ADDRSPC_G);
    eval 'sub ZX_ADDRSPC_R () {0xb;}' unless defined(&ZX_ADDRSPC_R);
    eval 'sub ZX_CROSS_TYPE_CLUT0 () {0x1000;}' unless defined(&ZX_CROSS_TYPE_CLUT0);
    eval 'sub ZX_CROSS_TYPE_CLUT1 () {0x1001;}' unless defined(&ZX_CROSS_TYPE_CLUT1);
    eval 'sub ZX_CROSS_TYPE_CLUT2 () {0x1002;}' unless defined(&ZX_CROSS_TYPE_CLUT2);
    eval 'sub ZX_CROSS_TYPE_WID () {0x1003;}' unless defined(&ZX_CROSS_TYPE_WID);
    eval 'sub ZX_CROSS_TYPE_UNK () {0x1006;}' unless defined(&ZX_CROSS_TYPE_UNK);
    eval 'sub ZX_CROSS_TYPE_VIDEO () {0x2003;}' unless defined(&ZX_CROSS_TYPE_VIDEO);
    eval 'sub ZX_CROSS_TYPE_CLUTDATA () {0x4000;}' unless defined(&ZX_CROSS_TYPE_CLUTDATA);
    eval 'sub ZX_CROSS_CSR_ENABLE () {0x8;}' unless defined(&ZX_CROSS_CSR_ENABLE);
    eval 'sub ZX_CROSS_CSR_PROGRESS () {0x4;}' unless defined(&ZX_CROSS_CSR_PROGRESS);
    eval 'sub ZX_CROSS_CSR_UNK () {0x2;}' unless defined(&ZX_CROSS_CSR_UNK);
    eval 'sub ZX_CROSS_CSR_UNK2 () {0x1;}' unless defined(&ZX_CROSS_CSR_UNK2);
}
1;
