![]() |
Forum Index : Microcontroller and PC projects : Chain equivalent for SD card
![]() ![]() |
|||||
Author | Message | ||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1642 |
It seems that the 'Library' as used in the MM2 would be handy. Bill Keep safe. Live long and prosper. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
What are you willing to sacrifice to get it, Bill? Unfortunately this version of the RP2040 isn't built on the TARDIS core. ;) (I sometimes think Peter is working on that though... lol ) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1642 |
A Flash slot. Bill Keep safe. Live long and prosper. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
The LIBRARY command is not in any of my ports and won't be |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Somebody check the weather forecast ![]() Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1642 |
Frost. ![]() Bill Keep safe. Live long and prosper. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Hi Mark, #INCLUDE is only available on CMM2, MMB4W and MMB4L. That is why I (and Bill) suggested that "you will need to first transpile [sptools] using itself " on one of those platforms. I will try to find time to do this myself later, but it's a while since I "fired up the Quattro" so things may not go smoothly. Further notes: It will probably be slow. sptools does a full tokenise and pretty-print so as to support it's other functionality, see (past its sell by date) README on GitHub. If you just wanted to inline #INCLUDEs you could write something much simpler and faster. I think the PicoMite could have #INCLUDE but there are a number of issues that would need to be sorted out, not least of which would be the editor, which on the PM and micromite platforms is a program/flash editor rather than a file editor. A significant amount of work that I don't expect Peter to volunteer for. Likewise I feel that file CHAIN is implementable; the tokeniser shouldn't need to use the entire variable RAM as workspace. But again, why should Peter do this ? The PicoMite firmware is up on GitHub, so people will either have to get stuck in or accept that (subject to suggestions) Peter is steering the ship. Best wishes, Tom Edited 2023-02-11 19:52 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1642 |
Sorry Tom, I missed your post re sptools. Yes, MMEdit probably is an easier option to include the files than without a CMM2. It worked OK when I tried it. It's a pity about the Library, I'm sorry I mentioned it. Bill Keep safe. Live long and prosper. |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
That's a pretty good set, though :) With the CMM2 having so much more RAM etc than the RP2040, some stuff just can't fit :( John |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
My sptrans on the PicoMite plan hit an early brick wall. I'd forgotten there was no MM.CMDLINE$ on PicoMite. I'm now building the firmware as I think I have a simple fix for this which Peter will find acceptable - wish me luck! Why are you sorry? No on-topic suggestion should be verboten. Even if you can't implement such suggestions yourself expressing our opinions is good for our mental health and stimulating of discussion. I am always interested in your opinion, I just may not always agree with it ![]() Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mark Regular Member ![]() Joined: 26/11/2022 Location: United StatesPosts: 85 |
I was wondering about command line parameters with the PicoMite. I guess they aren’t supported. For my proposed transpire, here’s how I’m thinking about working around that. The program will look for a configuration file on the file system. If not there, it will prompt the user and create it for future runs. There may actually be two configuration files one with system wide options, one with project specific ones. |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2642 |
Is this of any use? SUB MM.STARTUP ' Your configuration commands here END SUB Manual page 13. ' Edited 2023-02-12 07:04 by phil99 |
||||
Turbo46![]() Guru ![]() Joined: 24/12/2017 Location: AustraliaPosts: 1642 |
Good luck Tom ![]() Bill Keep safe. Live long and prosper. |
||||
IanRogers![]() Senior Member ![]() Joined: 09/12/2022 Location: United KingdomPosts: 151 |
Is it possible someone can explain to me what the begeebers chain actually is?? I remember from the BBC micro the chain command was how to load from floppy. I just assumed it was load then run? I'd give my left arm to be ambidextrous |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Chain is the ability for one program to load and run another thereby replacing it but with variables and their values preserved The Picomite supports this concept with the FLASH CHAIN command. However, that doesn't meet the OP's requirement which was that subroutines were also available to both programs. This concept isn't supported in any version of MMbasic |
||||
IanRogers![]() Senior Member ![]() Joined: 09/12/2022 Location: United KingdomPosts: 151 |
Thanks for that. I feel a little more educated. I wish I could help more on this site, but there seems to be an abundance of professionals. Cheers I'd give my left arm to be ambidextrous |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
You help out by participating, and I can assure you that the professionals can be as wrong as anybody else. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
I'm regularly wrong - and not just on this forum. Just ask my wife. lol Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Are you professionally married or a hobbyist? ![]() Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
She assures me that it's a full-time profession. As is being wrong... Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |