[Coco] Finding the Start,End, and EXEC of a loaded ML program

rietveld rietveld rietveldh at hotmail.com
Mon Jun 3 22:33:45 EDT 2019


Thanks.   This is working for my Tano dragon tapes.   It pretty time consuming but will be worth it to have disk copies of everything

Sent from my BlackBerry 10 smartphone.
  Original Message
From: Mark McDougall
Sent: Monday, June 3, 2019 10:11 AM
To: coco at maltedmedia.com
Reply To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] Finding the Start,End, and EXEC of a loaded ML program


On 3/06/2019 11:45 pm, rietveld rietveld wrote:

> Hi. I would like to archive 100 plus dragon tapes to disk. Is there
> an easy way to find the Start,End, and EXEC of the program after it
> is loaded so I can SAVEM to disk

MACHINE CODE PROGRAM ADDRESSES
(a) For tape:
START: PEEK(487) * 256 + PEEK(488)
END: PEEK(126) * 256 + PEEK(127)-1
EXEC: PEEK(157) * 256 + PEEK(158)
(b) For disk: (Dragon only)
FOR X=1618 TO 1623 STEP 2: PRINT
PEEK(X) * 256 + PEEK(X+1);:NEXT
The resulting numbers will be:
START, LENGTH and EXEC.
To find END address, add START and LENGTH together and
deduct 1.

link: <http://archive.worldofdragon.org/index.php?title=Dragon_Notebook>

Regards,

--
Mark McDougall
<http://retroports.blogspot.com.au>

--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list