Man am I busy nowadays. But fortunately I have scrapped together enough time here and there, and now I finally have some time to post some interesting findings interspersed in my past few weeks of chaos.
I'll start with this post, a wonderful technique to frame-step in Lemmings 2 w/o the pain of pressing Spacebar quickly followed by P, and then go from there with a new-ish Lemmings 2 glitch (another thread) and then some unexpected challenge results made possible (yet other threads, with movies attached!).
So, how to make DOSBox do Spacebar+P for you. I've finally discovered the keymapper in DOSBox, and more importantly, figured out how to use it, and found out a neat way you can configure it so that when you press an otherwise useless key like [ in Lemmings 2, DOSBox will translate that for you into Spacebar followed immediately by P. Voila, frame-stepping using a single keystroke!
Here's a step-by-step guide to turn your [ key into the frame-step key for L2. Feel free to substitute [ with whatever other key suits you, as long as it's not a key that L2 already uses (otherwise you lose the use of that key in DOSBox and thus in L2):
1) run DOSBox
2) activate keymapper screen by pressing Ctrl+F1
3) click on the Spacebar key under the "keyboard layout" graphics in the keymapper
4) at the bottom you should see EVENT: key_space and BIND: Key space. Click "Del" at the right until the BIND: line disappears.
5) now click "Add", then press [ on your keyboard.
6) click "Add" again and then press Spacebar on your keyboard
7) now click on the P key in the "keyboard layout" graphics
8.) click "Del" to remove BIND:ings for key_p
9) click "Add" and then press [ on your keyboard
10) click "Add" again and then press p on your keyboard
11) now click on the [ key in the "keyboard layout" graphics
12) click "Del" to remove the original BIND:ings for the key we're trying to re-assign (the [ key)
13) finally, click "Save" button at the bottom to make the changes permanent (so you don't have to repeat this ritual every time you start DOSBox), and then click "Exit"
Test it out in DOSBox's "DOS prompt" screen by pressing the re-assigned [ key. You should see it generate a space followed by p in DOSBox. And if you try it in L2 while paused, you'll see that it does exactly what you expect when you press Spacebar followed by P the hard way--it frame-steps the game by one frame!
Cool!
Except as it turns out, it's not 100% reliable--once out of like 50 times or so of using it, the game may fail to pause after the frame-step!
" title="Angry" class="smiley" />
Needless to say this can be extremely painful since unless you have quick reflexes and respond with the P key, such an encounter of bad luck will probably ruin whatever you were trying to do that needed frame-stepping in the first place. But it happens infrequently enough that most of the time you'll praise it rather than curse it--precision moves not involving the fan can now be accomplished much more reliably in L2.
Another deficiency with this technique is that keyboard autorepeat doesn't work for the unusually re-assigned key: that is, press and hold [ doesn't auto-repeat the framestepping. Instead DOSBox generates one Space keystroke, followed by a stream of only P keystrokes for the auto-repeat. I'll have to investigate more and see if there's another way to map the keys to get around this deficiency (though I'm not optimistic). But still, except in cases like frame-stepping through the Medieval dragon, this deficiency shouldn't be too big a deal for the occasional frame-stepping needs.