[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying Directory Table - space for all AUs on IDE CF Directory (no holes method) question.



Hi Thomas,
 
It's a little difficult to tell from a screenshot,
you need to make sure that when you copy files across you are placing the file data in the next available Allocation unit boundry and not the next available sector. I did include a quick and dirty excel calculator in the zip archive that should help with this.
Go back to the first file that you transferred and check it out thoughly and then see if you can launch the first file you transferred.
If you get stuck, post an image of the disk image and I will take a quick look.
 
Dave (yoda) and i are currently investigating/standardising the disk format that I implemented with the intention of getting it to work with cpmtools, this will make life easier to build images and transfer files from the pc into a bootable cf card image, so don't run too far ahead as the likely changes will make the original disk format unreadable. But by all means continue if your intention is to learn more about disk layout, I'm still learning too :-)
 
regards
 
David Fry
On Saturday, June 14, 2014 11:19:47 PM UTC+1, Thomas Owen wrote:


David,
I have a Directory on the system now, but try to execute anything brings you right back to the command Prompt.   Did I miss something in copying the files?


Regards,

Thomas


On Saturday, June 14, 2014 4:31:24 PM UTC-4, David Fry wrote:
Hi Thomas,
 
I myself would like to know the answer on this one,
someone with a working CP/M system should be able to look at the directory table entries and give an answer.
 
regards
 
David Fry
On Saturday, June 14, 2014 9:05:59 PM UTC+1, Thomas Owen wrote:


All,

Now that I have a system that will boot to the A> from my IDE CF using the 'no holes' method outlined by David Fry, I am starting to add other files to the CF.

I am populating my IDE CF card with files and modifying the Directory Table as described by David in his article 'Z80 CP_M 3.0 build.doc'.  (http://s100computers.com/My%20System%20Pages/IDE%20Board/Z80%20CP_M%203.0%20build.pdf)

With the scheme whereby 1 Allocation Unit (AU) = 4 Sectors (2kb) I run out of space on several Directory entries and need to make sure I am doing this correctly.

In the image below, see the entry for INITDIR.COM.

The program starts at Sector 338 (AU=45) and I need the additional room for AU entries.  So, is it proper to simply add another line to the directory and continue with the AU assignments as shown here? 

00 49 4E 49 54 ......................................................          INITDIR.COM
45 00 46 00 47 00 48 00 49 00 4A 00 4B 00 4C 00     
4D 00 4E 00 ...



Thanks for any suggestions -

Thomas