I am trying to develop a simple disk format program that would load from cassette/WAV and format a SSSD disk in DSK1. I think I've gotten it pretty much done, but I decided to put in some screen output, which I thought would be easy, and I still think it SHOULD be. However, I put my character definitions into a separate file so I could use it in other future projects. Now, when I put a COPY directive in like this:
LABEL COPY "DSK1.CHASCII"
in my main source file, I get a "DSR error 0094". I don't know if I am misunderstanding the function of the COPY command, or I'm using a manual that is giving me the wrong syntax, or other. I am using the TI99 E/A manual, which I've found has a plethora of errata. As far as I can see I'm doing nothing wrong in using this command in this way, but I have tried single quotes and no quotes, which both give me a syntax error. I have also tried inserting and deleting a label, which is supposed to be optional, as well as a number of other combinations, all with no effect. I have started to think perhaps I've misread the purpose of the COPY command. It sounded like it should behave as an "include" or "use"(Microware OS9 and NitrOS9), each of which imports and assembles source as if the separate file was actually in the original file being assembled.(I've read that definition quite a few times and I can't see how it could possibly mean anything else) Is COPY something else? If so, that is one very big chunk of errata to add to the list. And, is there some other command that will provide this function for me? If it is indeed supposed to be an "include" what am I doing wrong?
P.S. The main source assembles fine when I comment out the offensive COPY command line, and the "include" file assembles with only one error, saying that an "END" is assumed or some such. The include file is Matthew180's SCSI from his "Assembly on the 99/4A".
Edited by hhos, Thu Dec 6, 2018 6:41 PM.