Do you have "Hidden Secrets of the trs80 model 100" (Morgan) Has a very thorough description of all the keys.
The function keys are two byte codes. You could just make an integer out of them exactly as they are. What C function are you implementing? -- John. On Thu, Mar 30, 2017 at 7:28 PM Willard Goosey <[email protected]> wrote: > 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 >
