[Coco] Coco Digest, Vol 45, Issue 32

carl j england mrspock12 at juno.com
Tue Apr 10 21:00:33 EDT 2007


OPEN"D",1,"FILENAME.BIN",1
FIELD#1,1ASA$
GET#1,LOF(1)-1
PRINTHEX$(ASC(A$))
GET#1,LOF(1)
PRINTHEX$(ASC(A$))
CLOSE

this will give you the execute address of a disk m/l file

the last 5 bytes of a m/l file contain FF 00 00 nn nn.  the last two
bytes (nn nn) are the execute address.



More information about the Coco mailing list