home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 7 Games / 07-Games.zip / billy164.zip / src / vesa / readme.txt < prev    next >
Text File  |  1997-09-21  |  1KB  |  44 lines

  1. We have changed two things in the VESA beta 2.0:
  2.  
  3.  
  4.  
  5. vesa_div.c:
  6.  
  7. OS2VesaLockScreen() now performs an DiveAcquireFrameBuffer(). Johannes
  8. Martin doesn't do this because some trouble with his SVGALIB, but it
  9. works with Billy (on our system) and not without.
  10.  
  11.  
  12.  
  13. pmkbd.c:
  14.  
  15. We changed the specification for the raw keyboard mode. It know sends
  16. the ascii value as well as scancode. This is because we wanted to be
  17. able to read both (for instance when you type your name in the
  18. hi-score) without burdenning the keyboard handling in the user code
  19. with lookups for ascii-codes from scan-codes when it is done already
  20. by the system keyboard handler. Now four bytes are send:
  21.  
  22. 1: 1 for press, 0 for release (We find this is the most natural).
  23. 2: scancode.
  24. 3: ascii value or 0 if it is a special key as F1. 
  25. 4: special key value (e.g. for F1). else 0.
  26.  
  27. Sometimes 3 and 4 are unavailable (e.g. when shift is pressed) then
  28. they are both set to 0. The code is in the function HandleRawKey
  29. which is a copy of HandleKey with some minor changes. It is quite
  30. ugly, but if Johannes Martin agrees to the changes, he can tell us to
  31. do something about it.
  32.  
  33.  
  34.  
  35. It should be possible to send the data from our keyboard monitor code
  36. through the HandleKey function so that VESA_ALL could also use raw
  37. keyboard mode.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.