OSBYTE &AD

From BeebWiki
Jump to: navigation, search

OSBYTE &AD (173) - Read address of keyboard table

On exit X=the high byte of OSByte &AC

With an International Keyboard Driver, if bit 7 is clear (implying a keyboard table in low memory), the MOS keyboard handler issues Service Call &30 to translate keypresses. With an International Keyboard Driver present, this location holds:

 b7    = 0 to indicate international keyboard driver being used
 b6    = a flag
 b5-b0 = keyboard number

See Also

Jgharston 22:24, 26 May 2009 (UTC)