Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:26 26 Nov 2024 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 : For materp: Raspberry Pi 400

Author Message
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 10:21pm 18 Feb 2024
Copy link to clipboard 
Print this post

Probably, it is another dumb question. This idea just came to my mind.

How hard is it to port the Mite to a Raspberry Pi 400?

It will be awesome to start the Raspberry Pi 400 and see the MMBasic environment
It has USB ports, IO ports, HDMI, a keyboard, etc...
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 396
Posted: 10:35pm 18 Feb 2024
Copy link to clipboard 
Print this post

This would be a dream come true and I was afraid to ask this before... Sadly I think this would be really hard work if even possible at all.

So maybe another question for Peter: If not possible to port MMBASIC to the Raspberry Pi, may it be possible to port MMBASIC for Windows to ARM (Raspberry Pi OS)?

But yes, Imagine the power of the Raspberry Pi 400 running MMBASIC with GPIO functions or even HDMI... uff a whole new era would rise :D  

But I am VERY happy with PicoMiteVGA, too :)

Greetings
Daniel
Edited 2024-02-19 08:36 by Amnesie
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9115
Posted: 10:41pm 18 Feb 2024
Copy link to clipboard 
Print this post

Ages ago I did a full port of MMbasic to the Pi but every new version of the H/W and every operating system update broke it. I will never touch that cursed device again
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 11:02pm 18 Feb 2024
Copy link to clipboard 
Print this post

  matherp said  Ages ago I did a full port of MMbasic to the Pi but every new version of the H/W and every operating system update broke it. I will never touch that cursed device again


How about a version for this ?
my site
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 11:08pm 18 Feb 2024
Copy link to clipboard 
Print this post

I got a rpi 400. key presses say 3. haven't used it, the keyboard fails it seems. could use a usb or bluetooth but rpi400 is not much use as a pc substitute, too slow,youtube is jerky.
I got freebasic working on rpi400 and compiled gcbasic but never messed with wiringpi for fb which would be like mmbasic I guess. fb does sprites I think
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 11:36pm 18 Feb 2024
Copy link to clipboard 
Print this post

  stanleyella said  I got a rpi 400. key presses say 3. haven't used it, the keyboard fails it seems. could use a usb or bluetooth but rpi400 is not much use as a pc substitute, too slow,youtube is jerky.
I got freebasic working on rpi400 and compiled gcbasic but never messed with wiringpi for fb which would be like mmbasic I guess. fb does sprites I think

Yes, the keyboard is somewhat flaky.
The 4-B with 4G is quite nice.
For online use try FydeOS ...
my site
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4039
Posted: 12:24am 19 Feb 2024
Copy link to clipboard 
Print this post

Hi,

If you are hoping for a bare metal implementation for the Pi then you are out of luck. Of the shedders who like to hear themselves talk only @matherp appears to have anything close to the correct skills and sufficient free-time and he has (IMO sensibly) dismissed the idea.

If you are looking for MMBasic as an application then follow my "signature" to MMB4L (MMBasic for Linux) and find the armv6l release of v0.5.0. That should run on the 400. Any developer worth their salt should be able to compile v0.6.0 too, and for ARM64 if they want.

Alas no high-res graphics, audio or gpio (except by using SYSTEM to call sysfs) yet, and the serial comms whilst usable is best regarded as experimental.

I've just started work this weekend on adding graphics support using SDL2, but don't hold your breath as I'm exceedingly busy and it's not the only iron I have in the fire.

By all means feel free to contribute but note that not only am I probably too busy to coordinate I'm also a brutal code-reviewer .

Best wishes,

Tom
Edited 2024-02-19 10:25 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 02:51am 19 Feb 2024
Copy link to clipboard 
Print this post

I was thinking of something more bare metal. Something we can write on an SD Card, put in the machine, and that's all... the MMBasic environment will be there.

It was just a dream  
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 03:24am 19 Feb 2024
Copy link to clipboard 
Print this post

  LeoNicolas said  
It was just a dream  


Dreams need a little help .....
my site
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6787
Posted: 08:38am 19 Feb 2024
Copy link to clipboard 
Print this post

