Mail Archives: djgpp/1993/02/05/10:59:47
On Thu, 4 Feb 93 17:20:20 CST,
Erik Johnson writes:
>I have tried (without any luck) to get eventqueue.a to give me events for
>key presses. I set up evq_enable to 3 (both mouse & keyboard). I receive
>mouse events, but never any key events. I looked at the eventqueue source
>and so am sure that evq_enable is set to the proper value.
>
>My equipment consists of a Gateway 2000 486 w/ Phoenix BIOS and Anykey
>keyboard.
>
The event queue library does not work with the 1.09 extender. Use either
my patched version (works only if you don't install an EMS driver) from:
sun.soe.clarkson.edu:/submit/cb_go32exe.zip
^ (maybe "incoming" or something similar..)
or the 1.08 extender.
>-------------------------------------
>Fast VGA color register setting?
>
>Right now I use a video BIOS routine to set individual colors (the same
>way GR library does), but changing all 256 values takes a couple of seconds
>(or atleast one). I noticed another call that can change a group of registers
>in one shot, however, this call requires a 16-bit address to work (no doubt
>neccessitating segments). Since we are running in protected mode, I feel this
>call would not work for us. Anyone have a clue as to how to set color
>registers quickly?
>
>Erik Johnson erik AT microware DOT com
Use the GrSetColor/GrAllocColor routines from either of the libgr.a or
libgrx.a libraries. Both of these use direct VGA register access to change
DAC settings.
Csaba Biegl
csaba AT vuse DOT vanderbilt DOT edu
- Raw text -