Philips/Data Recovery Project/converting backup tapes/img2dsk
IMG2DSK
The program reads .DSK files and extracts all files.
As usual, the Disk Image Input listbox displays all .DSK files the Root directory knows about.
The first thing to do, is to ensure that the selected file adheres to the standard PTS segment size.
When this is done, the DSK file can be loaded into memory.
We can now either extract all files and write them to a user-specified directory. In this case I selected the WORK directory on drive D:
When TRANSFER is pressed, the files will be extracted. For every User-id a new directory is created, and the files belonging to that user are transferred to that directory.
During the process, a list of transferred files will be created, which you can see at the right hand side of the screen shot.
This might seem a bit superfluous, but this is not the case, as the listbox is sorted in Segment order. This implies, that if a User-id should have access to a granule belonging to some other User, that granule address will occur twice.
So, when scrolling through the listbox, you should only be able to see unbroken sequences of user-id's, which also implies that there must not be any addresses appearing more then once.
"Holes" in the sequence are allowed.
The other function of this program, is to scan the whole .DSK file, and look for specific texts.
In this case, I wanted to know whether this .DSK file contained any OBDIR files.
It did, and it gave a lot of locations.
Names can occur many times, as the filename (in this case) appears in the user directory and in the file header.
The memo will also display where the text is found, and that gives an indication of where it can be found, as the location refers directly to the extracted file.
If you for example find that the text 'ALARM' is found in segment /0E93, you will see that this segment is in the granule covering /0E90../0E97, which belongs to the file MONTIM.SC, owned by User-id BDKMON.
This function can be used for example when you want to find out where a specific Constant is defined.