*
* EXAMPLE OF A MINIMAL BOOTABLE PROGRAM FOR 9826/9836
*
        rorg    -15000          default load address 
*                               can be changed by linking 

        start   *               beginning execution address 

        lea     msg,a0          a0 indexes message 

        lea     $5121A0,a1      a1 indexes CRT memory, 80 cols
*       lea     $512704,a1      a1 indexes CRT memory, 50 cols

        moveq   #0,d1           clear highlight byte 
again   move.b  (a0)+,d1        move message byte into register
        beq     *               infinite idle loop when finished 
        move.w  d1,(a1)+        move highlight, character to screen 
        bra     again           repeat 

msg     dc.b    'Hello, this is a message.',0
        
        nosyms                  no symbol table dump, please 
        end
