[Coco] CORRECTION: Re: Exec address of disk loaded ml program?
devries.bob at gmail.com
Tue Apr 10 19:56:22 EDT 2007
I reversed the START and END addresses, sorry.
Sorry for the error
> The start and end addresses of a contiguous BINARY disk file can be found
> in a similar way, by PEEKing values:
> Hope it helps.
> Regards, Bob Devries, Dalby, Queensland, Australia
> Isaiah 50:4 The sovereign Lord has given me
> the capacity to be his spokesman,
> so that I know how to help the weary.
> website: http://www.home.gil.com.au/~bdevasl
> my blog: http://bdevries.invigorated.org/
> ----- Original Message -----
> From: "Fedor Steeman" <petrander at gmail.com>
> To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
> Sent: Wednesday, April 11, 2007 5:09 AM
> Subject: Re: [Coco] Exec address of disk loaded ml program?
>> Right, thanks! So at least that is the same as on a cassette-only
>> But I guess on a disk system, there is no easy way of figuring out the
>> and end addresses? Unless you use a hex editor to look at the virtual
>> On 10/04/07, L. Curtis Boyle <curtisboyle at sasktel.net> wrote:
>>> On Tue, 10 Apr 2007 10:01:00 -0600, Fedor Steeman <petrander at gmail.com>
>>> > Hi all,
>>> > Probably a dumb question, but in Disk Basic how to retrieve the
>>> > execute
>>> > address of a ml program loaded from floppy?
>>> > I mean, if EXEC can figure out where to find the address, so can I...
>>> > Thanks,
>>> > Fedor
>>> You can look at the 2 last 2 bytes of the .BIN file, or, after LOADMing
>>> it, you can do:
>>> This works with cassette files (that don't autostart) as well.
>>> L. Curtis Boyle
>>> Coco mailing list
>>> Coco at maltedmedia.com
>> Coco mailing list
>> Coco at maltedmedia.com
More information about the Coco