Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 18:51 09 Jul 2020 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 4    
Author Message
Turbo46
Guru

Joined: 24/12/2017
Location: Australia
Posts: 518
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: 403
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: 3434
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: 403
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: 518
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: 383
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
Download Z-MIM: a Z-machine Interpreter for Colour Maximite 2
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 3434
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: 383
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
Download Z-MIM: a Z-machine Interpreter for Colour Maximite 2
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 3434
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: 518
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: 2677
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: 383
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
Download Z-MIM: a Z-machine Interpreter for Colour Maximite 2
 
     Page 4 of 4    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2020