interrupt list?] includes MEMORY.
Walker of the contents of the BIOS system block that starts at0040:0000. Bit 4 of byte 0040:0096 is “1=enhanced keyboard installed”.Here is a C code example to test the keyboard type:char far *kbd_stat_byte3 = (char far *)0x00400096UL;if (0x10 & *kbd_stat_byte3){/* 101- or 102- keyboard is installed */}else{/* Not installed */}PC Magazine 15 Jan 1991 (x: 1) suggests on page 412 that “for someclones [the above test] is not foolproof”. If you use this method inyour program you should provide the user some way to override this test,or at least some way to tell your program to assume a non-enhancedkeyboard. The article suggests a different approach to determining thetype of keyboard.——————————————————————————–Subject: