CPCWiki forum

General Category => Programming => Topic started by: Fran123 on 19:56, 18 April 22

Title: sectors of a program in cat
Post by: Fran123 on 19:56, 18 April 22
hello

I know the cat info is stored in first sectors in disc. Every file is a entry and stores the attributes user and visibility, and which sectors the file uses, but every sector uses a byte and a disk has 360 sectors. Then, how does store the sectors?

Thanks 
Title: Re: sectors of a program in cat
Post by: roudoudou on 20:27, 18 April 22
nope, that's not sectors used but kindah meta-sectors (two consecutive sectors => 1K)

for big files, there is more than one catalog entry (and a sub-counter in each entries)

you can see a detailed description here => http://manpages.ubuntu.com/manpages/jammy/en/man5/cpm.5.html
Title: Re: sectors of a program in cat
Post by: Fran123 on 21:00, 18 April 22
I didn'r realize. The minimum size for a file is 1k and the maximum files for standard disc is less than 178
Powered by SMFPacks Menu Editor Mod