Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:55 02 Aug 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 : New PicoMiteVGA design

     Page 2 of 3    
Author Message
Michal
Senior Member

Joined: 02/02/2022
Location: Poland
Posts: 125
Posted: 02:14pm 06 Jun 2022
Copy link to clipboard 
Print this post

Same for Windows(3GHz):

MMBASICW:

START
A  1.1
B  86706.20931
L  100000
Time MMBASICW= 102.110 msec

===================================

Python 3.7.9:

START
a  1.0999999999917733
b  86706.20931054458
l  100000
Time Python 81.00557327270508  msec


Identical results for MMBASICW and PicoMite!

Michal
Edited 2022-06-07 17:28 by Michal
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 10:48am 07 Jun 2022
Copy link to clipboard 
Print this post

  matherp said  FYI the GOTO command is not locked in RAM so has to go to flash to read the firmware.

The fastest construct in Basic is the for LOOP as the 100000 is only read once whereas on a do while it is read each time through the loop

The fastest do loop I can find is
x%=100000
do
inc x%,-1
loop while x%


Every bit counts (no pun  )


timer = 0
x%=100000
do:inc x%,-1:loop while x%


Craig
 
pwillard
Guru

Joined: 07/06/2022
Location: United States
Posts: 313
Posted: 10:52am 10 Jun 2022
Copy link to clipboard 
Print this post

I did order one of these boards just for grins.  I'm now waiting on a couple parts from Mouser to finish assembly.  The design seems decent enough.
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 03:36pm 10 Jun 2022
Copy link to clipboard 
Print this post

  Grogster said  No mention at all of Geoff or Peter,

I see it (e.g. here ) - so maybe it's changed recently?

John
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 06:32pm 10 Jun 2022
Copy link to clipboard 
Print this post

That's because it's a Wiki page - anyone can edit it, so I did. :) I considered it very unfair when what he's actually done is pretty obviously derived from Peter's design for the PicoMite. There's no link to Geoff's site either, but at least I've given him a credit for MMBasic now.
Mick

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

Joined: 06/07/2019
Location: United States
Posts: 228
Posted: 12:06am 11 Jun 2022
Copy link to clipboard 
Print this post

The Tindie page I listed in my fist post mentions the board is based on the PicoMiteVGA reference design, with a link to Geoff’s Boot to Basic PicoMiteVGA page.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 06:49am 11 Jun 2022
Copy link to clipboard 
Print this post

Oh, sorry - I hadn't spotted the link. Probably because it's only on the page selling boards. It still didn't credit either Geoff or Peter originally though.
Mick

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

Joined: 07/06/2022
Location: United States
Posts: 313
Posted: 04:06pm 15 Jun 2022
Copy link to clipboard 
Print this post

So far... So good.

Stuff checks out...



MCP23017 is working...   cycling through some LEDS...



And the minor BODGE on the rev 1 board dealt with...  no issues...



More testing results later... I guess.
 
pwillard
Guru

Joined: 07/06/2022
Location: United States
Posts: 313
Posted: 04:11pm 15 Jun 2022
Copy link to clipboard 
Print this post

So far... So good.

Stuff checks out...


Edited 2022-06-16 02:12 by pwillard
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 05:24pm 15 Jun 2022
Copy link to clipboard 
Print this post

Nice. I'm not sure why the jpgs weren't resized appropriately by the forum software. In my experience, GIFs are resized and don't require scrolling or zooming out to see the full picture.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
pwillard
Guru

Joined: 07/06/2022
Location: United States
Posts: 313
Posted: 07:33pm 15 Jun 2022
Copy link to clipboard 
Print this post

Thats on me... I messed up
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 08:14pm 15 Jun 2022
Copy link to clipboard 
Print this post

I like the MCP23017.

Is this your own design? Can you share the gerbers?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Rickard5

Guru

Joined: 31/03/2022
Location: United States
Posts: 463
Posted: 07:28am 16 Jun 2022
Copy link to clipboard 
Print this post

SHEN CAN I GET ONE I SIGNED UP FOR A NOTICE I WANT ONE BADLY :)
I may be Vulgar, but , while I'm poor, I'm Industrious, Honest,  and trustworthy! I Know my Place
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 10:06am 16 Jun 2022
Copy link to clipboard 
Print this post

