home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / atari / st / tech / 6605 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.8 KB  |  37 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!pipex!warwick!dcs.warwick.ac.uk!leo
  3. From: leo@dcs.warwick.ac.uk (Leo Hendry)
  4. Subject: Re: Keyboard repeating keys
  5. Message-ID: <1993Jan12.141947.1607@dcs.warwick.ac.uk>
  6. Sender: news@dcs.warwick.ac.uk (Network News)
  7. Nntp-Posting-Host: slate
  8. Organization: Department of Computer Science, Warwick University, England
  9. References: <C0F8J1.CzF@ahwau.ahold.nl>
  10. Date: Tue, 12 Jan 1993 14:19:47 GMT
  11. Lines: 24
  12.  
  13. In article <C0F8J1.CzF@ahwau.ahold.nl> leo@ahwau.ahold.nl (Leo Weppelman) writes:
  14. >I am looking for a way to make the keyboard processor handling the key
  15. >repeat instead of the main processor. Is there anybody on the net who
  16. >has ever did such a thing. The problem with the keyboard is that there
  17. >is (as far as I know) no documentation. Even the german 'Profibuch' has
  18. >no detailed info.
  19.  
  20. The book Atari ST Internals gives information about the keyboard processor,
  21. whether you would call it detailed is another matter, and the book is badly
  22. written, translated and short on examples.
  23.   What do you mean exactly by making the keyboard processor handle autorepeat?
  24. The way it normally works is to send a message to the main processor each time
  25. a key is pressed, and again each time it is released.  From what I remember
  26. the codes are the same as the scan codes returned by Bconin and various other
  27. functions, and the code has the top bit cleared to indicate the key as been
  28. pressed, or set to indicate the key has been released.
  29.   As far as I know there is no way of configuring it to behave differently,
  30. and there is no spare RAM on the chip to upload a routine of yours to do so.
  31.   What exactly are you trying to do that lead you to ask this question (I
  32. guess you are trying to write a game that reads the keyboard processor
  33. directly for keyboard control)?  I might be able to suggest another way of
  34. going about things.
  35.  
  36. - Leo
  37.