Expanded Tool Demo
So, we have demonstrated that this toolchain can produce a simple 6801 binary that will run on the MC-10 . But honestly, that was already available with TASM or other "absolute" assemblers available to the community. Surely there is something more to consider with this toolchain? Modules The primary advantage that I see with this toolchain is the ability to build object modules. This requires a few modifications to the source code, but allows for dividing the project in a modular way. Let's start by moving clrscn and prtstring to a separate source file (screen.s): LOC 0 SCREEN equ $4000 clrscn ldx #SCREEN ldaa #$40+' ldab #$40+' clrsc.1 std ,x inx inx cpx #(SCREEN+512) blt clrsc.1 rts EXPORT clrscn prstring tsx ldx 2,x prstlop ldaa ,x beq prstxit inx pshx ldx $ffde jsr ,x pulx bra