drogon wrote:
...I tackled the load/save issue in my implementation by LISTing to a text file, then importing text as if it had been typed. Slightly slower than a binary memory dump, but effective... ehBasic does have hooks for load/save though, but I've not used them.
That's exactly how I do it too, but I built my own implementation of LIST in order to redirect to SPI flash without all the other crud that Basic wraps around it. The MS LIST function doesn't return to the caller but cleans the stack and goes back to the inline loop so I couldn't use it directly. Instead, I copied the core of the MS code for LIST, added a parameter to it for where to save and then at completion it returns to my code to finish up the flash write process.