VOGONS

Common searches


Keymapping

Topic actions

First post, by caarseth

User metadata

I'm using DOSBox 0.62 to run an old DOS data base program NutPLus. NutPlus uses the CNTL-PGUP and CNTL-PGUP keys to jump to the first or last record. In DOSBox these keys operate just like normal PGUP or PGDN, that is to move one record. It's not clear how to use keymapper to force these definitions.

Reply 1 of 1, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You can't use the keybapper for this.
I think the block
if(flags3 &0x02) { /*extend key. e.g key above arrows or arrows*/
if(scancode == 0x52) flags2 |=0x80; /* press insert */
add_key(( scancode <<8 )|0xe0);
break;
}
that checks scancodes 0x47 to 0x53 should respect the keystates
and then do something like
add_key(scan_to_scanascii[scancode].control&0xff00|0xe0);

wd