Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:40 25 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.00b12 - Various fixes

     Page 2 of 9    
Author Message
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1032
Posted: 02:10am 15 Feb 2021
Copy link to clipboard 
Print this post

Updated my 2 CMM2's yesterday & today to b16. The STM programmer initially wouldn't connect to the Waveshare one until I reloaded the programmer.

Small thing with the Waveshare one on a Dell monitor, my COLOUR RGB(BROWN)'s seem to be a lot redder than the were with an earlier version. Hard to distinguish between Rec & Brown actually.

The other single board unit on an ACER monitor is a bit better but not much.

Before & after examples from the Waveshare version below. (The same temp readings is purely coincidental)  





Brian
Edited 2021-02-15 12:13 by Chopperp
ChopperP
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 430
Posted: 04:24am 15 Feb 2021
Copy link to clipboard 
Print this post

I had to redownload the current beta and it is now V5.07.00b16.bin.  I can find no mention of it here like what changed.  Thanks.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 08:36am 15 Feb 2021
Copy link to clipboard 
Print this post

  Quote  s it remotely possible for PAGE DISPLAY to refer to (a section of) the FRAMEBUFFER?

Also, could PAGE WRITE include a numerical value to refer to the FRAMEBUFFER. Maybe, say, 999? Or, gasp, -1? (This would be equivalent to FRAMEBUFFER WRITE.)

Lastly, I am getting an odd error with FRAMEBUFFER WINDOW when FRAMEBUFFER WRITE is active:


1: No, memory for display has to be configured differently to variable memory
2: No, I try and avoid magic numbers to the extent possible
3: Thanks, easy fix will be in the next beta
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 10:06am 15 Feb 2021
Copy link to clipboard 
Print this post

V5.07.00b16 now available

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

Fixes bug in FRAMEBUFFER WINDOW
Adds error checking to SPRITE HIDE SAFE to give an error if the sprite either doesn't exist or is not showing

NEW FUNCTIONALITY

OPTION SLEEP n

n is the number of minutes (0-255) before the monitor is turned off when at the command line. Set to 0 to disable. Any keypress will wake the monitor. Does not affect a running program.

Use PAGE DISPLAY -1 to turn off the monitor if required in a program. NB this command is only allowed now in a program to avoid conflicting with OPTION SLEEP
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 10:16am 15 Feb 2021
Copy link to clipboard 
Print this post

Hi Peter,
is some chance for it?
  Quote  Just one suggestion/request: can be in SAVE added flag for append?

If I should add it to my CSUB or will be generaly enabled...
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 10:21am 15 Feb 2021
Copy link to clipboard 
Print this post

  Quote  is some chance for it?


No: not the intent of the command; load and save are a pair and load loads everything in the file so having different bits in the save doesn't work
Edited 2021-02-15 20:27 by matherp
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 11:37am 15 Feb 2021
Copy link to clipboard 
Print this post

OK,
thanks anyway for LOAD/SAVE!
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
yock1960
Senior Member

Joined: 18/08/2020
Location: United States
Posts: 167
Posted: 06:37pm 15 Feb 2021
Copy link to clipboard 
Print this post

Peter, you left some diagnostics turned on...Type x messages for sprite collisions.

Steve
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 06:43pm 15 Feb 2021
Copy link to clipboard 
Print this post

Oops - should be OK now
 
rootadm79
Newbie

Joined: 15/02/2021
Location: Czech Republic
Posts: 3
Posted: 09:35pm 15 Feb 2021
Copy link to clipboard 
Print this post

Hi CMM2 friends,

in CMM2V5.07.00b16 when use OPTION CONSOLE SCREEN continue sending output to serial. I am here new, if exist some thread for notice all bugs, than please navigate me.


Thanks you and have fun with CMM2
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 09:46pm 15 Feb 2021
Copy link to clipboard 
Print this post

  rootadm79 said  Hi CMM2 friends,

in CMM2V5.07.00b16 when use OPTION CONSOLE SCREEN continue sending output to serial. I am here new, if exist some thread for notice all bugs, than please navigate me.


Thanks you and have fun with CMM2

Hi,
did you try OPTION CONSOLE SAVE after? In my experience it still sends all to the serial console if I didn't use SAVE immediately...
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
rootadm79
Newbie

Joined: 15/02/2021
Location: Czech Republic
Posts: 3
Posted: 09:51pm 15 Feb 2021
Copy link to clipboard 
Print this post

  jirsoft said  
  rootadm79 said  Hi CMM2 friends,

in CMM2V5.07.00b16 when use OPTION CONSOLE SCREEN continue sending output to serial. I am here new, if exist some thread for notice all bugs, than please navigate me.


Thanks you and have fun with CMM2

Hi,
did you try OPTION CONSOLE SAVE after? In my experience it still sends all to the serial console if I didn't use SAVE immediately...


Yes, same result


--- Jinak zdravim krajana, jsem od Plzne. Pekna prace tvuj Napoleon
 
RetroJoe

Senior Member

Joined: 06/08/2020
Location: Canada
Posts: 290
Posted: 09:52pm 15 Feb 2021
Copy link to clipboard 
Print this post

Hi, and welcome!

Defects found in beta releases should indeed be reported in the thread that Peter creates for each new version (e.g. this one for the 5.07 release).

I believe there is a "master thread" for reporting CMM2 documentation errors.

Cheers, and happy MaxiMiting!
Enjoy Every Sandwich / Joe P.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 10:43pm 15 Feb 2021
Copy link to clipboard 
Print this post

  Quote  in CMM2V5.07.00b16 when use OPTION CONSOLE SCREEN continue sending output to serial. I am here new, if exist some thread for notice all bugs, than please navigate me.



Works for me

option console screen
print "hello"
do:loop
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 11:54pm 15 Feb 2021
Copy link to clipboard 
Print this post

  rootadm79 said  
--- Jinak zdravim krajana, jsem od Plzne. Pekna prace tvuj Napoleon


Diky. Ja jsem zapadne od Plzne   , Tachov...
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 501
Posted: 01:11am 21 Feb 2021
Copy link to clipboard 
Print this post

HI ;

Ive searching around the forum but cant find the Framebuffer Adress.
trying to load and save to/from.
maybe MM.INFO(Framebuffer Adress) ?

thx
Plasma
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3013
Posted: 01:45am 21 Feb 2021
Copy link to clipboard 
Print this post

From CMM2 manual: MM.INFO(FRAMEBUFFER) Returns the physical memory location of the framebuffer. This is useful if you need to POKE/PEEK the contents of the page.

(Note: 2 "d"s in address, if you were searching.)
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 501
Posted: 01:58am 21 Feb 2021
Copy link to clipboard 
Print this post

   Thanks lizby .
Plasma
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 08:31am 21 Feb 2021
Copy link to clipboard 
Print this post

V5.07.00b17 now available

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

Fixes Memory leak in SPITE LOAD. This will only be seen if you repeatedly load very large sprites.
Edited 2021-02-21 18:32 by matherp
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 06:15pm 24 Feb 2021
Copy link to clipboard 
Print this post

  Quote  V5.07.00b18 now available

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

New Sub-Commands as requested by Mauro: BOX AND_PIXELS, BOX OR_PIXELS, BOX XOR_PIXELS
BOX xxx_PIXELS x, y, w, h, colour [,pageno]
This executes the requested logical operation between the pixels in the area defined on the page specified (defaults to the write page) with the colour specified
 
     Page 2 of 9    
Print this page
© JAQ Software 2024