First post, by sky66
Recently, we are playing an difficult old RPG game( Legend of Zyca, 23 years ago).
It has special cheat: Press Num+, Num1, Num2, Num2, Num3, Num3, Num3, Num5 and "Printscreen" to enable the cheat code.
But the "Printscreen" key under DOSBOX doesn't work...
This problem had discussed before, but seems have no solution.
Printscreen KEY Problem under dosbox xp version
Someone - an advanced-player, modified the DOSBOX source code and make it works!
keyboard.cpp
Was:
case KBD_printscreen:
/* Not handled yet. But usuable in mapper for special events */
return;
Is:
case KBD_printscreen:
KEYBOARD_AddBuffer(0xe0);
KEYBOARD_AddBuffer(pressed?0x2a:0xb7);
KEYBOARD_AddBuffer(0xe0);
KEYBOARD_AddBuffer(pressed?0x37:0xaa);
/* Not handled yet. But usuable in mapper for special events */
return;
But this is workaround solution, if can not be implemented in offical DOSBOX version.
Therefore, we hope DOSBOX can consider to add "Printscreen" key suppot in the future.