Difference between revisions of "OSBYTE &AD"

From BeebWiki
Jump to: navigation, search
m (.)
(Refer to OSBYTE &AC for full details.)
Line 1: Line 1:
[[Category:OSBYTE]]
+
[[Category:OSBYTE]]__NOTOC__
OSBYTE &AD (173) - Read address of keyboard table
+
== OSBYTE &AD (173) - Read address of keyboard translation table ==
 +
''On entry:'' '''newvalue''' = ('''oldvalue''' AND Y) EOR X
  
On exit X=the high byte of OSByte &AC
+
'' On exit:'' X=high byte of address of keyboard translation table. See [[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==
 +
* [[OSBYTE &AC]]
 
* http://mdfs.net/Docs/Comp/BBC/OsbyteA6
 
* http://mdfs.net/Docs/Comp/BBC/OsbyteA6
  
 
[[User:Jgharston|Jgharston]] 22:24, 26 May 2009 (UTC)
 
[[User:Jgharston|Jgharston]] 22:24, 26 May 2009 (UTC)
 +
[[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 21:52, 13 September 2019 (CEST)

Revision as of 20:52, 13 September 2019

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

On entry: newvalue = (oldvalue AND Y) EOR X

On exit: X=high byte of address of keyboard translation table. See OSBYTE &AC.

See Also

Jgharston 22:24, 26 May 2009 (UTC) Jgharston (talk) 21:52, 13 September 2019 (CEST)