MEGA65 FORUM

Delete

(Leave this as-is, it’s a trap!)

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE[6]: Mega65 ideas, Laptop Mega65, Mega65 EMU in Linux, etc.

Daniël Mantione

The 1351 sends an *absolute* mouse position, but it is only 6 bit. The C64 has to convert this into a relative movement, and then apply this relative movement to the absolute mouse position on the screen.

It's quite complex but also powerfull: The mouse polling rate is completely up to the application, up to a maximum up 2KHz which should be enough. Most programs handle the mouse in an interrupt, so it is polled 50 times per second and if done in a raster interrupt perfect VSYNC.

This was something not possible on PC's for a long time: Serial mice can only do 20-30Hz depending on the exact protocol. Only with USB mice we can poll the mouse at a high frequency up to many 100Hz per second, but still, the optical sensor in modern mice often sends relative movements at a fixed frequency, neutralizing the effect of high frequency polling.

If you use a 1351 you usually notice how smooth it is. I still have the impression that many low-cost PC mice are inferior, allthough with a good "gaming" mouse, the PC experience can also be quite good nowadays.

Your friendly neighbourhood moderators: Deft, gardners, MARCOM