Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:38 14 May 2025 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 : Introducing the Colour Maximite 2

     Page 19 of 25    
Author Message
Decoy
Senior Member

Joined: 02/08/2019
Location: Denmark
Posts: 109
Posted: 09:23am 02 Jun 2020
Copy link to clipboard 
Print this post

  matherp said  
  Quote  The connector in your link is aDM1AA-SF-PEJ(72), is that the same as DM1AA-SF-PEJ(21)?


  Quote   I think the number in brackets is just the packaging option - certainly I use this version as it is cheaper than RS.


Oh, I got it now :)Thanks!
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1836
Posted: 06:26am 03 Jun 2020
Copy link to clipboard 
Print this post

Why does the OPTION LIST show "OPTION DISPLAY 50,100" but there is no OPTION DISPLAY, seems inconsistent?
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1636
Posted: 06:55am 03 Jun 2020
Copy link to clipboard 
Print this post

Sorry to be a pain but the construction pack schematic does not show the 10K pullup resistors on the Nunchuk lines to the connector.

EDIT: I remember that Nick found that when testing Nunchuks for one of his games that he found that some will communicate at 400Khz. Has that been considered?

Bill
Edited 2020-06-03 17:03 by Turbo46
Keep safe. Live long and prosper.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3272
Posted: 09:41am 03 Jun 2020
Copy link to clipboard 
Print this post

The construction pack and the other manuals have not been updated for a while.  I have "final" versions almost ready and will post them within the week and make an announcement here.

Geoff
Geoff Graham - http://geoffg.net
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1836
Posted: 05:35am 04 Jun 2020
Copy link to clipboard 
Print this post

Is there a limit to file size loaded into this editor.

No previous program loaded. I'm getting:

Error: Not enough heap memory

>Memory
Flash:
207K (40%) Program (7035)
309K (60%) Free

RAM:
  0k ( 0%) 0 Variables
4627K (89%) General
557K (11%) Free


