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 : File Manager for PicoMite
Page 3 of 4 | |||||
Author | Message | ||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
Hello Dietmar Unfortunately, this FileManager was not initially made flexible for different resolutions, but was adjusted to the MODE 1 resolution 640x480 and font 8x12. I already see that it needs to be redesigned at least to work through the terminal. Edited 2024-09-26 04:41 by javavi |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1234 |
Hi Dietmar, first I would comment out the TILE command using an editor (TILT -> 'TILE). The FM will then at least be able to run. Then I would write a replacement function using graphic commands. The function should invert a selected line of text, i.e. black text on a white background instead of white text on a black background. For example (from Javavis FM code): Print " F3"; :Color 0,c(7):Print "List ";:Color c(15),0 That should take you a step further. Regards Michael That shouldn't do all the work. It's just a hint. Edited 2024-09-26 22:18 by twofingers causality ≠ correlation ≠ coincidence |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1234 |
One argument for storing the FM on "B:" is that the flash slots and "A:" do not survive the frequent firmware updates. causality ≠ correlation ≠ coincidence |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4212 |
Small suggestion for improvement. add LCASE$(......) when checking to ".bas" and ".bmp" If Instr(lcase$(RFList$(RFLIndx)),".bmp") Then Then file extensions ".BAS" and ".BMP" are also supported. I changed this in my local copy. Volhout Edited 2024-09-27 03:28 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
electricat Senior Member Joined: 30/11/2020 Location: LithuaniaPosts: 161 |
JAVAVI, MATRIX screensaver surprised me and awoken warm memmories from my youth I also highly liked your demo "Random Color Checkboxes & Sound Tones" If you would like to add/include optional screensavers (those animated/dynamic) for user choice , they would be not only demo, but also for some"practical" use Edited 2024-09-27 03:45 by electricat |
||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
My respects Peter! Thanks to the new command EDIT FILE fname$ released in the new PicoMite V6.00.00RC4, my File Manager can now open and create small files for editing.javavi_FM_v14.zip Edited 2024-10-05 18:22 by javavi |
||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
Thank you Volhout I slightly reworked the File Launcher Subroutine on your advice. I also added playback of music .MOD files. This way you can add support for viewing (playing) various file formats to FM. In File Manager I have built in an option to configure its launch by pressing F9 Copy the file "FM.bass" to disk A: and after the first launch it can be called again by pressing the F9 key. javavi_FM_v15.zip Edited 2024-10-06 02:35 by javavi |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
Hi Javavi, Thanks for your work on getting this file manager working, looking good. :-) It took me a while to work out to use the Tab key to swap between A: and B: so do you have a list of any other key functions which are used, obviously I can see the Fkeys. I know I could look through the source, but hoped you might have a list handy already. Thanks Kevin. |
||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
Hi Kevin, I forgot to describe the TAB button in the F1 Help, there seem to be no other secret buttons unless you take into account possible misunderstandings when entering names. ALT may not work when using a USB keyboard. javavi_FM_v151.zip Edited 2024-10-06 06:37 by javavi |
||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
Update FM functionality v.1.6 jFM_v160.zip Added a call to the Menu (F9) of executable commands. You can add your frequently used commands to this list. I think you can also make a list of launched program plugins. Added playback of .MP3 files through a separate player program called from the file manager. It will also be necessary to expand its functionality. You also need to sort the file lists, I haven't figured out how yet, by button or by default. |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4212 |
I just made a small test to confirm my idea. The filmanager is quite large and uses variables. This RAM/PROGRAM space is not available when you want to edit something. A way around it is to use FLASH slots, and VAR SAVE. Flash slot 2 can hold the file manager. When you want to edit a file, you VAR SAVE the target drive, path, and filename as a$,b$,c$ Then you FLASH RUN 3. In flash slot 3 there is only 1 small program, that VAR READ a$,b$,c$, and performs the EDIT FILE function. When the EDIT is done, editor closes, you return to FLASH SLOT 3. The next lines in that program in flash slot 3 would be to return to filemanager in flash slot 2 (FLASH RUN 2). The program in flash slot 3 is in flash, so it does not eat into the program space. The program in flash slot 3 only uses of the reserved 16k VAR SAVE space, and not data RAM. So you can edit large files. Regards, Volhout PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6760 |
Flash slot 3 not normally available if there's a library. :( I *knew* it was a mistake to get rid of them! Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
And who here knows, can I ask? How to get attributes of a file on a flash drive (A:) or SD card (B:) file length, time and date of creation. Is there such a command? |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9084 |
mm.info "filesize" and "modified" - see manual |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6089 |
The method I used for playing mp3 files will also work for edit. The selected file name is used to create "helper.bas" on the fly. the final line of helper.bas RUNs the file manager again and the name of the original file is passed back to the file manager so it can be set as the active file again. Jim VK7JH MMedit MMBasic Help |
||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
jFM v.1.7 for PicoMiteVGA/HDMI jFM_v1.7.zip - added MENU by F9 from which you can execute the necessary commands or run programs > command * program - scrolling the list of files forward and backward with arrows or PgUp PgDn To launch FM by pressing the F9 button (you can F5...F9) you need to save the program in the memory slot and set it to launch by pressing the Fn button LOAD "FM" FLASH SAVE 2 OPTION F9 "FLASH RUN 2"+Chr$(13) |
||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
jFM v.1.8 for PicoMiteVGA/HDMI jFM_v1.8.zip - RAM consumption optimization - plays mp3 files on Pico2 - displays information about the current file at the bottom of the panel (size&date) - saves the Screenshot image by pressing the PrintScreen button Edited 2024-10-13 21:32 by javavi |
||||
javavi Senior Member Joined: 01/10/2023 Location: UkrainePosts: 193 |
FM v.1.9 for PicoMiteVGA/HDMI jFM v1.9.zip File Manager updates: - Added navigation with buttons [Home], [End] - Added sorting of file list [Alt+F3], [Alt+F4] - Well, and some DTMF sound :)) What are your thoughts, write here! Regards, javavi Edited 2024-11-10 18:32 by javavi |
||||
mclout999 Guru Joined: 05/07/2020 Location: United StatesPosts: 469 |
First off, I love your program. It gives me what I miss from my CMM2s. There is an issue with this version. If you Hit F9 and then select commands list it lists them but then REBOOTS!!! every time. I am on RC15 on a PICOHDMIUSB board. |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4212 |
Hi mclout999, I cannot reproduce on my RP2040 VGA platform. Must be platform dependent. Compliments to javavi. You have really created a nice tool, that I love to use. It is on flash slot 2 of every VGA platform I have (too bad only 3...). If you would be able to make this work in the terminal, you would get absolutely every Pico I have. But that is not an easy task. And (especially on the USB platforms that use 115200 baud serial) it may be slow. Anyway... 1.9 works fine for me. Volhout P.S. The RP2040 cannot play MP3's. This results in an error. Maybe you can do something with "IF INSTR(MM.Device$,"2350") Then Play mp3 TEMP$ Edited 2024-11-14 00:54 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
Page 3 of 4 |
Print this page |