[Coco] Using Disk EDTASM
David
golgotha at toughguy.net
Thu Apr 7 04:06:06 EDT 2005
Shawn M. Hedgecorth wrote:
>Hi,
>
>
>
>I am just beginning to learn assembly language. I recently acquired Disk
>EDTASM+ and have had William Barden's book for some time now. So far, I
>have entered the first program listed in Bill's book, assembled it in
>memory, and it does exactly what is expected. I have also assembled it to
>disk. This is where I am having some confusion. I can execute the program
>just fine using the TRSDOS that comes with EDTASM, but if I try from DECB,
>the computer just hangs. It seems as though the only way I can execute it
>from DECB is to use it as a user defined subroutine. Is this the way it is
>supposed to be?
>
>
>Shawn
>
>
Hi Shawn,
I also have the book "TRS-80 Color Computer Assembly Language
Programming" by Bill Barden..
If the program you're having problems with is on page 4 ie. Figure 1.2,
the reason you're having trouble executing this from DECB is because it
doesn't have an ORG statement in the listing to let the assembler know
where the listing should be assembled to (see chapter 19, page 183 )
To ease you into the whole shebang, Bill opted to use EDTASM ZBUG
command Gxxxx to specify the start address and execute within the
EDTASM/ZBUG workspace.
When you then output the assembled program to disk or tape, the stored
BIN file will contain the specified start address (ORG xxxx), and a
simple EXEC will kick it off from there
I'm also in the process of learning the 6809, so if you have any
problems or discoveries, feel free to share!
regards,
David
More information about the Coco
mailing list