tag:blogger.com,1999:blog-4017745189504803687.post804658485615241908..comments2024-02-28T07:29:15.484+10:30Comments on Making a C64/C65 compatible computer: Solid-state JoystickPaul Gardner-Stephenhttp://www.blogger.com/profile/10150903760695355706noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4017745189504803687.post-52971101076829428612017-08-21T08:59:00.474+09:302017-08-21T08:59:00.474+09:30Daniel: Can you please drop me an email, so we can...Daniel: Can you please drop me an email, so we can coordinate this (we also have a student on our side who can help with some parts of it)?<br />Thanks,<br />Paul.Paul Gardner-Stephenhttps://www.blogger.com/profile/10150903760695355706noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-11337273134234757562017-08-21T07:28:46.816+09:302017-08-21T07:28:46.816+09:30Hello,
Yes -- both those would be extremely helpf...Hello,<br /><br />Yes -- both those would be extremely helpful. If you can get an Arduino sending the right data for the 1351 mouse driver to behave solidly with it, that would be excellent.<br /><br />Paul.Paul Gardner-Stephenhttps://www.blogger.com/profile/10150903760695355706noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-71992236434590464772017-08-21T02:37:42.301+09:302017-08-21T02:37:42.301+09:30The section "Inners" in on this page has...The section "Inners" in on this page has a quite informative description:<br /><br />http://www.zimmers.net/anonftp/pub/cbm/documents/projects/interfaces/mouse/Mouse.html<br /><br />As for helping: I don't have any FPGA demo boards and neither FPGA programming skills. Perhaps I can help you with the joystick, perhaps starting with some oscilloscope measurements on the control point and as a second step, perhaps connect an Arduino to the control port and see if I can send some mouse position data to the SID.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-5741079837760442272017-08-20T07:38:40.369+09:302017-08-20T07:38:40.369+09:30Hi Daniel,
I knew that it generated a PWM signal,...Hi Daniel,<br /><br />I knew that it generated a PWM signal, but I didn't realise it worked out when the SID measured the POT lines. This has implications not only for the solid state joystick, but how we measure the POT lines on the MEGA65, to make sure that a 1351 mouse will still work.<br />Do you have any more information on this, or would you like to help us make either the 1351 emulation in the joystick, or work on the M65 side of the interface?<br /><br />Paul.Paul Gardner-Stephenhttps://www.blogger.com/profile/10150903760695355706noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-37290788474597335192017-08-20T02:00:05.531+09:302017-08-20T02:00:05.531+09:30Be aware that the Commodore 1351 does not generate...Be aware that the Commodore 1351 does not generate analog, or more precisely, continuous signals. It contains a special purpose chip that senses when the SID empties its buffer, then charges it with a full 5V for a period that is proportional to the mouse position.<br /><br />Allthough the end result is a PWM of approximately 2KHz, it is synchronized with how the SID measures the POT lines. The reason of this is probably accuracy.<br /><br />If you generate a high frequency PWM signal with an Ardiono and smooth it with a capacitor, question is wether you will achieve the same accuracy as the 1351. If not, you should be able to use the same approach as the 1351 with an Arduino, connecting the analog inputs to the POT lines in addition to a digital output. It might take a little research for how to detect that the SID is emptying its buffer.Anonymousnoreply@blogger.com