{"id":7861,"date":"2023-08-28T17:09:57","date_gmt":"2023-08-28T15:09:57","guid":{"rendered":"https:\/\/retrofixer.it\/?p=7861"},"modified":"2026-10-22T20:44:57","modified_gmt":"2026-10-22T18:44:57","slug":"mouse-1351-fix","status":"publish","type":"post","link":"https:\/\/retrofixer.it\/en\/mouse-1351-fix\/","title":{"rendered":"Mouse 1351 FIX"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"7861\" class=\"elementor elementor-7861\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c334f14 e-flex e-con-boxed e-con e-parent\" data-id=\"c334f14\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-271e809 elementor-widget elementor-widget-heading\" data-id=\"271e809\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Mouse for C64\/128 restoration<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5704257 e-flex e-con-boxed e-con e-child\" data-id=\"5704257\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ba4f041 elementor-widget__width-initial elementor-widget elementor-widget-image\" data-id=\"ba4f041\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/08\/1351.jpg\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"1351\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6Nzg3OSwidXJsIjoiaHR0cHM6XC9cL3JldHJvZml4ZXIuaXRcL3dwLWNvbnRlbnRcL3VwbG9hZHNcLzIwMjNcLzA4XC8xMzUxLmpwZyJ9\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"600\" height=\"856\" src=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/08\/1351.jpg\" class=\"attachment-medium_large size-medium_large wp-image-7879\" alt=\"Mouse 1351 FIX\" srcset=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/08\/1351.jpg 600w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/08\/1351-210x300.jpg 210w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/08\/1351-8x12.jpg 8w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/08\/1351-53x75.jpg 53w, https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/08\/1351-480x685.jpg 480w\" sizes=\"(max-width:767px) 480px, 600px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e5b81c7 elementor-widget elementor-widget-text-editor\" data-id=\"e5b81c7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p class=\"translation-block\">I was given this mouse to repair with a strange defect.<br>Let's see what it had, but first let's figure out what it is!<\/p><p>This mouse produced by Commodore in 1986 is the successor to the 1350 mouse, which is not really a full-fledged mouse, how come? The 1350 was a mouse with a digital output, this connected to the port of the C64 or 128 and it was as if a joystick was connected to it, when you went right the mouse closed the contact of the right joy port, and ditto for the other directions, the left button was the fire and the right was a second button (pin 9). What is the difference between this mouse and a traditional mouse? well, this one emulating the joystick directions always moves at the same speed!, try it with a cartridge like \"The Final Cartridge 3\" and the joystick or the mouse, you will find that to get to the bottom of the screen takes several time. If you use a proportional mouse this problem does not exist, if we move the mouse slowly, the pointer will move slowly, while if we move it quickly we will get to the end of the screen in no time.<br \/>All the traditional mouse does is keep track of how many steps (movements) you take and tell the computer what the position is for the X and Y axis.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-45b886e elementor-widget elementor-widget-text-editor\" data-id=\"45b886e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"text-align: var(--text-align); letter-spacing: 0px;\">Here we come to mouse 1351, this in fact by default is a proportional mouse with the left button as the fire and the right as the joystick direction on. In a nutshell it works like the paddles, those have a potentiometer that adjusts the voltage on the potX (pin 9) and potY (pin5) inputs. But this mouse does not have a variable resistor or even a pvm signal then stabilized, how does it pass this information to the SID?<\/span><\/p><p>Yep, the SID in addition to dealing with audio, handles analog signals by then providing the computer with a value between 0 and 255 on the X and Y axes.<\/p><h3>How does the proportional mode work?<\/h3><div><p class=\"translation-block\">As mentioned before, we need to apply a voltage to the X and Y pins, which the SID reads and converts to digital, a bit like a modern ADC. This is how it works:<br>The SID uses the CPU clock to sample the analogue input, and the whole thing takes 512 clock cycles.<br>For the first 256 clocks the SID connects an internal resistor to the pin it is reading, which discharges the capacitor inside the chip. It then disconnects the pull-down resistor and waits for the capacitor inside the port to charge up to a threshold voltage, but how long the capacitor takes to charge depends on how much voltage is applied to the input of the port being read. For every clock that goes by the SID increments its port register until it sees that the capacitor is charged; if the capacitor does not reach the threshold within the remaining 256 clocks, the register reads 255, meaning nothing is connected. If the capacitor charges before the count ends, the value is lower than 255; in fact, if it charges instantly (on the first clock cycle) the value is 0.<br>Right, now that we know how the SID thinks and how it reads this value, we can make the capacitor charge whenever we like by applying a voltage to the port... well, almost!<br>This is how the mouse works:<br>The heart of it all is the MOS 5717, which tracks the mouse movements through the usual photodiodes (like an encoder) and keeps count of the pointer position, just like a modern mouse, but it uses this method to pass the information to the computer.<br>It waits for the signal on the potY port to go low, a sign that the SID is starting its discharge-and-charge cycle.<br>It checks the mouse movements and counts 256 clock cycles. How? Well, it also has a 1 MHz crystal, just like the C64\/128.<br>Once those cycles have passed, it simply sends a positive pulse to the X and Y ports at the right moment: it counts the cycles and charges the capacitor instantly when the number of clocks matching the value to be written to the register has gone by. Clever, eh?!<\/p><p class=\"translation-block\">Another thing to mention is that the mouse does not work only in this mode, it is designed to be compatible with its predecessor as well.<br>Holding down the right mouse button while turning on the computer or connecting it to it, the mouse goes into 1350 mode and reasons as a digital mouse, closing the joystick directions based on how we move the mouse.<\/p><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9243948 elementor-widget elementor-widget-heading\" data-id=\"9243948\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Most frequent faults<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2312303 elementor-widget elementor-widget-text-editor\" data-id=\"2312303\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This mouse is simple but at the same time critical; it takes little to make it not work well.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-22cc7a7 elementor-widget elementor-widget-image\" data-id=\"22cc7a7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"640\" height=\"371\" src=\"https:\/\/retrofixer.it\/wp-content\/uploads\/2023\/08\/1351-mouse.gif\" class=\"attachment-large size-large wp-image-7870\" alt=\"1351 mouse - Mouse 1351 FIX\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ffd8643 elementor-widget elementor-widget-text-editor\" data-id=\"ffd8643\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This is the schematic of revision A, unfortunately I have revision B and could not find its schematic which is slightly different. The most critical part is really the encoder and photodiode wheels that with dirt can decrease their efficiency and not operate the mouse. Other cases are the misalignment of these photodiodes that no longer point correctly or the wheels that have become deformed. It may happen that even after cleaning and verifying that the diodes are working, the mouse does not move one or all directions, this is the case where it is worth checking the voltages at the ends of the resistors R6~R9 because if these are below about 3.4V it may not be interpreted as a high signal. It will be necessary in this case to find a higher value that brings the voltage back above 4V.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f19a325 elementor-widget elementor-widget-heading\" data-id=\"f19a325\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">In my case<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-83938be elementor-widget elementor-widget-text-editor\" data-id=\"83938be\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>As mentioned above, most of the time the mouse will not move in one or all directions in any mode if the problem comes from the photodiodes, partitions, etc.<\/p><p>This mouse in fact did not work well in the proportional mode, not that it didn't work at all, it would move on all directions but after about a 1-2 centimeter travel it would return to the starting position, and it did so with all directions.<\/p><p>It could not have been a problem with encoder signal recognition, otherwise it would not have moved, plus in the joystick mode it worked fine.<br \/>I had later found that by keeping it connected for at least 30 seconds, it would start working properly even in proportional mode. It seemed to be a synchronism defect, see description of operation.<\/p><p>Well, in the end I also changed some capacitors that were no longer in good condition (C3,C5), but the rest were all working and the problem remained. The clock was perfect, nothing seemed to be wrong with it, even the transistor that is not in the schematic was good. Eventually I discovered that the resistor that is listed here as R11 of 5.1K while in my mouse it was 1M, was the one that made the micro recognize the sync signal. I tried lowering its value by replacing it with others of 820k, 470k ... and I noticed that the waiting time for it to work well was getting shorter and shorter. I finally got it down to 100k and the mouse works fine right away.<\/p><p>Watch the video to see all the steps and subscribe to the channel to help us move forward with these videos and repairs!!!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4084e2f elementor-widget elementor-widget-heading\" data-id=\"4084e2f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Other revisions<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b2adf29 elementor-widget elementor-widget-text-editor\" data-id=\"b2adf29\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p data-pm-slice=\"1 1 []\">Thanks to Sven H. we now have another case of problems with this mouse; in this revision the problem was solved like this:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b4051e9 elementor-widget elementor-widget-text-editor\" data-id=\"b4051e9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<blockquote>\n<p data-pm-slice=\"1 1 []\"><span style=\"color: #ffcc99;\">I ran into exactly the same problem and the same behaviour you described: proportional mode stayed stuck, joystick mode worked correctly and, about 30\u201360 seconds after power-on, the old M1351 started working normally again.<\/span><\/p>\n<p><span style=\"color: #ffcc99;\">In my case, however, there were a few differences:<\/span><\/p>\n<ul data-spread=\"false\">\n<li>\n<p><span style=\"color: #ffcc99;\"><strong>Revision:<\/strong> b<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color: #ffcc99;\"><strong>R11:<\/strong> 5 k\u03a9 resistor present and in place<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color: #ffcc99;\"><strong>Electrolytic capacitors:<\/strong> we found 4, whereas the schematic only shows 3<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color: #ffcc99;\"><strong>Capacitors fitted:<\/strong> 2 \u00d7 47 \u00b5F and 2 \u00d7 22 \u00b5F, tantalum<\/span><\/p>\n<\/li>\n<\/ul>\n<p><span style=\"color: #ffcc99;\">We replaced them all and I think the problem has been solved: it hasn&#8217;t come back for several days.<\/span><\/p>\n<\/blockquote>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-840ba8d elementor-widget elementor-widget-text-editor\" data-id=\"840ba8d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this case replacing the capacitors got it working again. Thanks to Sven for the report, which may be useful to anyone with this revision rather than mine.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c041965 elementor-widget elementor-widget-video\" data-id=\"c041965\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/ytlSmCP-2P8&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Riparazione mouse per C64\/128 Mi \u00e8 stato dato questo mouse da riparare con uno strano difetto..Vediamo cosa aveva, ma prima capiamo cos&#8217;\u00e8! Questo mouse prodotto dalla<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":7889,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,352],"tags":[58,166,448,451,450],"class_list":["post-7861","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-commodore","category-periferiche","tag-commodore","tag-fix","tag-mouse","tag-no-move","tag-non-si-muove"],"_links":{"self":[{"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/posts\/7861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/comments?post=7861"}],"version-history":[{"count":7,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/posts\/7861\/revisions"}],"predecessor-version":[{"id":10947,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/posts\/7861\/revisions\/10947"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/media\/7889"}],"wp:attachment":[{"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/media?parent=7861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/categories?post=7861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/retrofixer.it\/en\/wp-json\/wp\/v2\/tags?post=7861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}