This is a BAS file from the H7 and is not to run on a CMM2, I was simply interested in seeing how the editor responded to a large file. As it's simply editing from the SD I can't see (I'm getting old though) that this would be a problem. File is nearly 9000 lines and 274K.  

I'm asking here first because there may be some kind of pre-processing going on and it's spitting the dummy at GUI elements and pin numbers etc, although the Editor does not have a problem with smaller files that have Pin and GUI elements NA to the CMM2.    

Mike.
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10075
Posted: 08:03am 04 Jun 2020
Copy link to clipboard 
Print this post

Because of the way the editor and MMBasic's memory management work, each line of the file takes 512 bytes so your file is consuming all of the available RAM. This allows things like sideways scrolling and large cut and paste buffers

The CMM2 supports you splitting the program into modules as a main program and one or more "include" files. These are then assembled when you type "RUN". This approach is obviously not available on the various Micromites but hopefully encourages better programming practice and overcomes the issue you are seeing.
 
KeepIS

Guru

Joined: 13/10/2014
Location: Australia
Posts: 1836
Posted: 08:10am 04 Jun 2020
Copy link to clipboard 
Print this post

Great, understand, however when you use an editor with full Function / Procedure folding then there is no need to split up a program of this size from a better programming point of view, however the feature of Include files is an absolute plus in this environment, that's another thing I wish we had on the ArmH7.
Edited 2020-06-04 18:11 by KeepIS
NANO Inverter: Full download - Only Hex Ver 8.1Ks
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1090
Posted: 10:24am 05 Jun 2020
Copy link to clipboard 
Print this post

My CMM-2 arrived this arvo from CG just on a month from ordering & posting. Just used the cheaper freight. Thanks CG. Looks good.

Haven't tried it out yet. Bit to catch up on. A fair bit has changed software wise etc since its introduction.
Bit to catch up on.
Lots of posts to read through again.

Update.

Few quick tests. Works OK using the Editor (After I changed the switch on the daughter board to bring up the power)

I hardly ever used the inbuilt editor on my CMM-1

Yet to update the firmware.

Brian
Edited 2020-06-05 23:17 by Chopperp
ChopperP
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10075
Posted: 01:26pm 05 Jun 2020
Copy link to clipboard 
Print this post

The first formal release of the CMM2 software V5.05.02 is now available from

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

This is the release that SC will have available for download on their site when the magazine articles launch which is why the release had now to be locked.

Changes from RC44

Includes a protection to try and avoid the editor incorrectly reporting "Nothing to edit"
Re-engineered INPUT$ from files to better fix a bug that was reported earlier
Removed a spurious esc character sent by the editor
Fixed editor bug where if ESCAPE is only pressed once or twice, then any other keys are pressed, the warning message still remains at the bottom of the terminal screen
LS, LIST FILES and DIR$ now all understand a path name as part of the pattern string
e.g.
? dir$(“subdir/*.bas”)   ‘get the first .bas file in the subdirectory subdir of the current working directory
? dir$(“/subdir/*.bas”) ‘get the first .bas file in the directory A:/subdir
Ls “subdir/*”   ’ list all the files in subdirectory subdir of the current working directory
LS “/subdir/*” ‘ list all the files in the directory a:/subdir

For both LS and DIR$ the code works as follows
You type  “/subdir”   the firmware looks for a file or directory subdir in the root directory
You type  “/subdir/”   the firmware interprets  “/subdir/*”
You type  “/subdir/something”   the firmware looks for a file or directory with the name “something” in subdir
You type  “/subdir/something/” the firmware interprets  “/subdir/something/*”

Please continue to report any issues on the Bug  thread. These will be dealt with in beta releases for 5.05.03 and the address for downloads of the betas will be advised in due course.
Edited 2020-06-05 23:29 by matherp
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4251
Posted: 01:53pm 05 Jun 2020
Copy link to clipboard 
Print this post

Great.

  matherp said  LS, LIST FILES and DIR$ now all understand a path name as part of the pattern string


For these and other commands that take paths is the inclusion of a drive specification A:/ B:/ C:/ ... relevant .. or is it ignored? What is the drive letter for the SD card? does the flash have a drive letter? do my questions even make sense?

Regards,

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 10075
Posted: 02:08pm 05 Jun 2020
Copy link to clipboard 
Print this post

Formally the drive letter for the SDcard is "A:"
This is not always checked but should be used. Alternatively a file specification can begin with just / or \ indicating a pathname starting at the root directory

There are no other devices that can be addressed as files.
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4251
Posted: 02:27pm 05 Jun 2020
Copy link to clipboard 
Print this post

  matherp said  Formally the drive letter for the SDcard is "A:"
This is not always checked but should be used. Alternatively a file specification can begin with just / or \ indicating a pathname starting at the root directory

There are no other devices that can be addressed as files.


Good to know the canonical answer. FYI if I recall correctly I tried CHDIR with B:/foo and C:/foo as well and they seemed to work.

Regards,

Tom
Edited 2020-06-06 00:27 by thwill
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4251
Posted: 03:11pm 05 Jun 2020
Copy link to clipboard 
Print this post

  matherp said  The first formal release of the CMM2 software V5.05.02 is now available ...


I forgot to say a big CONGRATULATIONS on reaching another milestone.

Can't wait to see what the future for the CMM2 holds.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3272
Posted: 03:24pm 05 Jun 2020
Copy link to clipboard 
Print this post

  matherp said  The first formal release of the CMM2 software V5.05.02 is now available from
http://geoffg.net/Downloads/Maximite/Colour_Maximite_2_MMBasic.zip
This is the release that SC will have available for download on their site when the magazine articles launch which is why the release had now to be locked.


And similarly the documentation files have been updated to fix errors and include the final functionality:

Colour Maximite 2 User Manual:
http://geoffg.net/Downloads/Maximite/Colour_Maximite_2_User_Manual.pdf

Tutorial: Programming with the Colour Maximite 2:
http://geoffg.net/Downloads/Maximite/Programming_with_the_Colour_Maximite_2.pdf

Construction pack includes parts list, PCB design files, firmware, etc:
http://geoffg.net/Downloads/Maximite/CMM2_Construction_Pack.zip

Geoff
Edited 2020-06-06 01:34 by Geoffg
Geoff Graham - http://geoffg.net
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1090
Posted: 09:41pm 05 Jun 2020
Copy link to clipboard 
Print this post

I've just updated the firmware to 5.05.05.
All appears OK apart from the CMM2 not recognising the USB keyboard.
Tried 2 different ones.
Any suggestions please?

Brian
ChopperP
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10075
Posted: 09:45pm 05 Jun 2020
Copy link to clipboard 
Print this post

Check readme.txt in the download
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1090
Posted: 09:53pm 05 Jun 2020
Copy link to clipboard 
Print this post

Thanks Peter.
Also fixed another keyboard problem I had.

NOTE to self:- RTFM or Notes etc
Edited 2020-06-06 07:58 by Chopperp
ChopperP
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 10:27pm 05 Jun 2020
Copy link to clipboard 
Print this post

  matherp said  Check readme.txt in the download

I think the following (at the top of the readme.txt):
OPTION RESET
OPTION USBKEYBOARD UK or OPTION USBKEYBOARD USBKEYBOARD

Is meant to say:
OPTION RESET
OPTION USBKEYBOARD UK or OPTION USBKEYBOARD US

Presumably some kind of autocompletion typo sneaked in?
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1090
Posted: 12:38am 06 Jun 2020
Copy link to clipboard 
Print this post

Hi Gregzone

Can you post this to the CMM2 Manual Errata thread please

Brian
ChopperP
 
GregZone
Senior Member

Joined: 22/05/2020
Location: New Zealand
Posts: 114
Posted: 04:23am 06 Jun 2020
Copy link to clipboard 
Print this post

  Chopperp said  Can you post this to the CMM2 Manual Errata thread please

Brian

Done. Thanks for pointing this out Brian.
 
     Page 19 of 25    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025