Difference between revisions of "OSBYTE &AD"

From BeebWiki
Jump to: navigation, search
m (1 revision)
(Added Internation keyboard info.)
Line 2: Line 2:
 
OSBYTE &AD (173) - Read address of keyboard table
 
OSBYTE &AD (173) - Read address of keyboard table
  
    On exit X=the high byte of OSByte &AC
+
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==
 
==See Also==

Revision as of 14:41, 25 March 2018

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)