Mirror of CollapseOS
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

17 rindas
603B

  1. Keyboard driver
  2. Load range: 566-570
  3. Implement a (key) word that interpret keystrokes from the
  4. builtin keyboard. The word waits for a digit to be pressed and
  5. returns the corresponding ASCII value.
  6. This routine waits for a key to be pressed, but before that, it
  7. waits for all keys to be de-pressed. It does that to ensure
  8. that two calls to _wait only go through after two actual key
  9. presses (otherwise, the user doesn't have enough time to
  10. de-press the button before the next _wait routine registers the
  11. same key press as a second one).
  12. (cont.)