VOGONS


First post, by TomSL

User metadata
Rank Newbie
Rank
Newbie

Hi,
I am trying to replace some ancient hardware hosting a
single DOS 6 proprietary application. The application
has some custom hardware which emulates an AT
keyboard for button presses. When I hook this keyboard
to a Win XP machine, it works fine in XP (e.g. to notepad
or a command prompt). When I run MS-DOS 6.0 which I
installed in dosbox 0.74 running on the same XP machine,
a single press of a key results in a continuous stream of
the same character sent to the DOS 6 prompt until I press
a different key, at which point I get a continuous stream
of the new character. (1 character, a slight pause, then
continuous more of the same - typematic style)
If I click away from the Dosbox window
and activate a different XP window the keyboard again
works properly.

Somehow XP sees the single key press correctly, but
when passed to dosbox, it is seen as being held down.

Additional info: it works correctly in bochs, and in
VirtualBox, but has the repeat problem in VirtualPC 2007.

Any ideas?
Thanks,
Tom

Reply 1 of 2, by mr_bigmouth_502

User metadata
Rank Oldbie
Rank
Oldbie

Just saying, but virtualization tools like Bochs and VirtualPC are much better suited for that sort of thing than DosBox, which is really almost a "high-level" emulator designed for gaming.

Why do you want to try running it on DosBox? 🤣

Reply 2 of 2, by TomSL

User metadata
Rank Newbie
Rank
Newbie

I tried those, but this app has some kludgey code that times certain things with buzz loops. I need the specific
functionality of dosbox to control the instruction rate. Bochs and VirtPC both run too fast.
The app works perfectly in dosbox, except for the keyboard repeat issue.
I need someone who knows SDL to help me work around this problem.