[Coco] Curious DECB File o bytes

Bill Pierce ooogalapasooo at aol.com
Sat Sep 8 21:08:52 EDT 2012


I think I'm right in saying, when you create a new file in Disk Basic, HDBDOS, or RGBDOS, 1 granule is allocated to the file. So your test on an empty disk would allocate 1 gran but no bytes written yet.

OPEN "O", # 1, "TEST"
CLOSE
TEST uses 1 granule zero bytes

 Disk Basic writes to disk in 1 granule segments (9x 256 byte sectors). A waste of disk space but, it was what we had at the time. OS-9 gave us some relief with 1 sector writes. It gave us more file space.

Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Bill Pierce
ooogalapasooo at aol.com




-----Original Message-----
From: Luis Fernández <luis46coco at hotmail.com>
To: COCO <coco at maltedmedia.com>
Sent: Sat, Sep 8, 2012 7:57 pm
Subject: [Coco] Curious DECB File o bytes



 "O", # 1, "TEST"
CLOSE
TEST uses 1 granule zero bytes


You should not use granules

--------------------------------------------------------------------------------- 

Making 
CoCoDskUtilPack V 1.1.3A.zip, Scan magazines and organize maltedmedia
http://cococoding.com/cocodskutil/ Thank Aaron Wolfe
http://www.tandycoco.com Thank Brian Blake and Stephen Fischer
My personal blog: http://www.luis45ccs.blogspot.com, 
Excuse my English, I use google translator, my language is Spanish, I'm Spanish 
but I live in Venezuela
--------------------------------------------------------------------------------- 		 	   		  


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

 



More information about the Coco mailing list