Close

Just a quick update

A project log for SMART Response XE BASIC

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

fdufnewsfdufnews 02/02/2020 at 18:230 Comments

Well no great progress this time.

The main progress was on the status line. Previously there was a problem with the voltage of the battery now fixed with small modification in the initialization of the ADC.

The way status is managed has evolved. Previously, status was updated in the loop() function but the status line was not updated sometimes. I have moved the call to printStatus function in the functions that are reading the keyboard in host.cpp. In host_readLine, that is used for the command line and in host_ESCkeyPressed that is used during execution so now informations are also updated while the program is running. But in order to not slow down the software too much the status line is only updated every 2 seconds.

I have also corrected the function that compute BASIC memory usage. Previously, memory used by variables was not taken into account.

As usual, the code is on my github.

Next step will be saving and loading programs into the Flash memory of the terminal.

Edit: just found a bug in genbitmapRLE.py. The array size, in the generated file, was wrong, it was still the size of the bitmap not the one of the compressed file.  The size of the firmware has suddenly lost 10kB.

Discussions