Changelog ========= 5.1 (2016-01-09) ---------------- * Added the :ref:`replace` ASM directive (which replaces strings that match a regular expression in skool file annotations and ref file sections) * Added the :ref:`hash`, :ref:`EVAL`, :ref:`FOR`, :ref:`FOREACH`, :ref:`IF`, :ref:`MAP` and :ref:`PEEK` macros (which can be used to programmatically specify the parameters of any macro) * Added support for arithmetic expressions and skool macros in numeric macro parameters * Added the ``--bfix``, ``--ofix`` and ``--ssub`` options to :ref:`skool2bin.py` (for parsing the skool file in ``@bfix``, ``@ofix`` and ``@ssub`` mode) * Added the ``DefaultAnimationFormat`` parameter to the :ref:`ref-ImageWriter` section (for specifying the default format for animated images) * The :ref:`R` macro now converts an anchor that matches the entry address to the format specified by the ``AddressAnchor`` parameter (making it easier to link to the first instruction in an entry when using a custom anchor format) * :ref:`skool2ctl.py` now appends a terminal ``i`` directive if the skool file ends before 65536 * :ref:`skool2sft.py` now preserves ``i`` blocks in the same way as code and data blocks (instead of verbatim), which enables their conversion to decimal or hexadecimal when restored from a skool file template * Fixed how the colours in flashing blank tiles are detected when writing an uncropped image file * Fixed how a 2-colour PNG image is created when it contains an attribute with equal INK and PAPER colours 5.0 (2015-10-04) ---------------- * Added the :ref:`skool2bin.py` command (for converting a skool file into a binary file) * Added the :ref:`tapinfo.py` command (for showing information on the blocks in a TAP or TZX file) * Converted the :ref:`htmlTemplates` from XHTML 1.0 to HTML5 * Added the :ref:`t_footer` template (for formatting the ``