Changeset 67785 in vbox for trunk/src/VBox/Devices/PC/BIOS/keyboard.c
- Timestamp:
- Jul 5, 2017 8:46:04 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/keyboard.c
r63562 r67785 645 645 #define SP r.gr.u.r16.sp 646 646 #define FLAGS r.ra.flags.u.r16.flags 647 #define IFLGS r.ifl 647 648 648 649 /* Interrupt 16h service implementation. */ … … 686 687 687 688 case 0x01: /* check keyboard status */ 688 SET_IF(); /* Enable interrupts. Some callers depend on that! */ 689 /* Enable interrupts, preserve most flags. Some callers depend on that! */ 690 FLAGS = IFLGS; 689 691 if ( !dequeue_key(&scan_code, &ascii_code, 0) ) { 690 692 SET_ZF(); … … 763 765 764 766 case 0x11: /* check MF-II keyboard status */ 765 SET_IF(); 767 /* Enable interrupts, preserve most flags. Some callers depend on that! */ 768 FLAGS = IFLGS; 766 769 if ( !dequeue_key(&scan_code, &ascii_code, 0) ) { 767 770 SET_ZF();
Note:
See TracChangeset
for help on using the changeset viewer.