require '_h2ph_pre.ph';

no warnings qw(redefine misc);

eval 'sub KBD_TAB () {ord(\'\\t\');}' unless defined(&KBD_TAB);
eval 'sub KBD_DEL () {127;}' unless defined(&KBD_DEL);
eval 'sub KBD_RET () {ord(\'\\r\');}' unless defined(&KBD_RET);
eval 'sub KBD_NOKEY () {128;}' unless defined(&KBD_NOKEY);
eval 'sub KBD_F1 () {201;}' unless defined(&KBD_F1);
eval 'sub KBD_F2 () {202;}' unless defined(&KBD_F2);
eval 'sub KBD_F3 () {203;}' unless defined(&KBD_F3);
eval 'sub KBD_F4 () {204;}' unless defined(&KBD_F4);
eval 'sub KBD_F5 () {205;}' unless defined(&KBD_F5);
eval 'sub KBD_F6 () {206;}' unless defined(&KBD_F6);
eval 'sub KBD_F7 () {207;}' unless defined(&KBD_F7);
eval 'sub KBD_F8 () {208;}' unless defined(&KBD_F8);
eval 'sub KBD_F9 () {209;}' unless defined(&KBD_F9);
eval 'sub KBD_F10 () {210;}' unless defined(&KBD_F10);
eval 'sub KBD_F11 () {211;}' unless defined(&KBD_F11);
eval 'sub KBD_F12 () {212;}' unless defined(&KBD_F12);
eval 'sub KBD_F13 () {213;}' unless defined(&KBD_F13);
eval 'sub KBD_F14 () {214;}' unless defined(&KBD_F14);
eval 'sub KBD_HELP () {215;}' unless defined(&KBD_HELP);
eval 'sub KBD_DO () {216;}' unless defined(&KBD_DO);
eval 'sub KBD_F17 () {217;}' unless defined(&KBD_F17);
eval 'sub KBD_F18 () {218;}' unless defined(&KBD_F18);
eval 'sub KBD_F19 () {219;}' unless defined(&KBD_F19);
eval 'sub KBD_F20 () {220;}' unless defined(&KBD_F20);
eval 'sub KBD_FIND () {221;}' unless defined(&KBD_FIND);
eval 'sub KBD_INSERT () {222;}' unless defined(&KBD_INSERT);
eval 'sub KBD_REMOVE () {223;}' unless defined(&KBD_REMOVE);
eval 'sub KBD_SELECT () {224;}' unless defined(&KBD_SELECT);
eval 'sub KBD_PREVIOUS () {225;}' unless defined(&KBD_PREVIOUS);
eval 'sub KBD_NEXT () {226;}' unless defined(&KBD_NEXT);
eval 'sub KBD_KP_ENTER () {227;}' unless defined(&KBD_KP_ENTER);
eval 'sub KBD_KP_F1 () {228;}' unless defined(&KBD_KP_F1);
eval 'sub KBD_KP_F2 () {229;}' unless defined(&KBD_KP_F2);
eval 'sub KBD_KP_F3 () {230;}' unless defined(&KBD_KP_F3);
eval 'sub KBD_KP_F4 () {231;}' unless defined(&KBD_KP_F4);
eval 'sub KBD_LEFT () {232;}' unless defined(&KBD_LEFT);
eval 'sub KBD_RIGHT () {233;}' unless defined(&KBD_RIGHT);
eval 'sub KBD_DOWN () {234;}' unless defined(&KBD_DOWN);
eval 'sub KBD_UP () {235;}' unless defined(&KBD_UP);
eval 'sub KBD_CONTROL () {236;}' unless defined(&KBD_CONTROL);
eval 'sub KBD_SHIFT () {237;}' unless defined(&KBD_SHIFT);
eval 'sub KBD_CAPSLOCK () {238;}' unless defined(&KBD_CAPSLOCK);
eval 'sub KBD_ALTERNATE () {239;}' unless defined(&KBD_ALTERNATE);
eval 'sub KEY_R_SHIFT () {0xab;}' unless defined(&KEY_R_SHIFT);
eval 'sub KEY_SHIFT () {0xae;}' unless defined(&KEY_SHIFT);
eval 'sub KEY_CONTROL () {0xaf;}' unless defined(&KEY_CONTROL);
eval 'sub KEY_CAPSLOCK () {0xb0;}' unless defined(&KEY_CAPSLOCK);
eval 'sub KEY_R_ALT () {0xb2;}' unless defined(&KEY_R_ALT);
eval 'sub KEY_UP () {0xb3;}' unless defined(&KEY_UP);
eval 'sub KEY_REPEAT () {0xb4;}' unless defined(&KEY_REPEAT);
eval 'sub KEY_F1 () {0x56;}' unless defined(&KEY_F1);
eval 'sub KEY_COMMAND () { &KEY_F1;}' unless defined(&KEY_COMMAND);
eval 'sub LK_UPDOWN () {0x86;}' unless defined(&LK_UPDOWN);
eval 'sub LK_AUTODOWN () {0x82;}' unless defined(&LK_AUTODOWN);
eval 'sub LK_DOWN () {0x80;}' unless defined(&LK_DOWN);
eval 'sub LK_DEFAULTS () {0xd3;}' unless defined(&LK_DEFAULTS);
eval 'sub LK_AR_ENABLE () {0xe3;}' unless defined(&LK_AR_ENABLE);
eval 'sub LK_CL_ENABLE () {0x1b;}' unless defined(&LK_CL_ENABLE);
eval 'sub LK_KBD_ENABLE () {0x8b;}' unless defined(&LK_KBD_ENABLE);
eval 'sub LK_BELL_ENABLE () {0x23;}' unless defined(&LK_BELL_ENABLE);
eval 'sub LK_LED_ENABLE () {0x13;}' unless defined(&LK_LED_ENABLE);
eval 'sub LK_LED_DISABLE () {0x11;}' unless defined(&LK_LED_DISABLE);
eval 'sub LK_RING_BELL () {0xa7;}' unless defined(&LK_RING_BELL);
eval 'sub LED_1 () {0x81;}' unless defined(&LED_1);
eval 'sub LED_2 () {0x82;}' unless defined(&LED_2);
eval 'sub LED_3 () {0x84;}' unless defined(&LED_3);
eval 'sub LED_4 () {0x88;}' unless defined(&LED_4);
eval 'sub LED_ALL () {0x8f;}' unless defined(&LED_ALL);
eval 'sub LK_HELP () {0x7c;}' unless defined(&LK_HELP);
eval 'sub LK_DO () {0x7d;}' unless defined(&LK_DO);
eval 'sub LK_KDOWN_ERROR () {0x3d;}' unless defined(&LK_KDOWN_ERROR);
eval 'sub LK_POWER_ERROR () {0x3e;}' unless defined(&LK_POWER_ERROR);
eval 'sub LK_OUTPUT_ERROR () {0xb5;}' unless defined(&LK_OUTPUT_ERROR);
eval 'sub LK_INPUT_ERROR () {0xb6;}' unless defined(&LK_INPUT_ERROR);
eval 'sub LK_LOWEST () {0x56;}' unless defined(&LK_LOWEST);
eval 'sub LK_PARAM_VOLUME {
    my($v) = @_;
	eval q((0x80|(($v)&0x7)));
}' unless defined(&LK_PARAM_VOLUME);
eval 'sub LK_CMD_MODE {
    my($m,$div) = @_;
	eval q((($m)|(($div)<<3)));
}' unless defined(&LK_CMD_MODE);
eval 'sub MOUSE_SELF_TEST () {ord(\'T\');}' unless defined(&MOUSE_SELF_TEST);
eval 'sub MOUSE_INCREMENTAL () {ord(\'R\');}' unless defined(&MOUSE_INCREMENTAL);
eval 'sub MOUSE_START_FRAME () {0x80;}' unless defined(&MOUSE_START_FRAME);
eval 'sub MOUSE_X_SIGN () {0x10;}' unless defined(&MOUSE_X_SIGN);
eval 'sub MOUSE_Y_SIGN () {0x8;}' unless defined(&MOUSE_Y_SIGN);
eval 'sub EVENT_LEFT_BUTTON () {0x1;}' unless defined(&EVENT_LEFT_BUTTON);
eval 'sub EVENT_MIDDLE_BUTTON () {0x2;}' unless defined(&EVENT_MIDDLE_BUTTON);
eval 'sub EVENT_RIGHT_BUTTON () {0x3;}' unless defined(&EVENT_RIGHT_BUTTON);
eval 'sub RIGHT_BUTTON () {0x1;}' unless defined(&RIGHT_BUTTON);
eval 'sub MIDDLE_BUTTON () {0x2;}' unless defined(&MIDDLE_BUTTON);
eval 'sub LEFT_BUTTON () {0x4;}' unless defined(&LEFT_BUTTON);
if(defined(&_KERNEL)) {
}
1;