TBH I'd much rather have a CMM2 than a RPi. It's more useful to me and has more GPIO, including ADC, which is sadly lacking from the RPi. I must confess to having a bit of a  soft spot for Python though, it's rather like BASIC on steroids. :)

Of course, if you want a RPi-format module that runs MMBasic it's already been done a few times.
Edited 2024-02-19 18:40 by Mixtel90
Mick

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

Joined: 05/03/2018
Location: Netherlands
Posts: 4233
Posted: 11:06am 19 Feb 2024
Copy link to clipboard 
Print this post

  LeoNicolas said  Probably, it is another dumb question. This idea just came to my mind.

How hard is it to port the Mite to a Raspberry Pi 400?

It will be awesome to start the Raspberry Pi 400 and see the MMBasic environment
It has USB ports, IO ports, HDMI, a keyboard, etc...


To be honest, I never really understood the market niche that the Raspberry Pi 1,2,3,4, and 5 are in. That accounts almost same for the Pi-400. You spend around 100 euro's for a (linux) computer, but to be able to use it typically you need a 100+euro screen, and in many cases external storage (100 euro+ USB3-SSD).

So you are 300+ euro spending to have "Kabelsalat" on your desk (a mess of wires and cables). Especially if you need sound as wel, and a mouse.

Starting from 350 euro's you have a brand new laptop, with everything integrated, having W10 installed, or 200 euro's for a refurbished one.

I do see the value of the Raspberry platforms in embedded applications .. absolutely. But not as a desktop replacement. Or ... to play MMBasic games on. Take the laptop, install MMB4W (or the MMB4L if you like linux - or MMB4W in Wine if you like linux).

Bare metal would be faster ... that is true. I am sure bare metal on a Pi5 if you use multiple cores (so you need some form of an OS !) could be faster. But in the end you would need support for HDMI, WIFI, network, controllers, USB sticks, Bluetooth, etc. And then bare metal forces you to develop everything yourself (let's call it "peter-self"). Un-doable within even one lifetime.

My 5 cents.

Volhout
Edited 2024-02-19 21:09 by Volhout
PicomiteVGA PETSCII ROBOTS
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4039
Posted: 11:23am 19 Feb 2024
Copy link to clipboard 
Print this post

For a long time I used a Pi3 mounted (VESA mount) behind a display on my electronics workbench with a wireless keyboard and mouse. I would run MMB4L on this and use it as a terminal for working with 'mites. It is very space economical because the keyboard and mouse can just be moved to a shelf above when unneeded. That said more recently for development of the Game*Mite I've mostly been working in my office and using my new / 2nd hand Lenovo T480 laptop running Ubuntu.

Best wishes,

Tom
Edited 2024-02-19 21:25 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 02:35pm 19 Feb 2024
Copy link to clipboard 
Print this post

  Volhout said  
having W10 installed

( my $0.05 ) :
Pre uefi , I sort of agree .
BUT being one who enjoys swapping OS ' s,
the RPis are the cats meow ( a quick SD switch and PRESTO new OS )
Obviously I'm part of a minority, but I cannot see
how anyone endures Windows and the attendant system oversight.
I even have my Wife converted to RPi 4 with FydeOS ..... : )
my site
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4233
Posted: 03:10pm 19 Feb 2024
Copy link to clipboard 
Print this post

Hi Hitsware,

All major distributions can be installed in a UEFI environment.
Some BIOS's can be set to legacy mode.

Volhout
PicomiteVGA PETSCII ROBOTS
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 03:12pm 19 Feb 2024
Copy link to clipboard 
Print this post

I use TwisterOS. it can LOOK like win 98,7,10,11, mac os. You still got to use linux terminal though to do "stuff", yawn :(
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 03:14pm 19 Feb 2024
Copy link to clipboard 
Print this post

But not with nearly the ease ( cheap P.C.s anyways ) as before ....
my site
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 03:18pm 19 Feb 2024
Copy link to clipboard 
Print this post

  stanleyella said  I use TwisterOS. it can LOOK like win 98,7,10,11, mac os. You still got to use linux terminal though to do "stuff", yawn :(

Yes .... I've managed to run some Windows programs with Twister ..
my site
 
Print this page


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

© JAQ Software 2024