[Coco] Reading File Table

mdj at bds-soft.com mdj at bds-soft.com
Tue Apr 9 15:37:39 EDT 2024


In perhaps simpler terms, winter.bas and winter/bas are the same file; the BASIC Interpreter will accept either and will then go to the FAT for WINTERXXBAS where each "X" represents a space here.

Writing directly to the disk manually using DSKI$ and DSKO$ are reasonably well described on page 62 of the Radio Shack TRS-80 Color Computer Disk System Owners Manual & Programming Guide available at https://colorcomputerarchive.com/repo/Documents/Manuals/Hardware/Color%20Computer%20Disk%20System%20(Tandy).pdf 

DSKINI (DSKINI0) is used for formatting blank disks.

--
M. David Johnson
mdj at bds-soft.com


-----Original Message-----
From: Coco <coco-bounces at maltedmedia.com> On Behalf Of tim lindner via Coco
Sent: Tuesday, April 9, 2024 12:44 PM
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Cc: tim lindner <tlindner at macmess.org>
Subject: Re: [Coco] Reading File Table

On Tue, Apr 9, 2024 at 10:38 AM mcnd96 via Coco <coco at maltedmedia.com> wrote:
>
> When manually reading a disk FAT, there is 8 characters for the file 
> name and three for the extension.  The DECB manual says you can use a 
> slash / or period for the separator.  Where is that stored on the 
> disk?  For example I want to get winter.bas vs winter/bas.  How can I 
> tell which character it is?Also is there any code example on how 
> manually write a file Just using DSkINI or DSKINOSent from my Verizon, 
> Samsung Galaxy smartphone

They are not stored on the disk. They are used by the command interpreter to delineate between the filename and extension.


--
tim lindner

"Proper User Policy apparently means Simon Says."

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



More information about the Coco mailing list