version 1.1 | | version 1.2 |
---|
| | |
* Functions for keyboard handler. | | * Functions for keyboard handler. |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.2 2000/02/07 10:09:52 donut |
| | * dos pragma ifdefs |
| | * |
* Revision 1.1 2000/01/17 05:58:38 donut | | * Revision 1.1 2000/01/17 05:58:38 donut |
* switched from multiply reimplemented/reduntant/buggy key.c for each arch to a single main/key.c that calls the much smaller arch-specific parts. Also adds working emulated key repeat support. | | * switched from multiply reimplemented/reduntant/buggy key.c for each arch to a single main/key.c that calls the much smaller arch-specific parts. Also adds working emulated key repeat support. |
* | | * |
| | |
#endif | | #endif |
#endif | | #endif |
| | |
| | #ifndef __GNUC__ |
#pragma off (check_stack) | | #pragma off (check_stack) |
| | #endif |
void __interrupt __far key_handler() | | void __interrupt __far key_handler() |
{ | | { |
unsigned char scancode, breakbit, temp; | | unsigned char scancode, breakbit, temp; |
| | |
outp( 0x20, 0x20 ); // Reset interrupt controller | | outp( 0x20, 0x20 ); // Reset interrupt controller |
} | | } |
| | |
| | #ifndef __GNUC__ |
#pragma on (check_stack) | | #pragma on (check_stack) |
| | #endif |
| | |
void key_handler_end() { // Dummy function to help calculate size of keyboard handler function | | void key_handler_end() { // Dummy function to help calculate size of keyboard handler function |
} | | } |