minimalistic operating system
-
- Posts: 238
- Joined: Thu Mar 02, 2023 10:15 pm
- Location: germany
- Has thanked: 111 times
- Been thanked: 59 times
minimalistic operating system
hi at all and and especially to our system programmer CiccioCB -- I just had a thought... or an idea
how about if annex basic had a mini operating system, e.g. in ciccioCB's start screen integrated selection of basic.files to be started? you put your selection of finished programs in a certain folder e.g. "StartUp" annexbasic reads this folder and offers you a choice + a "none" - the whole thing should be an option in the "config" if you don't need it you turn it off - of course the whole thing has to be finished or you reboot the whole system ?? ..
just a thought so you can use the beautiful display modules more effectively ???
a nice sunny day Ron
how about if annex basic had a mini operating system, e.g. in ciccioCB's start screen integrated selection of basic.files to be started? you put your selection of finished programs in a certain folder e.g. "StartUp" annexbasic reads this folder and offers you a choice + a "none" - the whole thing should be an option in the "config" if you don't need it you turn it off - of course the whole thing has to be finished or you reboot the whole system ?? ..
just a thought so you can use the beautiful display modules more effectively ???
a nice sunny day Ron
Modules : 3xESP32-Cam MB (Chip"DM ESP32 S" ),AI-Thinker Audio Kit (ES8388), ESP32 Dev Kit with Display
- PeterN
- Posts: 789
- Joined: Mon Feb 08, 2021 7:56 pm
- Location: Krefeld, Germany
- Has thanked: 368 times
- Been thanked: 442 times
- Contact:
Re: minimalistic operating system
Hi Ron,
If I understand correctly, you just want a dynamic list of BASIC programs - so that, at startup, you can see a selection of executable programs based on the contents of a subfolder.
Isn’t that a job for a short script that uses the `bas.load` command? The include command could also be a choice, but with other implications.
[Local Link Removed for Guests]
[Local Link Removed for Guests]
Or did I misunderstand your suggestion?
If I understand correctly, you just want a dynamic list of BASIC programs - so that, at startup, you can see a selection of executable programs based on the contents of a subfolder.
Isn’t that a job for a short script that uses the `bas.load` command? The include command could also be a choice, but with other implications.
[Local Link Removed for Guests]
[Local Link Removed for Guests]
Or did I misunderstand your suggestion?
-
- Posts: 238
- Joined: Thu Mar 02, 2023 10:15 pm
- Location: germany
- Has thanked: 111 times
- Been thanked: 59 times
Re: minimalistic operating system
Yes, again a misunderstanding, I mean a selection of basic programs that are displayed without you using the editor, as a minimalist operating system, so to speak.[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue May 06, 2025 9:13 am Hi Ron,
If I understand correctly, you just want a dynamic list of BASIC programs - so that, at startup, you can see a selection of executable programs based on the contents of a subfolder.
Isn’t that a job for a short script that uses the `bas.load` command? The include command could also be a choice, but with other implications.
[Local Link Removed for Guests]
[Local Link Removed for Guests]
Or did I misunderstand your suggestion?
I haven't tried "basload" yet - I always thought you can't start a new basic program from a basic program
Modules : 3xESP32-Cam MB (Chip"DM ESP32 S" ),AI-Thinker Audio Kit (ES8388), ESP32 Dev Kit with Display
-
- Posts: 565
- Joined: Tue Jun 21, 2022 2:17 pm
- Location: South coast UK
- Has thanked: 333 times
- Been thanked: 184 times
Re: minimalistic operating system
My thoughts were the same as those of PeterN.
It would only require a very small script to do what you describe.
Potentially, I think such a script would have an advantage over anything "built-in" because you would have full control over the list and appearance.
Give it a go and see if it does what you want.
It would only require a very small script to do what you describe.
Potentially, I think such a script would have an advantage over anything "built-in" because you would have full control over the list and appearance.
Give it a go and see if it does what you want.
- cicciocb
- Site Admin
- Posts: 3135
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 635 times
- Been thanked: 2234 times
- Contact:
Re: minimalistic operating system
This can be done simply with an initial program that runs when the module starts.[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue May 06, 2025 8:39 am hi at all and and especially to our system programmer CiccioCB -- I just had a thought... or an idea
how about if annex basic had a mini operating system, e.g. in ciccioCB's start screen integrated selection of basic.files to be started? you put your selection of finished programs in a certain folder e.g. "StartUp" annexbasic reads this folder and offers you a choice + a "none" - the whole thing should be an option in the "config" if you don't need it you turn it off - of course the whole thing has to be finished or you reboot the whole system ?? ..
just a thought so you can use the beautiful display modules more effectively ???
a nice sunny day Ron
This program could just list all the files present in a given folder and then run it simply with bas.load.
Should not hard to do with LVGL

- cicciocb
- Site Admin
- Posts: 3135
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 635 times
- Been thanked: 2234 times
- Contact:
Re: minimalistic operating system
For example, something like this:
Code: [Local Link Removed for Guests]
lvgl.init WHITE, 0x003a57
lvgl.set_theme 0x107090, 0xff9900, 14, 0
lvgl.clean
f$ = ""
d$ = FILE.DIR$("/*.bas")
While D$ <> ""
if (f$ <> "") then
f$ = f$ + chr$(10) + d$
else
f$ = d$
end if
'wlog d$
d$ = FILE.DIR$
Wend
lvgl.set_flex_flow lvgl.screen, 0
LVGL.SET_FLEX_ALIGN lvgl.screen, 2,2,2
rol1 = lvgl.roller f$, 0, 0, 200,300
but1 = lvgl.button "RUN"
lvgl.add_event but1, 7, clickme
do
lvgl.refresh
loop
clickme:
fname$ = "/" + lvgl.get_text$ rol1
wlog fname$
wlog bas.load fname$
return
You do not have the required permissions to view the files attached to this post.
-
- Posts: 206
- Joined: Fri Dec 09, 2022 10:03 am
- Location: Flensburg Deutschland
- Has thanked: 152 times
- Been thanked: 30 times
Re: minimalistic operating system
Oh yes, that's a good example of LVGL.
More on that, at least I find it easier to navigate LVG.
More on that, at least I find it easier to navigate LVG.
- karlkloss
- Posts: 327
- Joined: Fri Aug 18, 2023 12:21 pm
- Location: Local group
- Has thanked: 55 times
- Been thanked: 80 times
Re: minimalistic operating system
Someone please write a file manager in lvgl, that also includes a program launcher, a WiFi manager, and a mp3 and stream player.
And a web browser
And a web browser

-
- Posts: 238
- Joined: Thu Mar 02, 2023 10:15 pm
- Location: germany
- Has thanked: 111 times
- Been thanked: 59 times
Re: minimalistic operating system
This is also a way -[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue May 06, 2025 5:52 pm For example, something like this:


a nice evening
Ron
Modules : 3xESP32-Cam MB (Chip"DM ESP32 S" ),AI-Thinker Audio Kit (ES8388), ESP32 Dev Kit with Display
-
- Posts: 238
- Joined: Thu Mar 02, 2023 10:15 pm
- Location: germany
- Has thanked: 111 times
- Been thanked: 59 times
Re: minimalistic operating system
first a screenshot - I will present this with code and pictures in the projects forum - it will be even nicer with matching pictures to the buttons - it reminds me of the time with the "Amiga500" *smile -
The program only reads the files in the folder "StartUp"--> "Amiga"-like
it works -
if you set this program as "autoload" and the subroutines are modified so that they "return" you can easily call up the program you need at the moment via the screen - of course you can also integrate a radio program *LOL
The number of elements on the screen can be easily modified with number per row and number of rows for smaller screens
have a nice day
The program only reads the files in the folder "StartUp"--> "Amiga"-like
it works -

if you set this program as "autoload" and the subroutines are modified so that they "return" you can easily call up the program you need at the moment via the screen - of course you can also integrate a radio program *LOL
The number of elements on the screen can be easily modified with number per row and number of rows for smaller screens
have a nice day
You do not have the required permissions to view the files attached to this post.
Modules : 3xESP32-Cam MB (Chip"DM ESP32 S" ),AI-Thinker Audio Kit (ES8388), ESP32 Dev Kit with Display