Close

You can save your program now

A project log for SMART Response XE BASIC

Turn a SMART Response XE terminal into an 80's flavour pocket computer

fdufnewsfdufnews 08/07/2020 at 20:041 Comment

I have just commited the updated software to my github.

The save/load/delete/dir functions are working like a charm. There is only one limitation no subdirectories allowed. I have made some tests with subdirectories but dir was always crashing. Regarding the application, I think it is of little importance.

I have adapted the already existing functions that were written for an external EEPROM

So:

SAVE "MYPROG.BAS, creates a file MYPROG.BAS  containing a dump of the basic program space.

LOAD  "MYPROG.BAS", loads the file MYPROG.BAS in memory and it can be executed

DIR, displays card content on the screen

DELETE "MYPROG.BAS", does what it means.

I have added two new functions

UNMOUNT, close the SD card and frees the memory in order to eject the card

MOUNT, open the card and keep it ready for use

MOUNT is automatic after a reset and when recovering from SLEEP

UNMOUNT is automatic before entering SLEEP

So the card can be extracted while the terminal is sleeping and the card recognized at wake up.

The status line has been slightly modified in order to display the status of the SD card.

The card reader is incorporated into the terminal.

The inside of the terminal is now a big mess of wires


Edit: Made a little modification. As I want to add some statement to use data files I have added support for the extension to the filename. Now .BAS shall be added to save, load and delete.

Discussions

dragon788 wrote 07/28/2021 at 19:42 point

This is some brilliant work, replacing the built in storage with a larger flash chip would be cool, but making a removable storage option is AMAZING!

  Are you sure? yes | no