PicoMite RP2040: V6.00.00 betas


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5857
Posted: 06:18am 26 Sep 2024      

@Peter,

I am looking into a way to support the build in EDIT function in javavi's filemanager.
Let me explain.

The filemanager is running in a flash slot. It is coded in MMBasic.
I understand very well that LOAD "fn" and EDIT "fn" cannot be executed inside a MMBasic program since they essentially destroy the current program when in program memory.
RUN "fn" works, but it is basically a form of a cold reboot, re-initializing everything.

Questions:
LOAD "fn" should technically be no problem when executed from a flash slot. Since it loads the program in main program memory.

When running in a flash slot, why would EDIT "fn" be a problem. I understand you have to exit the flash slot program, since variable memory is freed up for the editor. So it would be similar to RUN "fn".

When looking at MM.CMDLIN$, I wondered why RUN "fn",chr$(3) would not work. I expected the program to run, and immediately stop with control C. Maybe I misunderstood the function of the option.


Long story short.. have not found a solution yet. Maybe I can find something by using a CSUB. Have to start studying...

Volhout
Edited 2024-09-26 16:21 by Volhout

matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11194
Posted: 01:21pm 26 Sep 2024      

V6.00.00b9


PicoMiteV6.00.00b9.zip


Fixes a bug in errors corrupting Option Display settings in Pico/PicoUSB

NB: github now up-to-date
Edited 2024-09-26 23:21 by matherp

javavi

Guru

Joined: 01/10/2023
Location: Ukraine
Posts: 545
Posted: 04:29pm 26 Sep 2024      

  matherp said  NB: github now up-to-date
 

dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 821
Posted: 05:28pm 26 Sep 2024      

Hello Peter,

when setting up "option lcdpanel ssd1963_7,l,,gp16,noreset" it works fine in 8-bit mode.
When retrieving the options by "option list" a ssd1963_5_16 is reported.

Same for "option lcdpanel ssd1963_7_16,l,,,noreset" where a ssd1963_5E_16 is reported.

Regards
Dietmar

matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11194
Posted: 05:39pm 26 Sep 2024      

Thanks - will fix

Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5857
Posted: 07:54am 27 Sep 2024      

@Peter,

You said you could provide a way to indicate the presence of a PS2 keyboard.
Is this some PEEK() ?

I think it could be usefull, since key presses cannot clearly distinguish between INKEY$ and MM.INFO(PS2). Sometimes one is earlier, sometimes the other when polled in a loop.

INKEY$ is active at PS2 and at console.

Volhout
Edited 2024-09-27 17:58 by Volhout