Difference between revisions of "83Plus:BCALLs:4018"

From WikiTI
Jump to: navigation, search
(Outputs)
(Registers Destroyed)
Line 16: Line 16:
  
 
=== Registers Destroyed ===
 
=== Registers Destroyed ===
* HL=kbdScanCode
+
* HL=[[83Plus:RAM:843F|kbdScanCode]]
  
 
== Comments ==
 
== Comments ==
 
This routine expects that either interrupts are enabled or KbdScan was called manually.  Either of these routines will check the keyboard and load the appropriate scan code into the memory location kbdScanCode and set the flag kbdSCR,(iy+kbdFlags).
 
This routine expects that either interrupts are enabled or KbdScan was called manually.  Either of these routines will check the keyboard and load the appropriate scan code into the memory location kbdScanCode and set the flag kbdSCR,(iy+kbdFlags).

Revision as of 20:41, 7 April 2005

Synopsis

Official Name: GetCSC

BCALL Address: 4018

This routine loads the most recent scan code into register A.

Inputs

  • none

Outputs

Registers Destroyed

Comments

This routine expects that either interrupts are enabled or KbdScan was called manually. Either of these routines will check the keyboard and load the appropriate scan code into the memory location kbdScanCode and set the flag kbdSCR,(iy+kbdFlags).