!lm12
!rm73
& Command Interface for S-C Assembler II

Here is yet another way to add new commands to Version 4.0.  You are somewhat familiar with the use of the & in Applesoft.  This little program patches the assembler so that you can add as many new commands as you wish.

I have shown as examples the EDIT, COPY, and SYM commands.  You need to fill in the correct starting address in lines 1250 and 1260.

Use the .TF directive to direct the object code to a file.  Then use BRUN to install the patch.  Lines 1100-1120 patch the assembler to hook in the code at lines 3010-3100.  After it is hooked in, make a new copy of the assembler by using BSAVE ASMDISK 4.0 WITH &,A$FD7,L$....  (Fill in the appropriate length, depending on what else you have added to the assembler in the past.)
