Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:53 02 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2: V5.07.00b1 - Mouse heaven

     Page 4 of 5    
Author Message
Rado
Regular Member

Joined: 27/11/2020
Location: Croatia
Posts: 59
Posted: 10:18pm 12 Jan 2021
Copy link to clipboard 
Print this post

Oh, I do agree conditionally, as we have two topics, one for 5.07.00b1, another for 5.07.00b2 - and b3 firmware is now in b1 thread. :)

Frankly, I don't mind it that much, it's just a suggestion to have one place for all beta releases. I'd rather see matherp churn out new features than fiddle with forum bureaucracy.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 10:42pm 12 Jan 2021
Copy link to clipboard 
Print this post

  Quote  For future reference, is there a way to determine if a USB mouse supports the PS/2 protocol, besides the "try it and see" method?



 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 12:25am 13 Jan 2021
Copy link to clipboard 
Print this post

Hmmm, I don't have a single mouse that displays anything like that on its belly.

My new PS/2 mouse arrived today - it doesn't display anything like that either, but it does have PS/2 connector, which is a dead giveaway :)

Judging by the deeply scarred teflon pads, I'm guessing this is some kind of collector's item. People can bash Microsoft all they want, but they were instrumental in popularizing both mice as pointing devices and in establishing the "what did we ever do without it?" USB standard.

Mouse support on the CMM2 reminds me a bit of the early days of the serial mouse and the first TUI's in DOS. Not as retro as the early keyboard-only 8-bit era, but the first attempts at "point and click" UIs were a watershed moment in personal computing.
Enjoy Every Sandwich / Joe P.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5908
Posted: 02:25am 13 Jan 2021
Copy link to clipboard 
Print this post

The Microsoft Basic Optical Mouse V2.0 is a currently available item.
That's here in Australia so I assume that it is current everywhere.
Price is back up to $18AU.
https://www.harveynorman.com.au/microsoft-basic-optical-mouse-2.html

Nowhere in the advertising or packaging do they mention PS/2 but it does have the same USB/PS2 compatible text on the base and comes with an adapter.

I have another older USB Optical mouse that doesn't mention PS/2 anywhere but does work fully.

Jim
VK7JH
MMedit   MMBasic Help
 
MauroXavier
Guru

Joined: 06/03/2016
Location: Brazil
Posts: 303
Posted: 11:46pm 13 Jan 2021
Copy link to clipboard 
Print this post

Even with my strong shaking in my hands, I managed to solder directly on the board and made an external USB connector ... And the mouse worked right the first time!

Now I can test and make INTO THE DARKNESS compatible with a mouse, as the inventory menu will make a considerable difference.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 08:29pm 16 Jan 2021
Copy link to clipboard 
Print this post

Please try V5.07.00b4

http://geoffg.net/Downloads/Maximite/CMM2_Beta.zip

In particular, if you have a widescreen monitor please use Mode 12. I've changed the timings on this mode (960x540) to be the same as the 540P standard. This has halved the memory requirement and should make the mode excellent for editing in widescreen.

Please let me know if you see any issues or if your monitor won't lock this mode (widescreen monitors only)
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5908
Posted: 02:10am 17 Jan 2021
Copy link to clipboard 
Print this post

Beta4
If I try and run anything, I get a passing error. The errors vary but are not valid errors.

FILES or EDIT result in blank screen and need a reset to get back to a prompt.

This is with my options or the default options.

Jim
VK7JH
MMedit   MMBasic Help
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 08:46am 17 Jan 2021
Copy link to clipboard 
Print this post

  Quote  If I try and run anything, I get a passing error. The errors vary but are not valid errors.


Sorry

Please re-download and try again
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3848
Posted: 10:23am 17 Jan 2021
Copy link to clipboard 
Print this post

  matherp said  Sorry

Please re-download and try again


Just updated from 5.60.00 to 5.07.00b4 and seems to be broken in multiple ways, here is something simple:

400MHz Colour Maximite 2 G2
MMBasic Version 5.07.00b4
Copyright 2011-2021 Geoff Graham
Copyright 2016-2021 Peter Mather

> list "bug2.bas"
Print "=> =< COLOUR"


> run "bug2.bas"

> Print "=> =< COLOUR"
=> =< COLOUR
>


EDIT hangs opening any program of more than a few lines.

Some smaller documents opened in EDIT are filled with @@@@@@@ characters or report line too long errors.

Other programs report invalid syntax errors.

Seems a lot like what Jim reported, but I downloaded after your "Sorry" message.

EDIT: Have re-flashed (with A-A) and still get the same problem.

Best wishes,

Tom
Edited 2021-01-17 20:27 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
paceman
Guru

Joined: 07/10/2011
Location: Australia
Posts: 1328
Posted: 10:44am 17 Jan 2021
Copy link to clipboard 
Print this post

Different experience here. Downloaded b4 after the 'sorry' message, re-flashed, and went to Mode 12. All seemed well except Ctrl C sometimes didn't work, but mostly did.
Monitor screen seems OK, no sync problems. Mine is a Dell 2209 with 16:10 ratio screen and 1650x1050 (60Hz) resolution.

Greg

Should add: using standard Silicon Chip CMM2 with 480 MHz Waveshare board.
Edited 2021-01-17 20:46 by paceman
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 11:09am 17 Jan 2021
Copy link to clipboard 
Print this post

Tom

Please try downloading again and make sure you clear any caching. Your fault was what Jim saw earlier that I have fixed. I've just downloaded the replacement and checked it so it should be OK now
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3848
Posted: 11:12am 17 Jan 2021
Copy link to clipboard 
Print this post

  matherp said  Tom

Please try downloading again and make sure you clear any caching. Your fault was what Jim saw earlier that I have fixed. I've just downloaded the replacement and checked it so it should be OK now


Thanks Peter,

Simultaneously with you posting this I was downloading and flashing again (using Edge instead of Chrome so as to be sure I wasn't seeing a caching issue) and it's now good. Due to the synchronicity I don't know whether it was what you were doing or what I was doing that fixed it  

It passes all my unit-tests ... now to test this graphics mode you asked about.

Best regards,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3848
Posted: 11:23am 17 Jan 2021
Copy link to clipboard 
Print this post

My Samsung SyncMaster 245B does not like MODE 12.

- missing pixel columns (see image)
- no status line
- typing "LS" clears the screen, lists nothing and returns CMM2 to Mode 1.8 ?



Tom
Edited 2021-01-17 21:25 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3848
Posted: 11:45am 17 Jan 2021
Copy link to clipboard 
Print this post

My LG FLATRON M237WDP doesn't like Mode 12 either, it doesn't give any picture at all. Note that strictly speaking this is not a "Monitor" but a wide-screen TV with VGA input (and lots of others including SCART which makes it useful as a retro-computer display) but it does display all the other CMM2 modes.

Tom
Edited 2021-01-17 21:46 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 12:30pm 17 Jan 2021
Copy link to clipboard 
Print this post

I have problem not just with MODE 11 (3 flashing cursors), MODE12 is better, but I'm not able to run EDITOR (goes direct back to command line)....
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 01:07pm 17 Jan 2021
Copy link to clipboard 
Print this post

  Quote  I have problem not just with MODE 11 (3 flashing cursors), MODE12 is better, but I'm not able to run EDITOR (goes direct back to command line)....


Please could you re-download again making sure you clear cache. The incorrect version seemed to stick in the system somehow but the correct version is definitely there now.
I've just downloaded it from Geoff's site and programmed a CMM2 and it works correctly.

After you have done this please report what you see as the copyright screen. It should not say "400MHz Colour Maximite 2 G2" or "4800MHz Colour Maximite 2 G2"
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 02:19pm 17 Jan 2021
Copy link to clipboard 
Print this post

Hi Peter,
on the screen is

400MHz Colour Maximite 2
MMBasic Version 5.07.00b4
Copyright 2011-2021 Geoff Graham
Copyright 2011-2021 Peter Mather


I can start the programs now, but MODE 12 looks terrible in all modes, the same as on Tom's picture, MODE 11 is better but has color shift (not too much). On my other CMM2 with FW5.06 both of them are very stable, I'm using MODE 12.8 for programming...
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8592
Posted: 03:41pm 17 Jan 2021
Copy link to clipboard 
Print this post

Thanks for the report. Mode 11 hasn't been touched so shouldn't be seeing any changes.

Looks like I'll have to revert on mode 12. This is a pity as it works beautifully on my monitor and fits into the 512K of fast RAM (960*540=518400 < 512*1024=524288). Previously mode 12 was duplicating lines so needed 960*1080 pixels which had to go in SDRAM so was slower.

The new mode 12 uses the 540P timings which was the first "HD" variant for TVs but it looks like only a small subset of monitors understand it.

Mode 11 uses 720P timings and works OK in 8-bit mode but both it and the old mode 12 are really out of spec for the STM32H743 video generator H/W
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 430
Posted: 04:13pm 17 Jan 2021
Copy link to clipboard 
Print this post

matherp

  Quote  Looks like I'll have to revert on mode 12. This is a pity as it works beautifully on my monitor


Maybe just add a new mode so those that can use the more efficient one can use it, or would that make things less universally compatible.  Could users use code to test and change to the mode that works best?
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3848
Posted: 05:03pm 17 Jan 2021
Copy link to clipboard 
Print this post

  matherp said  Looks like I'll have to revert on mode 12. This is a pity as it works beautifully on my monitor and fits into the 512K of fast RAM (960*540=518400 < 512*1024=524288). Previously mode 12 was duplicating lines so needed 960*1080 pixels which had to go in SDRAM so was slower.

The new mode 12 uses the 540P timings which was the first "HD" variant for TVs but it looks like only a small subset of monitors understand it.


Sorry Peter, from the way you describe it I am surprised my old LG Monitor/TV doesn't support it. Perhaps I'm doing something wrong, not exactly firing on all cylinders atm.

Can I ask you to consider 2 firmware changes:

1. Provide an easy workflow to restore OPTIONs lost after a firmware update, e.g. OPTION LOAD <filename>. Where the file contains a list of OPTIONs and values. Possibly an OPTION SAVE <filename> counterpart too.

2. Clear the screen/console specifically when a program is run from the EDITor (or presumably the file manager, though I never use that so for all I know this already happens.) This would restore behavior we lost when you rationalised how the display was cleared (or not) when a program is RUN. As it is the output of my console programs (which should not start with a CLS) intermingle with whatever the EDITor has left behind on the screen/console.

Thanks for your consideration,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
     Page 4 of 5    
Print this page
© JAQ Software 2024