Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:14 13 Jun 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 : PicoMite Draft manual V6.00.02 - please review

     Page 3 of 3    
Author Message
AlbertR
Newbie

Joined: 29/05/2025
Location: Germany
Posts: 11
Posted: 07:05am 05 Jun 2025
Copy link to clipboard 
Print this post

I think from copy/paste

Page 103: ARRAY INSERT |This is the opposite of MATH SLICE, has a

Page 104: ARRAY SLICE  |eg.
                        .
                        MATH SLICE a(), 2, , 3, b()
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2537
Posted: 12:32pm 05 Jun 2025
Copy link to clipboard 
Print this post

P22 Variables. "Command" missing. Some cause errors, though many don't.
  Quote  A variable name or a label must not be the same as a command, function or one of the following keywords: THEN, ELSE,
GOTO, GOSUB, TO, STEP, FOR, WHILE, UNTIL, LOAD, MOD, NOT, AND, OR, XOR, AS.


Edit.
p26  String Operators:
<> < > <= =< >= =>
Inequality, less than, greater than, less than or equal to, less than or
equal to (alternative version), greater than or equal to, greater than or
equal to (alternative version) In order of ASCII value.
Edited 2025-06-06 11:51 by phil99
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 989
Posted: 04:39am 06 Jun 2025
Copy link to clipboard 
Print this post

OPTION NOCHECK [ON|OFF] temporary option in the code but not in the manual.
Looks to prevent the test for CNTRL+C and Interrupts after each each command.
Latest F4 Latest H7 FotS
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1546
Posted: 06:07pm 07 Jun 2025
Copy link to clipboard 
Print this post

p 161:

