Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:40 11 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 : Draft PicoMite 6.00.01 User Manual

     Page 10 of 13    
Author Message
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1527
Posted: 02:51pm 01 Jan 2025
Copy link to clipboard 
Print this post

Computer console

Board:
https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=17173
Edited 2025-01-02 01:02 by twofingers
causality ≠ correlation ≠ coincidence
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 03:16pm 01 Jan 2025
Copy link to clipboard 
Print this post

I've checked the code: PicoMite, CMM2, and MicroMite MM2/MM+. The only computer console key that returns a function key with a shift as described is F3.
Given this is common amongst all the variants I won't change the firmware but the manual should have a note that that the text applies to USB and PS2 connected keyboards
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1527
Posted: 03:21pm 01 Jan 2025
Copy link to clipboard 
Print this post

  matherp said  ... Given this is common amongst all the variants I won't change the firmware but the manual should have a note that that the text applies to USB and PS2 connected keyboards

This is of course a bit unfortunate. But I understand it and thank you for the quick check.
Kind regards
Michael
causality ≠ correlation ≠ coincidence
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1636
Posted: 05:10am 07 Jan 2025
Copy link to clipboard 
Print this post

  Geoff said  BTW, the Feb 2025 issue of Silicon Chip magazine will have a six page article introducing Peter's V6.00.01 firmware to the world.

It seems to me that, with the recent discussions on early BASICs, that an article on MMBasic and it's evolution over the years would be a good read. Many members do not go back as far as the original Maximite. It has evolved quite a lot.

Bill
Keep safe. Live long and prosper.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7505
Posted: 08:30am 07 Jan 2025
Copy link to clipboard 
Print this post

Rather like https://geoffg.net/Maximite_Story.html maybe?  :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3269
Posted: 03:32am 11 Jan 2025
Copy link to clipboard 
Print this post

  Turbo46 said  It seems to me that, with the recent discussions on early BASICs, that an article on MMBasic and it's evolution over the years would be a good read. Many members do not go back as far as the original Maximite. It has evolved quite a lot.

I might have a shot at that.  I'm currently on a long cruise and that would fill in some of the days at sea.

You can also read: https://www.thebackshed.com/forum/ViewTopic.php?TID=13743#167806
That post marked the 10-year anniversary of MMBasic.

Geoff
Geoff Graham - http://geoffg.net
 
ville56
Senior Member

Joined: 08/06/2022
Location: Austria
Posts: 217
Posted: 06:13am 12 Jan 2025
Copy link to clipboard 
Print this post

The Manual Revision 3 completely misses out the

"OPTION GUI CONTROLS"

in the "Options" section. As there is no documentation elswhere in the manual for it.

Gerald
                                                                 
73 de OE1HGA, Gerald
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2417
Posted: 07:16am 12 Jan 2025
Copy link to clipboard 
Print this post

Another minor item.
p116, IR dev, key , int or IR CLOSE
"It can be connected to any pin however this pin must be configured in
advanced using the command: SETPIN n, IR"

p117, "you should reverse the bits. This describes how to do it:
http://www.thebackshed.com/forum/forum_posts.asp?TID=8367

However in the linked thread does appear to have an example of reversing the bits.
This thread gives a variety of ways.
https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=15045#189686#189694
There are links to other IR remote control protocols for the Pico on FoTS.

Edit
8 bit code reversing
  dev = ((Dev And 255) * &H0202020202 And &H010884422010) Mod 1023 'ensure 8 bits only &
  key = ((Key And 255) * &H0202020202 And &H010884422010) Mod 1023 ' reverse bit order

16 bit address reversing
    dev16 = (((dev And 255) * &H0202020202 And &H010884422010) Mod 1023) << 8 ' reverse Dev bit order, low byte
    dev = dev16 + ((dev >> 8) * &H0202020202 And &H010884422010) Mod 1023  'now reverse high byte & swap bytes

Edited 2025-01-12 17:28 by phil99

Footnote added 2025-01-12 17:42 by phil99
Correction
"However in the linked thread does not appear to have an example of reversing the bits."
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3269
Posted: 07:22am 12 Jan 2025
Copy link to clipboard 
Print this post

OPTION GUI CONTROLS is defined in Advanced Graphics Functions.pdf which is included in the firmware zip.  This covers everything related to the advanced GUI commands/functions.

This will easily spark a debate as to the wisdom of placing these functions in a separate manual.  Originally, I had them integrated in the main manual but there are so many commands/functions related to the advanced graphics that they dominated the main manual and made it hard to navigate - especially for ordinary users.

