VOGONS


First post, by DOS Gamer

User metadata
Rank Newbie
Rank
Newbie

Okay..I feel so stupid but I can not get this to work and it
is driving me crazy..

I am trying to play this 2K pong game called Pong21..

it is very simple..and it says to use shift to move paddle up
and ctrl key to move paddle down..I can not move the paddle
down..I press the ctrl key to no avail..the contol key works
cause I can take screenshtos..and exit dos box control + F9

I tried re assigning the control key with key mapper..I can
remap every single key on the keyboard and have it work
example press a..and it is z..etc..but the control key will not
remap..if it does..like remap control key to A..pressing
A in the pong games does not get the paddle to move down

I mean I know dos box uses the control key plus function keys
to do special things..but what about the real control key
that you have to use in dos box programs..isn't the deafult
just to press the control key????

Reply 1 of 8, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The problem occurs for the right Ctrl key only.

INT 16h/AH=12h is called, and the flags returned in AH are different than those in the interrupt list here.

The game can read the right Ctrl key with the attached patch that figures the returned flags.

Reply 2 of 8, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

[Thread moved to DOSBox Games/Apps. Section]

Reply 3 of 8, by DOS Gamer

User metadata
Rank Newbie
Rank
Newbie

Thank you for your reply...

I thought I wast just super stupid there for a second..

or something was really broken with my dos box build..

Also..last night after posting
no need for dos box to run it, the game works great..
with the shift and control key on Windows XP SP3..

Reply 4 of 8, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Checked a few PC system BIOS dumps, and can confirm that the patch arranges the returned flags in the same way.

Reply 5 of 8, by dougey

User metadata
Rank Newbie
Rank
Newbie

Hello, I just registered on this forum because I have the exact same problem as the original poster with the same PONG21 game

I see that ripsaw8080 has posted a file "extended_shift_states.diff".
Is that something I can use to play this game? Can someone tell me how?

The problem of the game is that the right ctrl key does not work in game.

Thanks,
doug.

Reply 6 of 8, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The .diff file is a patch for DOSBox's source code, and is only useful when compiling DOSBox. However, the patch was committed in SVN some time ago, so you can just use an SVN build, such as the one for Windows here.

Reply 7 of 8, by dougey

User metadata
Rank Newbie
Rank
Newbie

Thanks, i downloaded it and I will test it first time tommorow on a windows machine.

Is there a linux version of this updated dosbox also?

Thanks,
doug.

Reply 8 of 8, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You will need to compile DOSBox SVN yourself or if you are on Ubuntu look wether there is a launchpad for dosbox' svn

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper