Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:54 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 : Ping from MMBasic

Author Message
dtpnz
Newbie

Joined: 04/09/2023
Location: New Zealand
Posts: 3
Posted: 04:02am 07 May 2025
Copy link to clipboard 
Print this post

Are there any plans to implement a ping function in MMBasic?  I know we can ping Picomites etc but it would be great to be able to go the other way and execute code based on the ping result.
 
VK2FVAX

Newbie

Joined: 02/05/2025
Location: Australia
Posts: 2
Posted: 04:21am 07 May 2025
Copy link to clipboard 
Print this post

I'm keen for this.

I've just bought a Pico/2/Computer to replace my much loved (read: abused) Colour Maximite from a while back.

I'm planning to slap a Pico2W in there instead of the supplied Pico2. First call of business is to come on here and see if anyone is working on support and a firmware image.

I've not spotted anything 'yet'. Still in reading mode.

Exciting new generation/world.
 
Gadgetguy
Newbie

Joined: 26/04/2025
Location: France
Posts: 24
Posted: 05:12am 07 May 2025
Copy link to clipboard 
Print this post

  VK2FVAX said  

I've just bought a Pico/2/Computer to replace my much loved (read: abused) Colour Maximite from a while back.

.


Good morning, i just bought a maximite and a picomite (they both will likely arrive in the next week or so). Based on my understanding the picomite is much less powerful vs the maximite. Other than that are the two units more or less the same from an mmbasic perspective, would you know please?
Edited 2025-05-07 15:13 by Gadgetguy
 
VK2FVAX

Newbie

Joined: 02/05/2025
Location: Australia
Posts: 2
Posted: 05:39am 07 May 2025
Copy link to clipboard 
Print this post

Sounds good.

My understanding is that the stock speeds for the Pico and Pico2 family are 133mhz and 150mhz respectively. Also double the RAM. I've seen sites that show how to overclock them upto 400mhz. Not sure this is necessary. I've been using my Colour Maximite for a number of years. It's MIPS based (PIC24) rather than ARM/Hazzard based. It'll be interesting to see how the MMBASIC programs I've written port over. A few are quite cycle heavy.

I'm a newbie myself to these boards, so unfortunately I don't know much more. Keen to hear your experiences.
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1141
Posted: 06:31am 07 May 2025
Copy link to clipboard 
Print this post

  Gadgetguy said  Based on my understanding the picomite is much less powerful vs the maximite. Other than that are the two units more or less the same from an mmbasic perspective, would you know please?


The Picomite might execute code slower but the PIO actually makes it a more capable embedded controller.
 
Gadgetguy
Newbie

Joined: 26/04/2025
Location: France
Posts: 24
Posted: 09:16am 07 May 2025
Copy link to clipboard 
Print this post

I just looked at processor speed, screen resolution etc. which suggest the maximite to be more powerful. Not sure what PIO is?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7505
Posted: 09:40am 07 May 2025
Copy link to clipboard 
Print this post

The PIO on the Pico is a very specialised module. There is a very good description of it and its capabilities in the manual.

Basically it's a tiny CPU with a small instruction (basic) set but the instructions can actually be pretty complex. Each PIO has four "state machines" that simply walk along the dedicated memory area carrying out each instruction as it finds it. The machines can run on the same memory or you can make them run on only partial areas of it. The state machines themselves are unaware of each other. The whole PIO can communicate with the main CPU bus using two pipeline shift registers. The PIO can also directly control some GPIO pins.

The main CPUs and the PIOs run independently of each other and can be running at different clock speeds. At maximum speed a state machine can carry out an instruction on every clock cycle. That can be *very* fast when you are running the system clock at over 300MHz! Once a PIO is running it will continue to do so, no matter what the main CPUs are doing unless it is waiting for some information from a CPU. It's a bit like having extra processors.

There are two PIOs in the RP2040 and three in the RP2350.

The PicoMite uses one PIO to handle video generation, the state machines producing the synch signals needed.

MMBasic includes special commands for working with the PIO module.
Mick

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

Joined: 26/04/2025
Location: France
Posts: 24
Posted: 11:13am 07 May 2025
Copy link to clipboard 
Print this post

Very cool. Was not aware so thank you for explaining. Lot to discover / experiment with
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4854
Posted: 11:38am 07 May 2025
Copy link to clipboard 
Print this post

Hi,

PicomiteVGA/HDMI uses PIO 0 for video generation (and audio when I2S audio is used).
PicomiteW uses PIO 1 for wifi interface.
PicoMite has both PIO's unused.

But there is always 1 PIO (4 statemachines) free for user tasks.

Volhout
PicomiteVGA PETSCII ROBOTS
 
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