Skip to content

Conversation

@pixel-jupiter
Copy link
Contributor

Summary

The IBM PCjr allows for horizontal screen movement using the Ctrl + Alt + Left/Right Arrow Keys shortcut.
Currently, it's inverted:

  • Ctrl + Alt + Left moves the screen right (should move left)
  • Ctrl + Alt + Right moves the screen left (should move right)

The section “Centering Information on the Screen” in the IBM PCjr Guide To Operations confirms the intended behavior.
Also, increasing the value in the R2 register of the CRTC should shift the display left, and decreasing it should shift it right. If you look at the register values while shifting the screen, you'll see that the current calculation does the opposite.

This PR fixes the issue.

Checklist

  • Closes #xxx
  • I have tested my changes locally and validated that the functionality works as intended
  • I have discussed this with core contributors already
  • This pull request requires changes to the ROM set

References

Provide links to datasheets or other documentation that helped you implement this pull request.

@OBattler OBattler merged commit 2369b1c into 86Box:master Nov 4, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants