                    ENCODER09 6809 ASSEMBLER/DISASSEMBLER
                    =====================================


ENCODER09 is a superb assembler and disassembler for the dragon 32/64 and
can be used to assemble to tape/disk as well as to memory in the usual way.
This can be useful for assembling to areas of memory that are not part of
the normal workspace such as ROM addresses ($8000 - $FEFF) or areas of RAM
below $0400 (PAGE 0). ENCODER09 comes as a cartridge but it can be copied
and will run in ROM or RAM anywhere in the DRAGON32 memory map.

I purchased ENCODER09 in 1984 and sold it several years later with all my
DRAGON gear. I recently got some of my gear back from an old friend of mine
that had managed to track it to its new owner. Sadly the documentation for
ENCODER09 was not retrieved. I have managed to recall some of the commands
from memory and have listed them here for you.

Commands with ?? after them seem to be accepted by ENCODER09 but I do not
remember the commands or what function they perform. If anyone can help on
these commands or if you have the original documentation and are willing to
provide a copy then please let me know.


                             ENCODER09 COMMANDS
                             ==================

FROM BASIC
----------
&A/AM = ASSEMBLE TO MEMORY

FROM ENCODER
------------
A = ASSEMBLE DIRECTLY TO TAPE/DISK
B = RETURN TO BASIC
C = CALCULATOR
D = DISASSEMBLE (Dxxxx)
G = GO (Gxxxx)
M = ??
S = ??
T = EXAMINE BREAKPOINT TABLE
X = ??
Z = SET BREAKPOINTS (Zx @xxxx)
&A/AM = ASSEMBLE TO MEMORY


                              PROGRAM EXAMPLE
                              ===============

* Listed below is an example of the format that must be used when writing
* source code from DRAGON BASIC for use with ENCODER09.

* YOU MUST INITIALISE THE ASSEMBLER BY TYPING: EXEC &HC000 (ENTER) BEFORE
* WRITING ANY SOURCE CODE. THEN TYPE: B (ENTER) TO RETURN TO BASIC.

* ENCODER will not assemble to memory unless you move the stack just below
* the address that you are writing to. e.g. CLEAR 200,&H4FFF (ENTER)
* (THIS DOES NOT APPLY WHEN ASSEMBLING DIRECTLY TO TAPE/DISK)

* THE COMPUTER IS NOW READY TO READ AND ASSEMBLE YOUR SOURCE CODE.

100 * EXAMPLE OF SOURCE CODE FORMAT
110 * FOR USE WITH ENCODER09 ASSEMBLER
120 **********************************
130      ORG     $5000
140      CLRA
150 L2   LDX     #$0400
160 L1   STA     ,X+
170      CMPX    #$0600
180      BNE     L1
190      INCA
200      BNE     L2
210      RTS

&A/AM (ENTER) ** THIS COMMAND TELLS ENCODER TO START THE ASSEMBLY.

* TO ENTER ENCODER09 COMMAND MODE TYPE: EXEC &HC000 (ENTER) AT ANY TIME.