SPRITE WRITE [#]b, x, y

'mode'?
Will copy sprite '#b' to the display. The destination coordinate is 'x' and 'y' and the width/height of the buffer to copy is 'w' and 'h'. The optional 'mode' parameter defaults to 4 and specifies how the stored image data is changed as itis written out. It is the bitwise AND of the following values:
&B001 = mirrored left to right
&B010 = mirrored top to bottom
&B100 = don't copy transparent pixels

Michael
causality ≠ correlation ≠ coincidence
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1546
Posted: 07:57pm 07 Jun 2025
Copy link to clipboard 
Print this post

p 161:

SPRITE WRITE [#]b, x, y

should be:SPRITE WRITE [#b, x, y,[,mode
should be:SPRITE WRITE [#]b, x, y,[,mode]
Will copy sprite '#b' to the display. The destination coordinate is 'x' and 'y' and the width/height of the buffer to copy is 'w' and 'h'. The optional 'mode' parameter defaults to 4 and specifies how the stored image data is changed as itis written out. It is the bitwise AND of the following values:
&B001 = mirrored left to right
&B010 = mirrored top to bottom
&B100 = don't copy transparent pixels



p 105:
BLIT WRITE [#]b, x, y
[,mode]
%, x, y [,col]


"%, x, y [,col]" ??


p 70:
The available standard blit commands are:
BLIT READ #b, x, y, w, h
BLIT WRITE #b, x, y, w, h


... very confusing.

Michael
Edited 2025-06-08 06:00 by twofingers
causality ≠ correlation ≠ coincidence
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7744
Posted: 08:48am 10 Jun 2025
Copy link to clipboard 
Print this post

Page 13 - I/O pin limits
I'm probably just being pedantic...

The RP2040 has a maximum total GPIO current, source or sink, of 50mA including the QSPI

The RP2350 has a maximum total GPIO current, source or sink, of 100mA in addition to the QSPI. You get slightly more than twice the current capability.

Note that these currents are shared across all pins:
50mA across 26 pins for the Pico
100mA across 26 pins for the Pico 2
100mA across 48 pins for the RP2350B
Mick

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

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4281
Posted: 09:06am 10 Jun 2025
Copy link to clipboard 
Print this post

1. p14:

  Quote  Versions with VGA video @ 640x400 resolution have the clock set to 252MHz however this can be changed using OPTION RESOLUTION to 252MHz, 315MHz or 378MHz.


This confused me since the wording suggests that you might use OPTION RESOLUTION to directly set the clock speed, whereas in reality the clock being set is a side-effect.

The wording for the next sentence regarding HDMI I think is better.

2. I think the documentation for OPTION RESOLUTION is inconsistent, the documentation for the command (p98) lists resolutions of 720, 800 and 848 but these don't seem to appear in earlier table(s), e.g. p31, p66.

I wonder if it would be better to just document the resolutions, their modes and the corresponding CPU frequencies just once in an appendix and for everywhere else just to reference that.

Best wishes,

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 10164
Posted: 09:21am 10 Jun 2025
Copy link to clipboard 
Print this post

VGA is correct, HDMI is wrong as it can also change the frequency for 640x480 mode using OPTION RESOLUTION. Other resolutions are fixed frequency

  Quote  Versions with Video @ 640x400 resolution have the clock set to 252MHz however this can be changed using OPTION RESOLUTION to 252MHz, 315MHz or 378MHz.  
At other video resolutions the clock speed is fixed at 283.2MHz, 324MHz, 360MHz or 372MHz depending on the video resolution selected and this cannot be changed.  


  Quote   I think the documentation for OPTION RESOLUTION is inconsistent, the documentation for the command (p98) lists resolutions of 720, 800 and 848 but these don't seem to appear in earlier table(s), e.g. p31, p66.


I wish you had raised this earlier   Manual is with Geoff for tidying - hopefully not too much wasted effort
 
LouisG
Senior Member

Joined: 19/03/2016
Location: Australia
Posts: 127
Posted: 02:10pm 10 Jun 2025
Copy link to clipboard 
Print this post

I can't see anywhere what PIO stands for.
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1546
Posted: 02:36pm 10 Jun 2025
Copy link to clipboard 
Print this post

  LouisG said  I can't see anywhere what PIO stands for.

Programmed Input/Output
Regards
MIchael
causality ≠ correlation ≠ coincidence
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4980
Posted: 04:04pm 10 Jun 2025
Copy link to clipboard 
Print this post

@louisg

The rp2040 and rp2350 chips have ARM processors, but also smart IO pins. These smart IO pins can do elementary functions without ARM involvement. Programable.

Volhout
PicomiteVGA PETSCII ROBOTS
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1546
Posted: 08:43pm 11 Jun 2025
Copy link to clipboard 
Print this post

p86

MMTOPIC$ should be MM.TOPIC$ (missing dot)
causality ≠ correlation ≠ coincidence
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2537
Posted: 01:12am 12 Jun 2025
Copy link to clipboard 
Print this post

Perhaps a bit late, but a possible addition. The manual could be changed to read:-
  Manual, Functions said  INPUT$(nbr, [#]fnbr)
 This function will return as many characters as are in the file or receive buffer up to ‘nbr’, removing them from the buffer.

Edited 2025-06-12 11:17 by phil99
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 414
Posted: 01:26am 12 Jun 2025
Copy link to clipboard 
Print this post

  twofingers said  p86

MMTOPIC$ should be MM.TOPIC$ (missing dot)


That's on pg. 89 of my copy.
 
Arne
Newbie

Joined: 05/01/2025
Location: Germany
Posts: 28
Posted: 04:30am 12 Jun 2025
Copy link to clipboard 
Print this post

Page 120, GUI TEST LCDPANEL - test also works on VGA an HDMI (all Modes).
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1125
Posted: 03:24pm 12 Jun 2025
Copy link to clipboard 
Print this post

Page 151
POKE FLOAT will set the word (i.e. 32 bits) at the memory location 'addr%' to
'float!'. 'addr%' should be an integer and 'float!' a floating point number.

32 bits should be 64 bits, I think.
Visit Vegipete's *Mite Library for cool programs.
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1546
Posted: 06:32pm 12 Jun 2025
Copy link to clipboard 
Print this post

p. 149 (Typo)
PLAY LOAD SOUND array%()

  Quote  You can use the MEMORY PACK command to
create the arrays from a normal 40956 element integer array.
sould be: 4096 !

An example would be helpful, as it's not clear whether all elements must be filled. It's also unclear how to use a second array or how to overwrite or delete the sound data (not the array!).


  toml_12953 said  
  twofingers said  p86

MMTOPIC$ should be MM.TOPIC$ (missing dot)


That's on pg. 89 of my copy.

Correct!
Michael
causality ≠ correlation ≠ coincidence
 
     Page 3 of 3    
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025