Difference between revisions of "OSBYTE &AD"

From BeebWiki
Jump to: navigation, search
(Added Internation keyboard info.)
m (.)
Line 8: Line 8:
 
keypresses. With an International Keyboard Driver present, this location holds:
 
keypresses. With an International Keyboard Driver present, this location holds:
  
b7    = 0 to indicate international keyboard driver being used
+
  b7    = 0 to indicate international keyboard driver being used
b6    = a flag
+
  b6    = a flag
b5-b0 = keyboard number
+
  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)