Those who want one, please see the first post in the thread. :)
Mick

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

Joined: 04/06/2022
Location: United States
Posts: 19
Posted: 04:32pm 10 Jul 2022
Copy link to clipboard 
Print this post

Hi,

I'm the guy who designed the PCB and put it up on Tindie.

I really tried to give appropriate credit to Geoff, et. al. If anyone has a particular suggestion to improving the Wiki please let me know.

Thanks for the comments.

- Doug at Land Boards
 
LandBoardsLLC
Newbie

Joined: 04/06/2022
Location: United States
Posts: 19
Posted: 04:51pm 10 Jul 2022
Copy link to clipboard 
Print this post

About the comments on my very crude "benchmark" video...

It was not at all intended as a slam on the PicoMiteVGA. It was the easiest possible "demo" code I could write. I appreciate that there are better code implementations that show off the speed of MMBASIC better.

It would be great if someone made a video with tips for writing faster code. There's not much out there on the PicoMiteVGA.

I am so pleased with the MMBASIC that I've moved over testing my [tiny business] Land Boards card tests to a test station based on a 32-bit I/O build of the design. It's a small step towards "industrial"-izing the design (DB-37 used as the I/O connector).

http://land-boards.com/blwiki/index.php?title=PiPicoMite02

I've written quite a bit test/demo cade for I2C on just about any platform out there over the years and nothing is easier to use than MMBASIC.

Also coming out with a version of the card which fits into a standard extruded aluminum enclosure. It's in with Tindie for approval.

http://land-boards.com/blwiki/index.php?title=PiPicoMite03

- Doug at Land Boards LLC
 
LandBoardsLLC
Newbie

Joined: 04/06/2022
Location: United States
Posts: 19
Posted: 04:55pm 10 Jul 2022
Copy link to clipboard 
Print this post

I think I found a good place to add a credits section. Used:

MMBASIC Credits

Peter Mather led the project, ported the MMBasic interpreter to the Raspberry Pi Pico and wrote the hardware device drivers. Geoff Graham wrote the MMBasic interpreter and the manual.  Mick Ames wrote the PIO compiler and its corresponding documentation. The VGA driver code was derived from work by Miroslav Nemecek.

- Doug at Land Boards LLC
 
LandBoardsLLC
Newbie

Joined: 04/06/2022
Location: United States
Posts: 19
Posted: 06:20pm 10 Jul 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  That's because it's a Wiki page - anyone can edit it, so I did. :) I considered it very unfair when what he's actually done is pretty obviously derived from Peter's design for the PicoMite. There's no link to Geoff's site either, but at least I've given him a credit for MMBasic now.


Thanks for the edit!
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7937
Posted: 07:26pm 10 Jul 2022
Copy link to clipboard 
Print this post

No problem, Doug. I figured that you'd probably overlooked it - I hadn't checked the Tindie sales page at that point.

Nice documentation - I like that. :)
Mick

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

Joined: 04/06/2022
Location: United States
Posts: 19
Posted: 07:44pm 10 Jul 2022
Copy link to clipboard 
Print this post

  Mixtel90 said  No problem, Doug. I figured that you'd probably overlooked it - I hadn't checked the Tindie sales page at that point.

Nice documentation - I like that. :)


Thanks! It takes a lot of time to document stuff. That's part of what makes the PicoMite and PicoMiteVGA so great. Their User Manual is first class. And the openness of the project. Clearly, they are on a labor of love.

Not sure if some people missed the original video I put up of a PicoMiteVGA prototype build. I spent a large part of the video giving kudos to Geoff, et. al. It hopefully adds some back context as I did try to give credit where it is due.

PicoMiteVGA prototype video

I'd like to do a video on writing efficient code in MMBASIC. One of the critiques in this thread was I wrote the BASIC code like I was stuck in the 1970's and it's a fair criticism. I've spent the last 10 yrs writing code in Python and 20 years before that in C/C++. But I think I'm not atypical of a least a subset of the sort of person who might be attracted to MMBASIC.

Part of the attraction of MMBASIC is that it's got a bit of old and familiar to it. I call it "not your grandpa's BASIC". Some of us old dogs like learning new(er) tricks and it also brings that aspect in a big way.

- Doug at Land Boards LLC
 
     Page 2 of 3    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025