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: AustraliaPosts: 1593 |
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: AustraliaPosts: 840 |
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 KingdomPosts: 8578 |
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: AustraliaPosts: 840 |
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: AustraliaPosts: 1593 |
Sorry, I'm sure the manual is constantly under revision but: Page 10 says: As there is no SETPIN AOUT command, should that read: And the descriptions for the relevant pins change to Analog IN? Page 36 still says: Page 48 still says: Perhaps the description for the ADC command on page 53 could be changed to: Bill Edited 2020-07-06 15:34 by Turbo46 Keep safe. Live long and prosper. |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3839 |
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 KingdomPosts: 8578 |
should read sscanf((char *)buff, "%d,%d, %d", &width, &number, &height); |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 3839 |
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 KingdomPosts: 8578 |
You are correct should read (ie, the width, number of sprites, and the height in that order)." |
||||
Turbo46 Guru Joined: 24/12/2017 Location: AustraliaPosts: 1593 |
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: AustraliaPosts: 3165 |
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 KingdomPosts: 3839 |
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: AustraliaPosts: 5900 |
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: AustraliaPosts: 1593 |
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: AustraliaPosts: 2870 |
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: AustraliaPosts: 2870 |
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: AustraliaPosts: 3165 |
Thanks Mick, well spotted. Geoff Geoff Graham - http://geoffg.net |
||||
capsikin Guru Joined: 30/06/2020 Location: AustraliaPosts: 341 |
This would be a better thread for a manual thing I mentioned elsewhere: 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: 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: AustraliaPosts: 341 |
In the manual entry for the OPEN command on p73: should be |
||||
vegipete Guru Joined: 29/01/2013 Location: CanadaPosts: 1082 |
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 |