Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : PicoMite V6.00.02 release candidates - all versions

   Page 45 of 52    
Posted: 09:08am
12 May 2025
Copy link to clipboard
dddns
Guru

> option list
PicoMiteVGA MMBasic RP2350B Edition V6.00.02RC23
OPTION FLASH SIZE 16777216
OPTION COLOURCODE ON
OPTION KEYBOARD US
OPTION PICO OFF
OPTION RESOLUTION 800x600 @ 360000KHz
OPTION DISPLAY 50, 100
OPTION SDCARD GP41, GP40, GP39, GP42
OPTION PSRAM PIN GP47
>

I wanted to switch to the USB version and reassign the pins. For the first time I realized that OPTION VGA PINS gets not listed with OPTION LIST
 
Posted: 09:11am
12 May 2025
Copy link to clipboard
matherp
Guru

How many times do I need to explain that in general option do not show when the settings are default? VGA PINS will show if not default.
 
Posted: 09:22am
12 May 2025
Copy link to clipboard
dddns
Guru

Thank you, I didn't see the forest with all these trees around me. sorry
Edited 2025-05-12 19:23 by dddns
 
Posted: 09:23am
12 May 2025
Copy link to clipboard
Volhout
Guru

@JanVolk,

Any chance to get access to the manual you created.? Can I purchase it as a book, or ca you share a pdf (so I can print it).

Volhout
 
Posted: 11:36am
12 May 2025
Copy link to clipboard
toml_12953
Guru

  phil99 said  Try putting all above SUB MM.STARTUP in MM.STARTUP. Perhaps that will help.
I think items in the library only get read when called so they need to be in a Sub of some sort.
SUB MM.STARTUP
 WEB NTP -4,"time.nist.gov"
 CONST TRUE=-1
 CONST FALSE=0
 OPTION ESCAPE
 OPTION BASE 1
 DRIVE "B:"
 PRINT DateTime$(now)
END SUB

SUB MM.END
 PRINT
 PRINT
 PRINT "END PROGRAM"
 PRINT
END SUB


Thanks but the other lines I have outside of SUBs are executed whenever a program is RUN. I'll try it, though.
 
Posted: 12:13pm
12 May 2025
Copy link to clipboard
Mixtel90
Guru


I think the thing is at any code in the Library that's not in a sub is executed once before a program is run. It looks like it's being treated like a command line input, which would disappear. I've no idea why it would do that, it could be a bug or something to do with how drive switching works.
 
Posted: 05:16pm
12 May 2025
Copy link to clipboard
JanVolk
Senior Member

Harm,

Thank you for your response.
I have updated the Dutch translation of version 6.00.01 with my notes.
All Dutch speaking people, please benefit from it and feel free to comment on this document or start a new topic about it.
Here is the document:  
MMBASIC V6.00.01 Raspberry Pi Pico RP2040 en RP2350 Ned 12-5-2025.pdf


Also the Dutch notes that I have collected from all versions up to now from V6.00.02.
Here is the document:  
PicoMite V6.00.02RC23 NED 12-5-2025.pdf


Greetings,

Jan.
 
Posted: 09:30pm
12 May 2025
Copy link to clipboard
twofingers
Guru


  twofingers said  Hi Peter,
Can you please tell me the default values ​​for (USB) keyboard repeatstart and repeatrate?

Solved, thanks!
Regards
Michael
 
Posted: 03:02am
13 May 2025
Copy link to clipboard
phil99
Guru


An unexpected result with the PORT Function on Pico 2040 LCD and 2053 VGA.

The PORT Command correctly sets all pins, but when reading back the output pin states only the 2 MS Bits are read.

Footnote added 2025-05-19 22:09 by phil99
In RC24 this issue has been fixed.
The PORT Function can now correctly read the same pins as set by the PORT Command.

Footnote added 2025-05-19 22:48 by phil99
> SetPin gp0,dout :SetPin gp1,dout :SetPin gp2,dout :SetPin gp3,dout
> For t=0 To 15:Port(gp0,4)=t :Print Port(gp0,4); :next
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
 
Posted: 07:16am
13 May 2025
Copy link to clipboard
matherp
Guru

More info needed. What version? Are the pins set for input? Code example?
 
Posted: 07:35pm
14 May 2025
Copy link to clipboard
electricat
Senior Member


USB/HDMI/2350 02b23

Peter,

It seems, it is not possible to set custom [, wheel-count] value using cmd
  Quote  DEVICE MOUSE SETMOUSE SET channel, y-coord, y-coord [, wheel-count]


I can easy use offset as roundabout.
But it might need fix if it was designet to be setable.
 
Posted: 09:13pm
17 May 2025
Copy link to clipboard
thwill
Guru


Hi Peter,

RC23 doesn't seem to like the EXECUTE RUN combo from B: drive:

> ? cwd$
B:/
> list "foo.bas"
Execute "Run " + Chr$(34) + _
"B:/bar.bas" + Chr$(34)
> run "foo.bas"
Error : Invalid disk


It works if I just call RUN directly without the EXECUTE so I can do that, but this is part of a program that I want to run on multiple platforms and I have to use EXECUTE RUN on the CMM2.

Best wishes,

Tom
 
Posted: 10:56pm
17 May 2025
Copy link to clipboard
toml_12953
Guru

Does
MATH(SD a())

return the population SD or sample SD?
 
Posted: 11:37pm
17 May 2025
Copy link to clipboard
disco4now
Guru


  toml_12953 said  Does
MATH(SD a())

return the population SD or sample SD?

MMBasic since PicoMite 6.00 calculates Sample standard deviation.
 
Posted: 05:47am
18 May 2025
Copy link to clipboard
mace
Newbie

  phil99 said  An unexpected result with the PORT Function on Pico 2040 LCD and 2053 VGA.

The PORT Command correctly sets all pins, but when reading back the output pin states only the 2 MS Bits are read.


Hi.
There is indeed something weird behavior in Port command still now.
Try older version like v.5.08.00. Mine projects Works with older versions but not in V6. and later.
 
Posted: 07:35am
18 May 2025
Copy link to clipboard
matherp
Guru

  Quote  There is indeed something weird behavior in Port command still now.


I'm not aware of any bug in port command on RC23. If there is one please post details

  Quote  RC23 doesn't seem to like the EXECUTE RUN combo from B: drive:


Looks like some CMM2 code that needs removing

if ((q = strchr((char *)p, ':'))) {
q--;
*q = '0';
}

Edited 2025-05-18 18:28 by matherp
 
Posted: 11:40am
18 May 2025
Copy link to clipboard
mace
Newbie

  mace said  
  phil99 said  An unexpected result with the PORT Function on Pico 2040 LCD and 2053 VGA.

The PORT Command correctly sets all pins, but when reading back the output pin states only the 2 MS Bits are read.


Hi.
There is indeed something weird behavior in Port command still now.
Try older version like v.5.08.00. Mine projects Works with older versions but not in V6. and later.


Hi.
Connect for test:

GP0 to GP4
GP1 to GP5
GP2 to GP6
GP3 to GP7

test program:

SetPin gp0,din,pulldown :SetPin gp1,din,pulldown
SetPin gp2,din,pulldown :SetPin gp3,din,pulldown
SetPin gp4,dout :SetPin gp5,dout :SetPin gp6,dout :SetPin gp7,dout

Do
For t=0 To 15
Port(gp4,4)=t
Print Port(gp0,4)
Next
Loop
End


Release v5.08.00  outputs 0 to 15
Release v6.00.00  outputs 0-3

Options are default,no change.
 
Posted: 01:09pm
18 May 2025
Copy link to clipboard
Volhout
Guru

Delete
Edited 2025-05-18 23:11 by Volhout
 
Posted: 01:50pm
18 May 2025
Copy link to clipboard
matherp
Guru

Mace: thanks - found and fixed - will be in the next RC
 
Posted: 08:24am
19 May 2025
Copy link to clipboard
matherp
Guru

V6.00.02RC24 is available on

https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip

Fixes bugs in PORT command and function (I hope!!!)
Fixes bug in Wii Classic support
Fixes bug in EXECUTE "RUN..."
Allows editing in console when screen width/font width is >= 32

Removes delay for ST7796S when switching between reading and writing the framebuffer.
NB: On this display you must bridge across D1 on the display if you wish to read the framebuffer. It is also recommended to bridge across J1 to allow the full 3.3V to drive the display

Various internal changes including one fix to core MMbasic - please confirm no nasty side effects

NB: you should re-load programs and the library, if used, after this update
Edited 2025-05-19 19:51 by matherp
 
   Page 45 of 52    
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025