This is just a simple program to return key values for getk.
The values are returned such that you can do:

	call	getk
	cp	kcode
	jr	z,mylabel

instead of:

	call	getk
	ld	a,kcode
	call	setxxop1
	call	cpop1op2
	jr	z,mylabel

In case you are wondering, this is how SOS detects keypresses.

Visit my home page at:
	http://www.usmo.com/~joewing/