File Manager for PicoMite


Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7571
Posted: 02:08pm 13 Apr 2025      

The Library is, in fact, really simple. The only weird thing about it is that LIBRARY SAVE should really be called LIBRARY MOVE because it moves the code from program space to the Library then does a NEW, there is no copy of it left in the program area.

Typically you would run something like "fm", which would call "SUB fm" in the Library. I suppose this could be fm "A" or fm "B" to select the initial drive.
The rest of the Library routines are ordinary SUB and FUNCTION routines as you'd expect. The beauty of the Library system is that all the routines stored there can be run from a user program, so an input routine, for example, even though it would be intended for SUB fm could be used anywhere.

I've also run TassyJim's file manager from drive A. That worked out ok. I hate losing another flash slot - I can't see any reason to do so unless it's only during development.