Mail Archives: djgpp/1993/02/05/02:57:59
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.
-------------------------------------
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
- Raw text -