![]() |
Forum Index : Microcontroller and PC projects : CMM2G2: Mouse test program?
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Howdy. ![]() I need a simple mouse testing program to confirm the mouse is working. I have a client where the mouse won't work in the file-manager - no pointer is showing up. He is using a MS Basic Optical mouse v2.0, model 1113, so it SHOULD be working perfectly. This is the EXACT mouse I have here and that I use to test every unit. He has issued OPTION MOUSE 0, and does not get any timeout error, so this is strange that a known compatible mouse is not working for him. I pre-blobbed the four solder-blob pads here so I could test the mouse on the bench before sending the unit, but now he gets it, plugs in his identical mouse, issues the command to initialize it, and it won't work. Mouse light is glowing underneath, so the CMM2 was able to initialize the mouse, but the pointer is not showing up in FILES as I would normally expect. This is odd.... ![]() Can someone rustle up just a simple bit of code that will draw the mouse-pointer on the screen maybe with a button to click on etc. The code would need to report if it can't talk to the mouse for some reason. I have not had time to play with the mouse feature of the CMM2G2 yet other then just testing it is working inside FILES, so it would be faster if someone who has played with the mouse can help with a simple bit of tester code. Thanks. Edited 2021-10-12 12:28 by Grogster Smoke makes things work. When the smoke gets out, it stops! |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
I'm not familiar with the gen 2 version, but don't you blob one pair of jumpers or the other, depending on which type of mouse is being installed? I think I saw something about not blobbing all four of them. EDIT: Scratch that. You need to blob all four & install R80 and R81 (4k7) for a PS2 mouse. You've not to install the Hobbytronics chip if the board is set up for a PS2 mouse. I was going to suggest not configuring the mouse, but setting up those GPIO inputs as ordinary DIN types then manually pulling them down to prove that the hardware was working. Unfortunately I don't know the GPIO pins for the Gen 2, only that they aren't the same as the Gen 1. Edited 2021-10-12 18:12 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5089 |
Not sure if this is of any help. The text about mouse on the Silicon Circuits article ? PicomiteVGA PETSCII ROBOTS |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5089 |
@ Grogster, I am not sure about the CMM2 gen 2, how popular it will be. The CMM2 gen 1 was new, and the whole forum jumped on the running train. And with help of Peter and Geoff, it became a reliable product. But it is not like a microcontroller, where every application get's it's own chip, and therefore microcontroller demand is continuous for new hardware. The CMM2 is like a PC, you have 1 (or maybe 2) in your house, and until it dies, you don't need another one. And most early adopters have one. A gen 1. And, unless they are really driven to get the latest, or someone invents a "killer app" for the gen 2 that doesn't work on the gen 1, the gen 2 sales will come from the people that read the silicon circuits article (missed the one from last year) and purchase. But the early adopters do not have the same kit, and may have a hard time giving support on everything that is different between the 2. I do understand the engineering reasoning behind the gen 2, but if it is commercially a good move, I'm not sure. Anyway... time will show. I've been wrong before, so don't be surprised when gen 2 sales overshadow gen 1 sales. Regards, Volhout. PicomiteVGA PETSCII ROBOTS |
||||
toml_12953 Guru ![]() Joined: 13/02/2015 Location: United StatesPosts: 442 |
If Gen 1 is discontinued, all new users will have Gen 2. I don't see any reason to keep producing both. Onward and upward! Excelsior! (which is also my state motto) |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Volhout will correct me if I am wrong but I think his argument was actually that the market for CMM2's of any generation may already be saturated, i.e. the majority of those likely to jump on the CMM2 train are already on it and bought a G1 ... we don't exactly appear to be a community with much outreach to pull in more members and even within the community the CMM2 side is very quiet ... as is the whole community IMHO. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
mclout999 Guru ![]() Joined: 05/07/2020 Location: United StatesPosts: 490 |
No one sent a mouse test program. Here is my favorite one but I can not recall by WHO and can not find the post with search. (If you see this please take credit for this wonderful mouse tester) It was by the fellow that made the nano-based HT mouse emulator interphase I believe. mousetest3dnewist.zip Just move it around and hit all the buttons and scroll the wheel. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
wrong thread Edited 2021-10-13 03:05 by matherp |
||||
RetroJoe![]() Senior Member ![]() Joined: 06/08/2020 Location: CanadaPosts: 290 |
My observation is it was the introduction of the PicoMite that took a lot of the oxygen away from the CMM2, and reinforced my belief that TBS is primarily an "industrial control" community, not a "retro PC" one, albeit there is some crossover in interests. I bought a CMM2 G1 last year as a nostalgic way to pass the time during "peak lockdown". While I still think it is a remarkable achievement, I quickly got lost in the multiple Mite implementations being discussed here, all with different design goals, form factors, vintages, esoteric displays (for me, at any rate...) and overlapping capabilities. Just within the CMMG1, I found the fragmented capabilities of modded hardware, supplier-specific innovations and very frequent (too frequent, IMO...) software updates (mouse or no mouse? with the dedicated chip or not? what about wifi implementation? how many video modes are supported?, et al) to be somewhat dispiriting. I have nothing against innovation nor continuous improvement, and recognize most hobbyists and techies like novelty for its own sake, but one of the most appealing things about my Apple II was it's simplicity and consistency. It was guaranteed to have the same ROM chip in it from one day to the next, and therefore have the same baseline capabilities as everyone else in the worldwide Apple II community. Even as Apple incrementally iterated on the Apple II family (II+, IIe, IIc, IIgs), Steve Wozniak's ethos of supporting the entire catalog of software prevailed, so much so that most programs written for the early Apple II+ will run correctly on the Apple IIgs, the last in the series before Steve Jobs killed it after 17 (!) years in production. The same can't be said for the Mite platform, on either the hardware or software compatibility front. The introduction of the CMM G2 will likely make the community even less cohesive and "compatible", IMHO, and unlike the low cost of the Raspberry Pi that makes it a no-brainer to buy a new one and stick your old Model 2/3/4 in a drawer or repurpose it, the CMM2 is too expensive to replace on a whim. Enjoy Every Sandwich / Joe P. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
There are two distinct paths though. The *Max range, which came first, is intended to be the 1980s-plus-a-bit home home computer. The *Mite range, which stems from the 28-pin PIC, has always been intended as a control module. The fact that they both share more or less the same MMBasic is convenient for both support and users, but it's not the be all and end all. The two paths have different capabilities in line with their different targets, although if something seems like a really good idea or will help with program compatibility there is a degree of cross over. Both ranges have GPIO pins and users are encouraged to play with them - that's why there are so many commands for I/O. How could someone resist having a go at putting a mouse on a CMM2 or an SDcard on a MicroMite? :) Having said that though, there is nothing at all wrong with just using a CMM2 of either generation, with or without wi-fi or mouse, purely as a programming platform. At least, on the CMM2, it's quite likely that whatever you write will also run on a later version of MMBasic - or there will be plenty of people who know how to convert it so that it does. (I have a CMM2 gen 1 myself - and no intention of getting a gen 2. :) ) The PicoMite has drawn a lot of attention, it's true (it's still in development so that's not unusual, I don't think). It's a brand new platform using a brand new chip. It's also cheap and easy to obtain, but it's not a computer like the CMM2. It can't drive a display other than a LCD or the console over USB. It has no keyboard support. (And if Peter hadn't become suddenly enlightened it probably wouldn't have happened at all! lol) Some of the facilities added during it's design have filtered down to the other platforms. The 1980s computers were (almost) reliably identical for a particular model for several reasons: * Their BASIC was in ROM and couldn't easily be updated or enhanced (or debugged!). * Their displays were hardware generated. Only the more expensive machines had a video display chip. * Storage was very limited unless you had deep pockets for disks, so cassettes became a standard. * I/O capability was usually pretty restricted for cost reasons. There is no reason to accept any of the above limitations now. We can fix bugs, change fonts, add storage, add specialised I/O for peanuts. Edited 2021-10-13 05:55 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Everyone is getting off-topic. Not that the discussion isn't valid, but not on this thread please. I wanted some help with a mouse-tester program, NOT to have a discussion on the pros or cons of the G2 etc. This could be done in another thread. Of all the posts, only ONE was relevant to the thread as posted THANK YOU mclout999 for actually posting some code I can play with. ![]() If anyone else has any other snippets I can try, please feel free to post them and I will try them also. Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Sorry about the slow responce... That mouse test program was mine. Adapted from Peter's cube demo. I think it is correct for the latest G2. It will be a day or two before I can check. I am a bit more befuddled than usual due to just coming out of a general anesthetic. The sliderule program on my website should be OK as a test. https://www.c-com.com.au/MMedit.htm Jim VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Another thought. The MS optical should work but get him to check that PS/2 is mentioned on the underside of the mouse. There might be a few different revisions of the rodent around. Jim VK7JH MMedit |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Hey Jim ![]() Yes, that slide-rule program also works fine. This is what I needed, so I will send both of these programs to the client and get them to see if the mouse works in them. It is very odd, cos I tested that the mouse worked on that unit with my own MS mouse, and he has the same mouse, so it should be working. ![]() Hope you recover rapidly. Take good care of yourself. EDIT: The MS optical should work but get him to check that PS/2 is mentioned on the underside of the mouse. There might be a few different revisions of the rodent around. Jim Good point, will do. My one DOES specifically state that. ("USB/PS2 Compatible") Edited 2021-10-13 17:15 by Grogster Smoke makes things work. When the smoke gets out, it stops! |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5089 |
I was not able to help, and I sincerely wanted to. Sorry Grogster PicomiteVGA PETSCII ROBOTS |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |