Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 14:42 20 Apr 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.00RC1 - Getting closer :-)

     Page 1 of 4    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 04:03pm 04 Jun 2021
Copy link to clipboard 
Print this post

V5.07.00RC1 now available - getting closer  

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

This update will erase all previous options and force re-initialisation

Minor changes:

Overclocking to 504MHz is now enabled with OPTION OVERCLOCK ON
and disabled with OPTION OVERCLOCK OFF

In addition you can also force the CMM2 to run at 400MHZ irrespective of which chip is installed using OPTION BASELINE ON
This is disabled with OPTION BASELINE OFF

Option overclock and option baseline are mutually exclusive and setting one will cancel the other as required
 
PeteCotton

Guru

Joined: 13/08/2020
Location: Canada
Posts: 313
Posted: 04:58pm 04 Jun 2021
Copy link to clipboard 
Print this post

Fantastic! Thanks once again!
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 501
Posted: 05:03pm 04 Jun 2021
Copy link to clipboard 
Print this post

Wow ,  thanks a lot Matherp & Geoff.
Plasma
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 05:38pm 04 Jun 2021
Copy link to clipboard 
Print this post

  matherp said  Option overclock and option baseline are mutually exclusive and setting one will cancel the other as required


Not working as intended on my 400 MHz:

> 504MHz Colour Maximite 2
MMBasic Version 5.07.00RC1
Copyright 2011-2021 Geoff Graham
Copyright 2016-2021 Peter Mather

> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK, 1
OPTION BASELINE ON
OPTION OVERCLOCK ON
OPTION RAM ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /bin/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>
> option baseline off
> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK, 1
OPTION BASELINE ON
OPTION OVERCLOCK ON
OPTION RAM ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /bin/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>
> option overclock off
> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK, 1
OPTION BASELINE ON
OPTION OVERCLOCK ON
OPTION RAM ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /bin/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>


Looks like the OFF's are non-functional and the mutual-exclusiveness is non-existent

Sorry, Tom
Edited 2021-06-05 03:41 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 05:47pm 04 Jun 2021
Copy link to clipboard 
Print this post

Also OPTION RESET is not consistently clearing all options:

> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK
OPTION RAM ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /magic/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>
> option reset
> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK
OPTION F12 chdir "/sptools/src"<crlf>

Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 05:59pm 04 Jun 2021
Copy link to clipboard 
Print this post

  Quote  Looks like the OFF's are non-functional and the mutual-exclusiveness is non-existent


Please download and try again - I think I posted the wrong version
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 06:16pm 04 Jun 2021
Copy link to clipboard 
Print this post

  matherp said  Please download and try again - I think I posted the wrong version


Initially that seemed to be doing better, until:
> 504MHz Colour Maximite 2
MMBasic Version 5.07.00RC1
Copyright 2011-2021 Geoff Graham
Copyright 2016-2021 Peter Mather

> option reset
> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK, 1
OPTION OVERCLOCK ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /bin/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>
> option overclock off
> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK, 1
OPTION OVERCLOCK ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /bin/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>
> option baseline on
> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK, 1
OPTION OVERCLOCK ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /bin/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>
> option baseline off
> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK, 1
OPTION OVERCLOCK ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /bin/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>
> option reset
> option list
CURRENT VGA mode 800x600 RGB332
CURRENT DISPLAY 50,100
OPTION USBKEYBOARD UK, 1
OPTION OVERCLOCK ON
OPTION KEYBOARD REPEAT 200,50
OPTION SEARCH PATH /bin/
OPTION F11 chdir "/zmim/src"<crlf>
OPTION F12 chdir "/sptools/src"<crlf>


I suppose it's possible caching means I still haven't got the correct version installed, but I don't think so, do you have an MD5 ?

I'll try and find time to play more later.

Best wishes,

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 06:55pm 04 Jun 2021
Copy link to clipboard 
Print this post

Something very wrong - Option Reset isn't clearing the options
I thought I'd found a way of reading the options before setting the clocks but something isn't right - don't waste any time on it
 
mclout999
Guru

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

  Quote  Something very wrong


Matherp should my hardware switch I use during boot to overclock still work?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 07:11pm 04 Jun 2021
Copy link to clipboard 
Print this post

Try again - bloody caching  

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

Joined: 05/03/2018
Location: Netherlands
Posts: 3496
Posted: 07:58pm 04 Jun 2021
Copy link to clipboard 
Print this post

@thwill
Are you actually running a 400Mhz chip at 504Mhz? Water cooling?

I ask, since mine is also 400Mhz. I normally would never have tried that... 480 maybe, but 504....


Edit: tried it, it works. Gonna run some reliability tests tomorrow...
Edited 2021-06-05 07:01 by Volhout
PicomiteVGA PETSCII ROBOTS
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 10:56pm 04 Jun 2021
Copy link to clipboard 
Print this post

  Volhout said  @thwill
Are you actually running a 400Mhz chip at 504Mhz? Water cooling?


Hi @Volhout,

I believe 504 MHz is the only overclocking game in town, or at least the only one that @matherp has sanctioned for both the 400 & 480 MHz CMM2 and he hasn't suggested any additional cooling. However I'm only doing this for the purposes of testing the Release Candidate, after that I will return to 400 MHz, more than fast enough, or if it isn't then I can switch to C and get a > 10x performance boost.

Best wishes,

Tom
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
yock1960
Senior Member

Joined: 18/08/2020
Location: United States
Posts: 167
Posted: 12:32am 05 Jun 2021
Copy link to clipboard 
Print this post

I've been running at 504 for some time now...months...no issues...yet. Warm time is here though...so...we'll see.

Steve
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 07:17am 05 Jun 2021
Copy link to clipboard 
Print this post

  Quote  Matherp should my hardware switch I use during boot to overclock still work?


No: This was always a temporary solution and is generally a bad idea because it limits pin use for connected devices.

As there has also been a requirement to run 480MHz devices at 400MHz for compatibility testing I needed to bite the bullet and try and find a mechanism that would allow options to be read before the main clocks are set up. This version should do that if I have finally ironed out the wrinkles - Tom?
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 07:34am 05 Jun 2021
Copy link to clipboard 
Print this post

  matherp said  This version should do that if I have finally ironed out the wrinkles - Tom?


Sorry Peter, I should have some time after lunch to test.

Best wishes,

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

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 02:55pm 05 Jun 2021
Copy link to clipboard 
Print this post

Hi Peter,

- Overclock/Baseline/Reset options all seem to be working with latest RC1 download.
- All my unit-tests are working with RC1 (except known issue with Static variables).
- Z-MIM smoke-test passed with RC1.
- Smoke-tests of Bill and my new Scott Adams Adventure Interpreter [Coming Soon] passed with RC1.
- Smoke-tests of all programs on The Welcome Tape passed with RC1
    - though I did find a couple of what I believe were pre-existing issues with Mandelbrot Explorer (https://github.com/thwill1000/cmm2-welcome/issues). I am not proposing to do anything about these, but if @Sasquatch is still active on TBS or someone else wants to take a look then I am happy to update The Welcome Tape with their efforts.

So, looks good to me, thanks again Peter.

Best wishes,

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 03:00pm 05 Jun 2021
Copy link to clipboard 
Print this post

Tom

Thanks for your testing - it is really very much appreciated
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1133
Posted: 04:24pm 05 Jun 2021
Copy link to clipboard 
Print this post

Hi Peter,

the new way to set overclocking by software is a great invention!
Even better my good old GAME OF LIFE still works flawlessly (6ms/generation for demo1).

An observation: in very early versions of the CMM2 firmware, I noticed a huge difference in execution time between RAM and ROM mode (ca. 10%). This difference has disappeared for some time. Is there still a difference between RAM and ROM mode at all?

MM.INFO(CPUSPEED) should be updated in the manual.

Thanks a lot!

Best regards
Michael
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3831
Posted: 06:24pm 05 Jun 2021
Copy link to clipboard 
Print this post

I'm very happy with what we've got, but I wonder if there is any merit in these new options being set via:

OPTION CPUSPEED 400|480|504|BASELINE|DEFAULT|OVERCLOCK


Where:
- BASELINE is equivalent to 400
- OVERCLOCK is equivalent to 504
- DEFAULT is equivalent to 400 or 480 depending on the processor
- 480 is not valid on the 400 processor

And then replacing or supplementing MM.INFO(CPUSPEED) with MM.INFO(OPTION CPUSPEED) which would return the numeric value rather than the string equivalent.

If nothing else this would leave more maneuvering room should other speed options become available in the future.

Best wishes,

Tom
Edited 2021-06-06 08:44 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8567
Posted: 07:27am 08 Jun 2021
Copy link to clipboard 
Print this post

V5.07.00RC2

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

improves the timing of the pause command
 
     Page 1 of 4    
Print this page
© JAQ Software 2024