Close

STM8 eForth 2.2.21.pre4: more features, same size

A project log for eForth for cheap STM8S gadgets

Turn cheap modules from AliExpress into interactive development kits!

thomasThomas 02/25/2018 at 16:310 Comments

... and a bug fix: in one of the former STM8 eForth 2.2.21-pre-releases WORDS got broken. It didn't show the RAM dictionary when in NVM mode! This is now fixed.

A major improvement is the implementation of WIPE, something similar to COLD, but only targeting the dictionary in RAM. WIPE gets called during start-up, and besides resetting the dictionary, it creates a dummy word, that makes using MARKER much easier.

#require WIPE creates an ALIAS word, which, if loaded into RAM, will reinitialize the dictionary (and remove itself if it was loaded into RAM).

Compiling a word in RAM memory into a target in Flash memory will now abort compilation, throwing a "target?" error.

Due to some refactoring and optimization, the size of the STM8  eForth binaries stays the same!

Discussions