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

From WikiTI
Jump to: navigation, search
 
(Outputs)
Line 11: Line 11:
  
 
=== Outputs ===
 
=== Outputs ===
* A=(kbdScanCode)
+
* A=([[83Plus:RAM:843F|kbdScanCode]])
* (kbdScanCode)=0
+
* ([[83Plus:RAM:843F|kbdScanCode]])=0
 
* kbdSCR,(iy+kbdFlags) reset
 
* kbdSCR,(iy+kbdFlags) reset
  

Revision as of 20:40, 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

  • HL=kbdScanCode

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).