PicoCalc Commander (PCC) is a dual-pane file manager and launcher for PicoCalc written in MMBasic
Based on an improved version of menu.bas from https://github.com/huntergdavis/picocalc
PCC requires MMBasic for PicoCalc version 6.00.02 or later
pcc.bas - PicoCalc Commander allows you to browse the SD Card and built-in flash drive of the Picocalc, and has the following features:
- Dual-pane browsing
- Select A: or B: drive
- Copy, move, delete files (one at a time)
- Will check for free space before moving or copying
- Will warn when overwriting
- Rename files
- Create directories
- Color-coded files: files with a color code can be launched or viewed (grey files cannot):
- Text files (white) can be viewed
- BASIC files (salmon) can be launched
- WAV files (blue) can be played
- JPEG and BMP pictures (cyan) can be viewed
- Directories (green) can be opened
- When re-starting PCC after having used it to launch a BASIC program, or after quitting PCC using "Q", it will remember its last state (the directories and file selections in its panes) - this function is based on SAVE/LOAD CONTEXT, and uses 159KB on A: drive
- Toggle file info on the status line (displays size, modified date, and free space available on the selected drive)
- Launch with:
run "pcc" - It is recommended to configure a function key to launch PCC more conveniently. For example, to use F6 to start PCC, here is the configuration line you should use (provided you copied pcc.bas to the A: drive):
OPTION F6 "*"+chr$(34)+"a:pcc"+chr$(34)+chr$(13)
- There is a built-in help (press "H") that lists all the available functions
- Usable keys are as follows:
left, right arrows, tab:select paneup, down arrows:select file or directoryA, B:select A: or B: driveEnter:open directory, launch or view fileEsc, backspace:parent directoryC:Copy fileM:Move file (implemented as copy and delete)D:Delete file or directory (if empty)K:create directoryR:rename fileI:toggle file info lineQ:quitH:help
- PCC is limited to 100 files per directory, and a maximum of 32 nested directories
- Only one file can be copied, moved or deleted at a time (no select function)
- Directories cannot be moved or copied, and can only be deleted when empty
- Sometimes, the first time PCC checks for the available free space on a drive (when using file info function, or when PCC checks for free space before copying or moving) it can take a really long time (10 seconds or so) and the program will be unresponsive. I am trying to figure out why that is.