• The Tricky Document (Z-machine)

    From news@zzo38computer.org.invalid@21:1/5 to All on Wed Mar 31 13:03:43 2021
    I wrote the "Tricky Document", which is a description of tricks for
    Z-machine programming. I actually wrote it some years ago, but I have
    not mentioned it on here until now. The tricks include:

    * The SET->BCOM optimization

    * The Black-Johansen algorithm, to optimize the sequence of temporary
    and permanent shifts in a packed text (this sometimes involves using
    ASCII escapes even for characters with a short form)

    * Common suffix optimization

    * Storing introduction text in parts of memory that will be overwritten
    before they are used again (e.g. the input buffer)

    * Displaying meters and numbers in the status line

    Link: http://zzo38computer.org/zmachone/doc/tricky.txt

    Later, perhaps I can write a document of tricks with Glulx, too, since
    there are many tricks that I have used.

    --
    Don't laugh at the moon when it is day time in France.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)