VOGONS


First post, by L Michaels

User metadata
Rank Newbie
Rank
Newbie

I have some old shareware/freeware video games like Viper. Some of them use the num lock and scroll lock keys to start or end game play or do other things during the game. Can't seem to get DOSBox to recognize when I hit those keys though. They work okay in Windows ME (it can recognize the keys and everything), but they run to fast to play them. Any suggestions? Thanks.

Reply 2 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I'll post the current code 😀

#if 0
case 58:p_capslock=true;break; /* Caps Lock */
case 186:p_capslock=false;break;
case 69:p_numlock=true;break; /* Num Lock */
case 197:p_numlock=false;break;
case 70:p_scrolllock=true;break; /* Scroll Lock */
case 198:p_scrolllock=false;break;
case 82:p_insert=true;break; /* Insert */
case 210:p_insert=false;a_insert=!a_insert;break;
#endif

The #if 0 disables the code. So the * locks are ignored.

Will be fixed in time.

Water flows down the stream
How to ask questions the smart way!

Reply 3 of 7, by Targaff

User metadata
Rank Member
Rank
Member

I used to have a seriously bizarre key problem with Pinball Dreams on my old 286 that put me off NumLock for life. If the program was started with NumLock on, it ran unbearably slowly, however if it was off it ran fine. I never did figure out why, but it made me happy for the numlock=off config.sys setting...

Intel CC820 | PIII 667 | 2x128MB SDRAM | 3Dfx Voodoo 5 5500 @ Dell P790 | Creative SB PCI128 | Fujitsu MPC3064AT 6GB + QUANTUM FIREBALLlct10 10 GB | SAMSUNG DVD-ROM SD-608 | IOMEGA ZIP 100 | Realtek RTL8139C | Agere Win Modem

Reply 5 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

bioforge = pharlab= wrong.
I still don't get their keyboard routine. It makes little sense to me 🙁
Will trying though.

Water flows down the stream
How to ask questions the smart way!

Reply 6 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well I fixed the keyboard problems of bioforge.
let's hope more games benefit from it.

Water flows down the stream
How to ask questions the smart way!