-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bugs in Mouse Command #8
Comments
I attached a 1531 mouse to port 1 and did some tests with MOUSE ON,1 and then reading the position with So I think it's a VHDL issue: The POTX/Y registers are not set accordingly to the mouse movement. |
@Edilbert I should also investigate on this more in Xemu, to be honest. How I emulated the mouse is from the manual of an original Commodore mouse specification with notions like "special noise bit" ;) and things like that. I guess there is a bigger - even multi level - problem here: first, we should make sure (ideally ...) that MEGA65 implements mouse query at the "hardware level" close to a C64, if it's a requirement at all. Then, I should make sure, Xemu matches that (MEGA65). Third, there can be ROM problems then if it works well enough, let it be running the ROM on a real MEGA65 and Xemu (at this point this last fact should not count if we're sure Xemu matches MEGA65's behaviour at "hardware" or "emulated hardware" level). Xemu's implementation is more about seeing what |
As of ROM 920383 and core 20221012.18,93d55f0, I'm not noticing any issues with a Commodore 1351 mouse or an Amiga mouse, with MEGA65 Configuration set appropriately. I vaguely recall reproducing jitter with 1351 mice months ago, but I don't know if a specific change addressed this issue. I can exit a BASIC program with the mouse active using RUN/STOP. RMOUSE reports the mouse position precisely: X coordinates in range 24-343 and Y coordinates in range 50-249, in 80x25 mode. (That's an unusual range, but it works, and I'm reluctant to change it because it would break existing software.) I'm closing this as fixed. Please re-open if this is still an issue. |
@ruesch repoted this as MEGA65/mega65-core#563
See also: https://www.forum64.de/index.php?thread/126476-bugs-in-mouse-command/
The text was updated successfully, but these errors were encountered: