Ok people its time for community design!

So. The ROM function KYREAD checks to see if a key has been pressed on the 
keyboard. If a key has been pressed, it returns the ASCII value. Nice and 
simple... Until someone presses a function key. Then it returns a whole 
different set of numbers, with the carry bit set.

What should these values look like to Small C? We return an int, so we have 16 
bits to play with.

Just for reference:
F1.  0
F2.  1
[....]
F8.   7
LABEL 8
PRINT 9
<SHIFT>-PRINT 10
PASTE 11

Willard




Sent from Samsung tablet

Reply via email to