|
Forum Index : Microcontroller and PC projects : File Manager for PicoMite
| Author | Message | ||||
| javavi Guru Joined: 01/10/2023 Location: UkrainePosts: 517 |
FM v1.75 for PicoMiteVGA/HDMI + Adaptive adjustment of list sizes depending on RAM size + Directory tree (Alt+F9) + HEX Viewer (Alt+F3) !Need help implementing an HEX Editor similar to the HEX Viewer! FM175.zip |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1645 |
Hi Vadim, I don't know if this - a Hexedit binary file editor for CMM2 - will help you? Regards Michael causality ≠ correlation ≠ coincidence |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1645 |
Hi Vadim, I really like your Dir-Tree. Very good idea and implementation! Congratulations! I'd like to incorporate it into my FM version – slightly modified. In fact, it's already finished. If you don't object, I'll assume you've approved its publication. REgards Michael causality ≠ correlation ≠ coincidence |
||||
| Amnesie Guru Joined: 30/06/2020 Location: GermanyPosts: 711 |
The Dir-Tree is an awesome feature! Thank you! Greetings Daniel |
||||
| javavi Guru Joined: 01/10/2023 Location: UkrainePosts: 517 |
Hi Michael, Of course! For our friends from Germany and the whole world, anything! @twofingers @Amnesie, Thanks for your feedback! I tried to implement a very simple algorithm. |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1645 |
Hi Vadim, Thanks again! For the benefit of all of us. Yes, a very simple algorithm! I've finished my latest test version here. Link deleted! Needs to be revised (due to the "Do Until" error). In addition to your directory tree, I've implemented an alternative version of the file finder. I tried to solve the problem that a single search can return multiple results. Unfortunately, it's less effective (uses more resources) than your solutuon. It's also not very elegant, but it shows what I mean. Take care! Kind regards Michael Edited 2025-08-06 00:17 by twofingers causality ≠ correlation ≠ coincidence |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1645 |
Hi Vadim, It's been almost a year since you introduced the first version of your File Manager. Since then, it has continued to evolve and has become indispensable for many. I couldn't have imagined or even considered many of the features a year ago. Our versions have diverged remarkably over time. Although that wasn't our plan. Regarding my version, I feel like it's "grown up" by now. There's not much left to add. Perhaps minor bug fixes and visual improvements, perhaps a configuration file? Because of the many – sometimes not obvious – features, perhaps a guide would be helpful. Until then, the help page will have to suffice. I've also considered creating a version for US keyboards because I suspect that many users don't use multi-selection due to ignorance. In any case, this is the latest version (FM02099): What's new: - Moving selected files - Moving directories - (file finder, as described above = FM02082) Changed/corrected: - The Sorting functions, directories and files are sorted separately - The Replace function has been revised (but should always be used with backup files!) I'm looking forward to your next version. Regards Michael ######################### Major Update 21.09.2025 ################################### This is the beta (b1) of a major update FM02100b1. The File Manager has been completely revisted and improved. FMC02100b1.zip - The maximum number of files/folders (for "DirTree"!) per panel is set and tested at 400. However, this does not mean that this maximum number is recommended. Note: For time reasons, the number of selected files is not calculated for files over 200 and is set to zero (adjustable with SMAX). Additionally, I added a small delay (ms DELAY) for deleting large amounts of data to give the user a chance to cancel. - The old "CopyDir" routine has been replaced by "CopyTree". - New features: -- 1. The "=" key mirrors the current panel (Drive and Folder) to the opposite panel. This is useful for performing tasks deep in subdirectories. -- 2. The combination CTRL+"f" switches to the favorite directory (FAVDIR$) and adjusts the sort order (FAVSORT$) for that folder. FAVDIR$ and FAVSORT$ are configured in the user area in the source code, and later in a configuration file. Tip: Users who primarily work on "B:" can set BDisk$(1)=("B:","B:") LENGTH 2 . The same applies to the sorting method ("BSort(1)"). Please note that the display becomes very slow when sorting by date or size as the number of files increases. - Appearance: The appearance has been slightly changed. - The root directory is now (test-wise) correctly displayed as "/". This can be used, for example, when the main directory must be specified as a parameter, e.g., for the "MAR" archiver as an external program. - - The keyboard settings for the selection keys are automatically set to the US configuration if a German keyboard is not configured. - The F4 EDIT function has been re-enabled and redesigned (does not create a large temporary file on "A:"), but in my opinion, it is confusing and requires a lot of user concentration. You can return to FM after saving the edited file by pressing F2, or F9 if FM was launched from a Flash slot. - The sorting function has been revised. Directories are sorted separately when sorting by name or date. When sorting files by size, the directories are sorted by name, since directories do not contain size information. - Although it is the user's responsibility to adhere to the maximum path length of 63 characters*, I have implemented some safeguards to make this easier. It is still possible to create paths longer than 63 characters, but this will certainly lead to serious problems. For example, to prevent illegal directory names for Rename, the location and length of all directory and file names would have to be checked beforehand. This is a task for FM2.0. Vadim's "DirTree" offers a good way to check directories and also displays errors. Exceeding the file/path length is displayed in red in the command line (see screenshot). *For the latest beta firmware (V6.01.00b11), the maximum path length has been changed to 127 characters (announced). This is a major improvement. But for now, to remain compatible with older versions, I'm keeping the maximum path length for the FM at 63 characters. However, I would still recommend continuing to observe the old 63-character limit and considering the additional characters as a safety buffer. The "Maria.bas" utility is a modification of Epsilon's 'Mar' archiver for the CMM2 (https://www.thebackshed.com/forum/ViewTopic.php?TID=12765). It can also archive the root directory (and all folders below it), e.g., for a full backup. ------------- P.S. I'm worried about Vadim and hope he's okay. ############ Birthday Edition (September 24, 2025) ############ The latest beta (b2) includes the new feature of moving files with F6 on the same drive using a simple rename. This is faster and avoids unnecessary copy and delete operations. The disadvantage is the slightly greater vulnerability when exceeding the 63-character path length limit, because no length check is possible for individual files. For moving on the same drive I prefer the rename method. As a supplement, the DirTree function has been expanded to display the maximum path length of a directory's subdirectories. If in doubt, this should be done before copy and move operations to avoid data loss. In general, I recommend using only path depths of approximately 32 characters for directories. FM02100b2.zip Edited 2025-09-25 22:29 by twofingers causality ≠ correlation ≠ coincidence |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |