Release 18 is out!
After much testing and code comparison, Release 18 is ready! Took way longer than expected to synchronize across all of the code bases, particularly making sure that all optimizations made it across all platforms - TRS-80 model 1, TRS-80 model 3, TRS-80 model 4, the CP/M versions (~18 platforms), the embedded versions (Spectrum tape, TEC-1G), and pushing into the Agon Light version (which has even more updates in progress). Lots of individual tweaks, and some major rethinks and rewrites have come together to accelerate game play.
The hardest part of rewriting in this update involved rewriting the dictionary search code. I ended up going back to the original jzip interpreter, written in C for Unix waaay back when. Jzip provided much of the logic that went into ZXZVM, the open source z80 source code that provided the base for this project. Going back to Jzip made sense as Jzip has an even longer history; and is highly tested and stable and still maintained. This research gave me the confidence that the streamlining and changes I was making to such a fundamental part of the game would work, helping me to make the dictionary searching for each word execute more efficiently.
This all means that your favourite text adventures will all play even faster than before! The previous devlog showed the before and after cosmetic fix for line wrapping followed by a newline. That update is also now included in ALL versions. The Changelog summary is as follows:
; [+] Code optimisation for speed and size including ; init, bwdcopy, fwdcopy, tokenize, inibuf, find_word, next_token, llf ; [+] Rewrote all core code to assume auto-increment of ZPC ; to improve speed and size ; [+] Bugfix: handle auto wrapped line followed by immediate line feed ; [+] Additional space freed to allow for more game cache ; [+] Memory map reshuffled to reduce disk size.
If you are keen to see how it all works behind the scenes, the updates to the source code are also available from:
Files
Get M4ZVM
M4ZVM
Z-machine Infocom interpreter for the TRS-80 model 3 & 4
More posts
- Update is in the works58 days ago
- Release 17 (and 7) now availableJan 07, 2024
- Pre-built disk images releasedOct 21, 2023
- Release 16 and 6 are out!Jul 17, 2023
- Release 15 is outApr 19, 2023
- Release 14 is out!May 22, 2022
- Release 11 on the way - RELEASED!Mar 11, 2022
- M4ZVM project pageFeb 13, 2022
Leave a comment
Log in with itch.io to leave a comment.