home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 7 Games
/
07-Games.zip
/
billy164.zip
/
src
/
vesa
/
readme.txt
< prev
next >
Wrap
Text File
|
1997-09-21
|
1KB
|
44 lines
We have changed two things in the VESA beta 2.0:
vesa_div.c:
OS2VesaLockScreen() now performs an DiveAcquireFrameBuffer(). Johannes
Martin doesn't do this because some trouble with his SVGALIB, but it
works with Billy (on our system) and not without.
pmkbd.c:
We changed the specification for the raw keyboard mode. It know sends
the ascii value as well as scancode. This is because we wanted to be
able to read both (for instance when you type your name in the
hi-score) without burdenning the keyboard handling in the user code
with lookups for ascii-codes from scan-codes when it is done already
by the system keyboard handler. Now four bytes are send:
1: 1 for press, 0 for release (We find this is the most natural).
2: scancode.
3: ascii value or 0 if it is a special key as F1.
4: special key value (e.g. for F1). else 0.
Sometimes 3 and 4 are unavailable (e.g. when shift is pressed) then
they are both set to 0. The code is in the function HandleRawKey
which is a copy of HandleKey with some minor changes. It is quite
ugly, but if Johannes Martin agrees to the changes, he can tell us to
do something about it.
It should be possible to send the data from our keyboard monitor code
through the HandleKey function so that VESA_ALL could also use raw
keyboard mode.