This is the README for the assembly source of BertMon9 54.

The source files are derived from the .LST files, assembled with a 
Windows variant of the A09 cross assembler. 
The test-assembly is done with the https://www.lwtools.ca/ assembler 
version 4.25 on Linux. Some directives are commented out and some 
instructions replaced with another notation (mainly ANDCC #&FE for CLRC, 
ORCC #$01 for SETC). Some labels are made case sensitive.

No real solution is found for the &DATE and &TIME constants. Arithmetic
doesn't work with this assembler. But the values are not used in the code.

Module sizes in memory:

BERTMON9:  $F000 - $FFFF (4096 bytes)
HELP:      $EF29 - $EB00 (1065 bytes)
NMIDBG68:  $EAB4 - $E800 (692 bytes)
DISASM63:  $E7D4 - $DD00 (2772 bytes)

This is the assemble script:
    #!/bin/sh
    #

    EXE=./lwtools-4.25/lwasm/lwasm

    BASE=`echo $1 | sed -e 's/\.asm$//'`

    #echo $BASE

    $EXE --6309 --6800compat -f srec --list=$BASE.lst --list-nofiles --output=$BASE.s19 --format=srec $BASE.asm 

fjkraan@electrickery.nl, 2026-11-04
