Interrupt 2Fh Function 0AD82h Set KEYB.COM Country Flag

mov bl, CountryFlag ;00h = domestic, 0FFh = foreign

mov ax, 0AD82h ;Set KEYB.COM Country Flag

int 2Fh ;Multiplex Interrupt

Set KEYB.COM Country Flag (Interrupt 2Fh Function 0AD82h) sets the current value of the KEYB.COM country flag.

Parameter

CountryFlag

Specifies whether the keyboard being set is domestic (00h) or foreign (0FFh).

Return Value

If the function is successful, the carry flag is clear. Otherwise, the carry flag is set if the CountryFlag parameter is neither 00h nor 0FFh.

See Also

Interrupt 2Fh Function 0AD83h Get KEYB.COM Country Flag