Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 19:28 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 Manual Errata

     Page 4 of 6    
Author Message
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1593
Posted: 06:56am 29 Jun 2020
Copy link to clipboard 
Print this post

Sorry Andrew,

I mis-read your post and I can't do that test right now.

Bill
Keep safe. Live long and prosper.
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 840
Posted: 07:35am 29 Jun 2020
Copy link to clipboard 
Print this post

All is forgiven

Trust me it is a dinky little "0C" and CHR$(96) is still "`".

Andrew
 
matherp
Guru

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

This isn't a manual issue, it is a font issue. I'll fix the font to be compatible with the others in the next beta
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 840
Posted: 09:02am 29 Jun 2020
Copy link to clipboard 
Print this post

Hi Peter,
Are you able to preserve the "0C" somewhere - it can be useful?
Cheers,

Andrew
(PS: Great effort!)
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1593
Posted: 01:15am 06 Jul 2020
Copy link to clipboard 
Print this post

Sorry, I'm sure the manual is constantly under revision but:

Page 10 says:
  Quote  There are 12 pins marked as supporting analog I/O

As there is no SETPIN AOUT command, should that read:
  Quote  There are 12 pins marked as supporting analog input

And the descriptions for the relevant pins change to Analog IN?


Page 36 still says:
  Quote  While playing in this background mode the Colour Micromite 2 can edit programs



Page 48 still says:
  Quote  NOIT will invert the logical value on the right.



Perhaps the description for the ADC command on page 53 could be changed to:
  Quote  The ADC functionality can capture up to 3 channels of analog data in the background at up to 500KHz per channel with user selectable triggering



Bill
Edited 2020-07-06 15:34 by Turbo46
Keep safe. Live long and prosper.
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3839
Posted: 03:57pm 06 Jul 2020
Copy link to clipboard 
Print this post

p44 in the description of the CMM1 sprite format:

"The following example shows a red mouse pointer. The first line of the file holds the parameters for the sprite
(ie, the width, starting sprite number and the width in that order)."

I don't think it does

I may be wrong but I believe the parameters in the first line are (dimension or height), (number of sprites in file) and optionally (width).

Regards,

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 04:09pm 06 Jul 2020
Copy link to clipboard 
Print this post

should read

  Quote  The first line of the file holds the parameters for the sprite
(ie, the width, starting sprite number and the height in that order)."


sscanf((char *)buff, "%d,%d, %d", &width, &number, &height);
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3839
Posted: 04:21pm 06 Jul 2020
Copy link to clipboard 
Print this post

  matherp said  should read

  Quote  The first line of the file holds the parameters for the sprite
(ie, the width, starting sprite number and the height in that order)."


sscanf((char *)buff, "%d,%d, %d", &width, &number, &height);


Then how does MMBasic know the number of sprites in the file? According to the MMBasic 4.5 manual:

The first non-comment line in the file must be the specifications for the sprite file as follows:
   dimension, number
Where 'dimension' is the height and width of the sprites in pixels. At this time it must be the number 16.
'number' is the number of sprites in the file and is limited only by the amount of free memory available.


Did the format change after the CMM1 but before the CMM2 ?

Regards,

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 8578
Posted: 04:26pm 06 Jul 2020
Copy link to clipboard 
Print this post

You are correct should read

  Quote  The first line of the file holds the parameters for the sprite
(ie, the width, number of sprites, and the height in that order)."
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1593
Posted: 02:38am 07 Jul 2020
Copy link to clipboard 
Print this post

Not an error but maybe the manual could include some information from this post it may help prevent some people from being caught out.

Bill
Keep safe. Live long and prosper.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 02:40pm 07 Jul 2020
Copy link to clipboard 
Print this post

Thanks guys, I have made the changes.

Peter; at some point we will need to merge these and your changes to the manual.

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

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 3839
Posted: 03:38pm 07 Jul 2020
Copy link to clipboard 
Print this post

Using ALL as the 'type' argument to the DIR$ function is undocumented.

And (though I believe you already know this) VOL is not supported as the 'type' argument.

Regards,

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

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5900
Posted: 03:08am 18 Jul 2020
Copy link to clipboard 
Print this post

V5.05.04 manual included with the RC4 beta

Index for OPTION missing

Index for PAGE is P
followed by an index E




Jim
VK7JH
MMedit   MMBasic Help
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1593
Posted: 03:58am 18 Jul 2020
Copy link to clipboard 
Print this post

There is another funny one: "optimised" that takes you into the MATH section.





Bill
Keep safe. Live long and prosper.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 06:07am 05 Aug 2020
Copy link to clipboard 
Print this post

Hi Geoff, All,

Minor typo in OPTION F11 string$ (User Manual  5.05.04)

The example quotes OPTION F12 “RUN “+chr$(34)+”myprog” +chr$(34)+chr$(13)+chr$(10)

i.e F12 rather than F11

Kind Regards

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2870
Posted: 06:33am 05 Aug 2020
Copy link to clipboard 
Print this post

Hi Geoff, All,

Another typo page 88 the command is listed as TURTLE DRAW DIRCLE x, y, r

ie. Circle spelled DIRCLE

Kind Regards

Mick
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 08:27am 05 Aug 2020
Copy link to clipboard 
Print this post

Thanks Mick, well spotted.
Geoff
Geoff Graham - http://geoffg.net
 
capsikin
Guru

Joined: 30/06/2020
Location: Australia
Posts: 341
Posted: 09:06am 05 Aug 2020
Copy link to clipboard 
Print this post

This would be a better thread for a manual thing I mentioned elsewhere:
  capsikin said  
I've noticed that the second argument to MODE can be left off, this should go in the manual if it's officially supported: "MODE r, [bits [, bg [, int]]]" with the extra square brackets instead of "MODE r, bits [, bg [, int]]". Is there a default colour depth?


And I also saw this one in another thread, which looks like manual errata:
  fiziwig said  Play Sound 1,B,N,200 ' starts the sound as expected, but

Play Sound 1,B,O     ' gives syntax error.

The manual says (pp74) "frequency...must be specified except when type is O."

But to actually work the frequency must be specified with type O:

Play Sound 1,B,O,1


Edited 2020-08-05 19:06 by capsikin
 
capsikin
Guru

Joined: 30/06/2020
Location: Australia
Posts: 341
Posted: 11:46pm 08 Aug 2020
Copy link to clipboard 
Print this post

In the manual entry for the OPEN command on p73:
  Quote  See also OPTION ERROR and MM.ERRNO for error handling.

should be
  Quote  See also ON ERROR and MM.ERRNO for error handling.
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1082
Posted: 01:20am 09 Aug 2020
Copy link to clipboard 
Print this post

The function HEX$ does not appear in the bookmark list of functions.

==================

I realize this is the way it's been done to date in MMBasic manuals, but must commands and functions be in separate lists? Yes, I know, commands do something and functions return something so they operate quite differently. But I often find it awkward when I have to flip back and forth between sections. And some commands and functions have the same name, which might be even more helpful if they were together.

Is the user manual available as a (libre)office document? Maybe I could play around with it and see what a merged command/function list would be like.
Visit Vegipete's *Mite Library for cool programs.
 
     Page 4 of 6    
Print this page
© JAQ Software 2024