joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.78k stars 382 forks source link

Pause key not working in PCjr game Demon Attack #4794

Open MX9000 opened 9 months ago

MX9000 commented 9 months ago

Describe the bug

The manual says that you can interrupt the game with the PAUSE key on the PCjr keyboard. eXoDOS uses DOSBox Staging version 0.81.0-alpha-1770-g904cb68f9: the game pauses with the Fn+Pause/Break key combination and resumes by pressing the Num Lock key. In DOSBox-X the game freezes often with a hanging note and no longer comes out of pause. I also tried using Ctrl+Num Lock as recommended here: http://brutmanlabs.org/PCjr/pcjr_keyboard_diff.html.

Steps to reproduce the behaviour

  1. Boot Demon Attack cartridge
  2. Try to pause and unpause the game in DOSBox-X and eXoDOS

Expected behavior

The game should go in and out of pause.

What operating system(s) this bug have occurred on?

Windows 10 Pro 22H2 64 bit

What version(s) of DOSBox-X have this bug?

DOSBox-X 2023.10.06 MinGW & VSbuild

Used configuration

machine = pcjr
cycles = 300

Output log

No errors shown

Additional information

No response

Have you checked that no similar bug report(s) exist?

Code of Conduct & Contributing Guidelines

joncampbell123 commented 7 months ago

It looks like the PCjr never had a Pause key anyway. https://deskthority.net/wiki/images/f/f8/Pcjr_front.jpg so the key shouldn't do anything.

However if non-PCjr modes have a problem with Pause, that's an issue.

Torinde commented 7 months ago

According to that picture: Fn+Q = Pause?

Although I don't see that listed here.

PS. What is "Ctrl/PrtSc (Echo Print)"?

MX9000 commented 7 months ago

Yes, @Torinde, also the first version of the PCjr keyboard has a Pause function associated with key combination Fn+Q. Thanks.

keyboard_chiclet_large