User Tools

Site Tools


keyscan-codes

This is an old revision of the document!


return codes from keyscan $028e

keyscan		call	$028e
		ld	a,e
		cp	'return code'
		jr	z,key1
		cp	'return code'
		jr	z,key2
		....
 
;$028e return codes
;input: none
;output: e = return code, d: $18 = SS, $27 = CS, $28 = CS+SS
;        de = $ffff - nothing was pressed, de = $2718 - EXTEND
;        z = ok, nz = bad keys combination
;
;   1 $24   2 $1C   3 $14   4 $0C   5 $04   6 $03   7 $0B   8 $13   9 $1B   0 $23
;   Q $25   W $1D   E $15   R $0D   T $05   Y $02   U $0A   I $12   O $1A   P $22
;   A $26   S $1E   D $16   F $0E   G $06   H $01   J $09   K $11   L $19 ENT $21
;  CS $27   Z $1F   X $17   C $0F   V $07   B $00   N $08   M $10  SS $18 SPC $20

Navigation: general . math . graphic . sound . system . other . back to start

keyscan-codes.1463553757.txt.gz · Last modified: 2016/05/18 08:42 by darkbyte