[Coco] width 40 in mn

Robert Gault robert.gault at att.net
Mon Apr 2 07:51:31 EDT 2012


Earl Casper wrote:
> The following code words as expected in Vcc and gives a flashing screen in
> mess
>
>   ORG $4000
> START LDA #1
>   STA $E7
>   JSR [$E002]
>   BRA *
>   END START
>
> Any ideas?
>

There is nothing wrong with the code, at least when assembled with EDTASM+. The 
BRA * is correctly converted to code.

The problem most likely is whether this code is run from Basic or run from ZBUG 
in EDTASM. The above code works perfectly with both MESS and VCC when run from 
Basic. But if you are trying to run the code from ZBUG, then you are using "bad 
memory" to locate the code and are trashing EDTASM and ZBUG.
Shift the origin to a location that is clear, ex. $7000, and the code will run 
from ZBUG.



More information about the Coco mailing list