[Coco] Coco Digest, Vol 45, Issue 32

theother_bob theother_bob at yahoo.com
Wed Apr 11 10:16:51 EDT 2007


Fedor,
Check out Disk Basic Unravelled for a fairly complete description of the disk structure. 
The OPEN command is used for direct or random access to data files. DSKI$ and DSKO$ are for raw sector access, not files per se. I made good use of random access data files in the Color FOG installer program if you want to study their use. (Also read Color FOG Unravelled to help decipher my code)

Bob
http://www.geocities.com/theother_bob

----- Original Message ----
From: Fedor Steeman <petrander at gmail.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Wednesday, April 11, 2007 7:36:41 AM
Subject: Re: [Coco] Coco Digest, Vol 45, Issue 32


Thanks Carl! But how can one find the start or load address?

Fedor

On 11/04/07, carl j england <mrspock12 at juno.com> wrote:
>
> 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.
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco


       
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/



More information about the Coco mailing list