Geoff
Geoff Graham - http://geoffg.net
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4854
Posted: 08:44am 17 Jan 2025
Copy link to clipboard 
Print this post

Hi Geoff,

The 6.00.01 user manual could use 2 small changes.

1/ PIO does not appear in the function list




2/ There is a difference in the PIO(SHIFTCTRL ) helper function. The bits for fjoin_rx and fjoin_tx are swapped (join 2 PIO fifo's into one larger fifo). This should be corrected in 2 locations to match the released 6.00.01 firmware.

location 1: the function table



location 2: the appendix (page 189).



Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 08:53am 17 Jan 2025
Copy link to clipboard 
Print this post

Geoff

DIR$ function mentions:
  Quote  VOL Search for the volume label only


This line should be removed as it is not implemented
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4854
Posted: 09:56am 17 Jan 2025
Copy link to clipboard 
Print this post

Geoff,

The command PIO PROGRAM pio,array%() is not in the command overview. This command programs the entire pio program memory with the data in array%(). See appendx F.

Volhout
Edited 2025-01-17 19:57 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3269
Posted: 07:51pm 17 Jan 2025
Copy link to clipboard 
Print this post

Thanks, I have added them all.  Soon we will be ready for another published revision update.

Geoff
Geoff Graham - http://geoffg.net
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 01:12pm 18 Jan 2025
Copy link to clipboard 
Print this post

Geoff

page 193

e=PIO(execctrl gp0,PIO(.wrap target),PIO(.wrap) 'wrap and wrap target


missing bracket to close the PIO function

e=PIO(execctrl gp0,PIO(.wrap target),PIO(.wrap)) 'wrap and wrap target
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4251
Posted: 04:16pm 18 Jan 2025
Copy link to clipboard 
Print this post

Geoff,

The description of the RESTORE command is incomplete as it doesn't cover using a label or a variable.

In case it helps this is what I wrote previously for the MMB4L README:
### RESTORE

`RESTORE [<label> | label$ | line%]`

Resets the "virtual pointer" (line and position counters) for the `READ` statement.
  * With no argument the pointer is reset to the first `DATA` statement in the program.
  * With an explicit `<label>` or string-expression the pointer is reset to the first `DATA` statement following the corresponding label.
  * With an integer-expression the pointer is reset to the first `DATA` statement following the corresponding line number.


Best wishes,

Tom
Edited 2025-01-19 02:16 by thwill
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 05:08pm 18 Jan 2025
Copy link to clipboard 
Print this post

More on PIO

Page 194

The commands are:
PIO DMA_IN a,b,c,d,e,f,g
PIO DMA_OUT a,b,c,d,e,f,g


should be

  Quote  The commands are:
PIO DMA RX a,b,c,d,e,f,g
PIO DMA TX a,b,c,d,e,f,g
 
cosmic frog
Senior Member

Joined: 09/02/2012
Location: United Kingdom
Posts: 300
Posted: 11:13am 19 Jan 2025
Copy link to clipboard 
Print this post

Geoff,
     On page 102 CAMERA CAPTURE mentions "...the example image above." - but there is no image.

     On page 89 OPTION CONSOLE "...when a program exists." - should be Exits.

     On page 20 USING A MOUSE "...clicking the scroll wheel is the sane as F5" - should be Same.

Dave.
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 971
Posted: 01:28am 20 Jan 2025
Copy link to clipboard 
Print this post

Option to output HEX not included in manual.

MATH V_PRINT array() [,HEX]
Quick mechanism to print a small array on a single line. The ‘HEX’ option will print the values in HEX for an integer array.
Latest F4 Latest H7 FotS
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 971
Posted: 02:26am 20 Jan 2025
Copy link to clipboard 
Print this post

Also
MATH POWER inarray(), power, outarray()
raises each element in inarray() to the power defined and puts the output in outarray()

MM.INFO(SYSTEM I2C)
returns I2C, I2C2, or Not set as applicable

I can't see where this one was added but its in the code.
MM.INFO(SPI SPEED)
returns system SPI speed ??
Edited 2025-01-20 12:45 by disco4now
Latest F4 Latest H7 FotS
 
Hawk

Senior Member

Joined: 15/07/2021
Location: Australia
Posts: 148
Posted: 10:49pm 21 Jan 2025
Copy link to clipboard 
Print this post

Not an error, but something that has caught me out.

In the Graphics Functions section, all the sub sections for each command give an example of how that command is used except Fonts and Load Image.

Can I suggest that examples of be added for these sub sections?
 
     Page 10 of 13    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025