[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correction to CUBIX command LDIR.asm



Code as from Dan's zip

        FCC     ' directories.'
        FCB     00      CLRA                    ZERO RETURN CODE
        FCB     00
ABORT   SWI
        FCB     0               BACK OFF


This causes the command not to set a return code and never end.
My assumption is that it branches back to location zero and starts
running over and over and over again.

Correction to LDIR source

        FCC     ' directories.'
        FCB     00     
        CLRA                    ZERO RETURN CODE
ABORT   SWI
        FCB     0               BACK OFF

I discovered the difference after doing a diff between the source code from the CUBIX web site repository against Dan's code.
His changes were necessary  to use the a09 cross assembler.  The return back to CUBIX via a SSR macro got mangled.

Aug