Hello - I'm the author of both Dungeons of Noudar and The Mistral Report.

Thanks for the tests!
Both games use a combination of kbhit + getch (with the arrow keys
taking an extra getch, if the first one yields either 0 or 224).
While I should certainly write my own keyboard handler, that was very
low in my priorities when writing those games. I suppose the problem
happens only with the arrow keys? Both use the libc from "modern"
DJGPP cross-compilers, BTW.

Right now I'm writing a new real mode game (actually, a demake of my
WIP protected mode game, https://montyontherun.itch.io/sub), using
ia16-gcc and reading the keyboard with inline ASM by invoking int 16
and int 21. Would that be safer? If so, I can modify all my games to
use that option, if so.

Cheers,
Daniel "MontyOnTheRun" Monteiro

PS: Noudar can be played with Adlib, OPL2LPT and PC Speaker, by using
special parameters to the executable (which are the lowercase name of
those sound options, eg. "noudar opl2lpt"). I've been dragging my feet
to add a nice sound setup like the one in Mistral (which was a homage
to the old Microprose simulators)

On Wed, Dec 22, 2021 at 1:03 AM Jim Hall <[email protected]> wrote:

> Mistral (turn-based spy RPG game)
> VB: Plays okay
> QEMU: Starts up okay, and I get sound, but I get the "double keypress"
> problem and can't select Quit.

> Noudar (3D dungeon crawler)
> VB: Plays fine.
> QEMU: Starts up okay, but I have the "double keypress" problem so if I
> hit right/left to turn right or left, it turns me all the way around.
> Unplayable.


_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to