Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in hmmm x coordinate #8

Closed
Ray-Hoo opened this issue Nov 6, 2020 · 5 comments
Closed

Bug in hmmm x coordinate #8

Ray-Hoo opened this issue Nov 6, 2020 · 5 comments

Comments

@Ray-Hoo
Copy link

Ray-Hoo commented Nov 6, 2020

When I copy a part of the screen with the hmmm command and put in on a certain target location the location is off by 1 pixel. When I move it to the right with 1 pixel, it moves with 2 pixels. So it looks like there is a bug in the X coordinate.

@ericb59
Copy link
Owner

ericb59 commented Nov 6, 2020

Hello,

What is the screen mode you are using ?

@ericb59
Copy link
Owner

ericb59 commented Nov 8, 2020

If you are using Screen mode 5 or 7 , this is normal. It's a hardware limitation.

@Ray-Hoo
Copy link
Author

Ray-Hoo commented Nov 9, 2020

Yes, I am using screen 5. Could you please explain a bit more about this hardware limitation? As I did not experience this when using Turbo Pascal on the MSX (or I have not noticed it).

@ericb59
Copy link
Owner

ericb59 commented Nov 9, 2020

Hi,

You can check in the V9938 manual : http://map.grauw.nl/resources/video/yamaha_v9938.pdf
Page 62
That in G4 and G6 mode (Screen mode 5 and 7) the lower bit of SX and DX are lost.
So coordinates must be even numbers.

@ericb59
Copy link
Owner

ericb59 commented Nov 12, 2020 via email

@ericb59 ericb59 closed this as completed Nov 12, 2020
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

No branches or pull requests

2 participants