Calc-U 59 Help 10 Reference ASM overlay

Chapter 10 · Reference

ASM overlay

An ASM overlay is a small program in the TMC0501 processor's own instructions, which Calc-U-59 puts over the calculator's ROM at the addresses 1800 to 1FFF and runs there. It is loaded in the box ASM OVERLAY of the debug panel's CPU tab, or by dropping or opening a file whose name ends in .asm; how to run it is in Debugger. Examples are on the site's software page.

The file is a UTF-8 text file in the ASM overlay format, version 2.0:

Calc-U-59 ASM 2.0
PROGRAM:
; human-readable assembly listing with comments
1800:   01D8    MOV     A.ALL,#0
        ...

HEX:
01D8 01DB ...   ; a comment after a semicolon

A file is refused, with a notice that says why, when: its first line is missing or names another version; it has no HEX: line; nothing follows that line; a run of digits is not a multiple of four long; an instruction is above 1FFF; anything after HEX: is neither hexadecimal digits nor a comment; or it has more than 2048 instructions. An overlay loaded before stays.

While an overlay is loaded

Help built from Calc-U-59-help.zip 3.1.0, the help of the Calc-U-59 3.1.0 release.