Boulder Dash Forum Forum Index Boulder Dash Forum
The only Boulder Dash discussion board in English language!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

disk directory question

 
Post new topic   Reply to topic    Boulder Dash Forum Forum Index -> Chat
View previous topic :: View next topic  
Author Message
RaVeN72
Member


Joined: 25 Oct 2016
Posts: 8

PostPosted: Tue Nov 01, 2016 11:36 pm    Post subject: disk directory question Reply with quote

when viewing directories on C64 disks, many have files such as "----------------" DEL


these files are zero blocks in size - I can see how they are being used to separate groups of files for different games, utilities, etc.....

What I want to know is how do I create one of these files when I am putting a disk together ?

Edit:- A bit of googling has informed me that these files are created by direct disk manipulation and are not the result of a standard disk command.
Back to top
View user's profile Send private message
Arno
Site Admin


Joined: 17 Mar 2007
Posts: 919
Location: netherlands

PostPosted: Thu Nov 03, 2016 7:02 pm    Post subject: Reply with quote

I have a tool to put such DEL files. If you mail me I can send it over. Smile
_________________
---- Boulder Dash Fansite ----
Back to top
View user's profile Send private message Send e-mail Visit poster's website
LogicDeLuxe
Member


Joined: 15 Jul 2007
Posts: 578

PostPosted: Fri Nov 04, 2016 3:21 pm    Post subject: Reply with quote

64copy is a way to directly manipulate d64/71/81 files and directories. It can be used in DOSBox, if necessary.

Or if you want to do it on a C64, you can use Disc Wizard. Make sure to validate the disk after extend the directory in this way, as it doesn't allocate the newly linked blocks automatically.

And keep in mind that the type DEL is no real file. The size may be anything. It is not always zero, but that is only in the directory and still don't occupy any disk space, other then the directory entry.
Occasionally, you may encounter other dummy file types. Those are usually linked to the directory track and thus do nothing.
And don't select such files in a file copier, as they likely would ending up wasting space being a real file on the target drive.
Back to top
View user's profile Send private message Visit poster's website
RaVeN72
Member


Joined: 25 Oct 2016
Posts: 8

PostPosted: Sat Nov 05, 2016 4:27 am    Post subject: Reply with quote

after a bit of messing around I came up with this direct disk command that achieves a similar result:-

open1,8,1,"1"+chr$(20)+"----------------":close1


The command "deletes" the "1" with the chr$(20) when the directory is listed - 14 dashes are then added (one lost due to the delete character and one for the "1" when it is removed)


you can then save the next line of dashes using "2" in place of "1"... and then "3" in place of "2". This allows for what appears to be multiples of the same file being saved.


I am aware that it does waste a block of disk space, but it is just something interesting to add to the discussion



edit:-



even easier

save"---------------1",8

then just increment the 1 to 2 to 3 for as many lines as needed

also easier to delete with a 'scratch' command
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Boulder Dash Forum Forum Index -> Chat All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group