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 : A suggestion - Pi
Page 1 of 2 | |||||
Author | Message | ||||
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1676 |
The development of MM Basic on the Pi was stopped because the OS of Pi keeps changing and it's too hard to keep up with changes I get that But If we are using MM Basic do we really need to keep the OS of the Pi updated? Could someone with knowledge pick ONE version of the Pi OS and develop/update Pi-Cromite just for that version? Any further updates to MM Basic would therefore easily be able to be ported to Pi-Cromite as the main OS for the Pi wouldn't have changed The only stipulation would have to be that it was made clear that MM Basic will only work for that one version of PI OS and no other. Not a problem as far as I can see The only thing is -- can anyone do it? I'm certain I'm not the only person that loved working MM Basic on the Pi Zero W and Pi 3+ / 4 it's the only version with built in Wi-Fi and Bluetooth and the Wi-Fi is so so handy for so many things Edited 2020-11-25 19:20 by lew247 |
||||
goc30 Guru Joined: 12/04/2017 Location: FrancePosts: 425 |
I agree with you. I think the rpi have too much potential to ignore them, especially if we compare an rpi zero with a cmm2, the rpi costs 5 times less and is 5 times faster, + memory capacity and video controller in hdmi especially since the only advantage to use picromite is with the "lite" version of linux. The complete version has little interest and poses more problems than it brings advantages Edited 2020-11-25 20:03 by goc30 |
||||
Quazee137 Guru Joined: 07/08/2016 Location: United StatesPosts: 522 |
I too would like a lite linux + MMBasic on the Rpi as it expands on my use of the HDMI. I would use MMBasic over Python. I can enjoy MMBasic's syntax where as Python has quirks that unless you use it a lot an out of place space or missing tab can have you in fits for days trying to debug it. I have been using Geany and its highlighted text with MMBasic and it works great. Tried Python with it. Now if I could have it highlight the needed syntaxed needed space and tabs I would have less trouble. Wondering if there is a syntax parser for Python that could catch the space/tab bit then it might be usable for me. But ease of use/readability puts MMBasic at the top of my tools to use on my projects. Now if a secure OS for the RPi that will not need to be updated along with MMBasic could make the Rpi zero a goto board all I'd need to add is my custom hats that I made for the MM170 Hat Stand by matherp with 3.5" and 4" displays. I could use my current hats with the RPi zero and MMBasic that would give me the HDMI out put as the cost of TV's (bigger screens) are getting cheaper. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8567 |
I've already said I will give the Picromite code to anyone that wants to take it on as long as they get Geoff's agreement and follow his licensing rules but I've given up on it and won't be looking at it any further. It needs three main components to be in sync to make a working version. Raspbian, ncurses, and PIGPIO. + you need to get a stable IDE that matches. |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5705 |
I just happen to have a spare Pi 2 at the moment. I'll put the Pi version of MMBasic on it and have a play. Any idea what the latest version is? Is it 5.4.16 for Stretch? Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5705 |
Ah - scrub that. I've just found what I think is 5.4.25 and a bit: 2018-11-17_085257_mmbasicstretch.zip Stretch has 9 versions. Avilable here rasbian-2017-08-17/ to raspbian-2019-04-09/ I assume that raspbian-2018-10-11/ or raspbian-2018-11-15/ would be the best to try. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
goc30 Guru Joined: 12/04/2017 Location: FrancePosts: 425 |
I had thought of another use of the Pi-Zero, it would be to be an intelligent graphics controller dedicated to the MMBadic and therefore to internally execute the graphics functions of the MMbasic defined in cmm2. there will be just a link type spi or 8/16 bits. any Micromite could directly send the graphics instruction (formatted according to a defined protocol) to the Pi-Zero which would receive it in a FIFO stack and execute it on the hdmi screen. |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 813 |
...why not use CIRCLE like in this project? https://github.com/randyrossi/bmc64 Annoyingly, my programming skills are not sufficient to realize such a thing. A baremetal variant would be dreamlike!!! |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3649 |
That seems to be about BMC64. What is CIRCLE? As has been said multiple times, it's a huge task. John Edited 2020-11-27 04:52 by JohnS |
||||
markboston36 Regular Member Joined: 27/10/2020 Location: United StatesPosts: 76 |
what do you mean the OS keeps changing? its based on Debian. it only changes when there's an update to debian. rspi org does support other types of OS's but raspbian/rasberry pi OS is the default. |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3649 |
See matherp's post above. If you like, ask him for the code, build it yourself on each of the RPIs, then test and see what happens. John Edited 2020-11-27 05:52 by JohnS |
||||
hitsware2 Guru Joined: 03/08/2019 Location: United StatesPosts: 705 |
Definitely changes . Based on Debian but adjusted to the hardware . I use Stretch because Buster screws up my preferences . my site |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5705 |
You can't / shouldn't ever even attempt to talk directly to the hardware on a Pi. No matter how much you think you need to. Some of it you can't anyway. :) How much that affects running MMBasic on a Pi I don't know. There are probably ways of running software cross-versions on Raspbian, but whether they are non-trivial I've no idea. Raspbian definitely changes - as I pointed out, there were 9 releases of Stretch alone, though they will probably be updates to packages rather than to the OS itself. PIGPIO has been provided with Raspbian for a while now. Edited 2020-11-27 06:49 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
hitsware2 Guru Joined: 03/08/2019 Location: United StatesPosts: 705 |
> You can't / shouldn't ever even attempt to talk > directly to the hardware on a Pi. Someone does it at some time ...... my site |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3008 |
See pi hardware interface You participated: PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3649 |
I'm guessing the link should be this John |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3008 |
Oops, thanks. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 813 |
CIRCLE is a development environment to program the Pi as BAREMETAL without any operating system: CIRCLE Frank |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 5705 |
But CIRCLE is a development environment - it provides libraries etc to enable pseudo bare metal programming. Effectively their own APIs. Those libraries are obviously breaking the rule that you don't talk directly to the hardware, only to the Raspbian APIs as that's the only official way to make things work. They have apparently attempted to write a new kernel, in effect. That's creditable, but there is already a working and supported official kernel. The only reason I can see to use CIRCLE is to use some of the hardware that isn't currently supported by Raspbian - and may therefore be changed or removed in the future without notice. Note that even using CIRCLE your prog has to be compiled separately for each of the Pi versions. It's not cross-version. Talking to Raspbian, using the correct APIs, should *in theory* remove that requirement as the versions changes have already been taken care of. Edited 2020-11-27 18:40 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3649 |
It doesn't, though, as matherp has pointed out. It would if MMBasic didn't provide the I/O features it does. Prefer it stripped down dramatically? John Edited 2020-11-27 20:08 by JohnS |
||||
Page 1 of 2 |
Print this page |