Date: 10 Sep 96 20:31:35 +0100 From: Gisle Vanem To: djgpp AT delorie DOT com Cc: gvanem AT sn DOT no, Giva AT bbb DOT no Subject: Re: CWSDPMI V3 - what's new versus V2? Message-Id: <9609102033.AA00155@bbb.no> Samuel Vincent said: > 1) This would slow the game down by an indeterminable rate, switching to > real mode, calling the old interrupt, (who knows what incredibly slow > process lies in this new chain of interrupt code), switching back to > protected mode.. How fast can you type? The repeat rate of the keyboard is maximum 25cps. Hardly any noticeable effect due to mode-switching. People should put thing in perspective before complaining about rm/pm mode-switching. The 32-bit platform enhances the performance a lot more than the drawbacks. > There are only 2 possibilities. Pass the key and fill the 16 character > buffer, causing beeping and unplayability along with a random commandline > upon quitting the game. Or do not pass the key, and cause tsr's that have > hooked the keyboard interrupt to miss those keys while the game is > running. 3rd possibility; flush the keyboard after each poll (set the head-index at 40h:1Ch = tail-index at 40h:1Ah) Gisle V.