zeldin / Mega99

TI-99/4A core for the MEGA65 computer
GNU Lesser General Public License v3.0
4 stars 0 forks source link

Enhancement: Please make file selection more streamlined and organized #1

Open tonedef71 opened 5 days ago

tonedef71 commented 5 days ago

The SD card on my MEGA65 has lots and lots of files in the root folder (courtesy of the demo disk distribution). The way the Mega99 core works now, invoking any of the menu options to select a file on the SD card results in the file selection beginning from the root folder of the SD card every time. As the list of files on the SD card appears to be sorted ascending by last modification date, I find myself scrolling towards the bottom of a very long file list every time to get to my recently added files for use with the Mega99 core. It is quite tedious, for example, to scroll down pages of files on the SD card to finally reach MUNCHMAN.RPK.

As the Mega99 core already seeks out a MEGA99 folder on the SD card, it would greatly improve the user experience on the MEGA65 if the core defaulted file selection from that MEGA99 folder. When opening a RPK file, disk image, cassette image, or mini-memory image, it would be convenient if the core automatically began the file selection from a specially-named subfolder beneath the MEGA99 folder (if it exists). In the case of RPK files, that subfolder could be named RPK. I'm not sure what to name the subfolders for the other file resources, (perhaps DSK, CS, RAM).

Also, after a user has selected a file from a folder for (RPK, Disk, Cassette, MiniMemory), it would be convenient if the core remembered the last folder accessed on the SD card for each particular file type so that the next time the user attempts to open another file of that type, it begins the selection from that last accessed folder.

zeldin commented 4 days ago

Remembering the last folder should be pretty straightforward. Having default directories is also a nice idea, although ideally I guess you should be able to configure their names, which means management of some sort of config file, which is something I have been thinking about.

Regarding the order of the files in the selector, currently there is no sorting at all (although that could be added), so the files are simply displayed in the order they appear in the directory file on the card. So yes, unless you have recently deleted a file new files will tend to go to the end of the list, unfortunately.

tonedef71 commented 4 days ago

Having default directories is also a nice idea, although ideally I guess you should be able to configure their names, which means management of some sort of config file, which is something I have been thinking about.

Sounds good! User-configurable default folder names would be even better. 👍🏻