Strange happenings in The Pawn...

Anything QL Software or Programming Related.
Post Reply
User avatar
Sparrowhawk
Super Gold Card
Posts: 653
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Strange happenings in The Pawn...

Post by Sparrowhawk »

Nothing to do with the adventure's plot, but has anyone else experienced this:

After starting a new game of the of the original Pawn (not the new gfx-enhanced version), all was normal with my typing - I have a Hermes installed and was getting the keypress click and no keybounce. Suddenly, the kepress clicks stopped and I was back to lots of double letters appearing as I typed. This happened very near the start of the game.

Not a biggy as all returned to normal after a reset of the QL, but just curious as to what might be the cause. Can the Hermes debounce code be accidentally or otherwise disabled by software? I know the click can, but I thought the debounce was set for good.


a.k.a. Jean-Yves
User avatar
tofro
Font of All Knowledge
Posts: 2702
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Strange happenings in The Pawn...

Post by tofro »

Sparrowhawk wrote: Mon Dec 18, 2023 10:57 am Nothing to do with the adventure's plot, but has anyone else experienced this:

After starting a new game of the of the original Pawn (not the new gfx-enhanced version), all was normal with my typing - I have a Hermes installed and was getting the keypress click and no keybounce. Suddenly, the kepress clicks stopped and I was back to lots of double letters appearing as I typed. This happened very near the start of the game.

Not a biggy as all returned to normal after a reset of the QL, but just curious as to what might be the cause. Can the Hermes debounce code be accidentally or otherwise disabled by software? I know the click can, but I thought the debounce was set for good.
This is not necessarily the debounce happening in Hermes (Nothing running on the QL would have access to that anyways and it's unlikely that was the problem) but rather the auto-repeat (which is, actually, handled by code running on the QL). Keyboard auto-repeat is controlled by two system variables (SV_ARDEL and SV_ARFRQ) setting the repeat frequency and the delay before auto-repeat starts. If something messes up these two variables, you will be having such hickups.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
Sparrowhawk
Super Gold Card
Posts: 653
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: Strange happenings in The Pawn...

Post by Sparrowhawk »

Ahah! OK that makes sense then. Thanks :)


a.k.a. Jean-Yves
Post Reply