Changes
WriteDSK
,/* Instruction Manual */ Wikified+Category
[http://www.julien-nevo.com/arkos/tools.html Arkos Download page]
[[Category:Applications]]
[[Category:Emulation Tools]]
=== Instruction Manual ===
''(extracted from the disk image)''
By Targhan/Arkos
These two little tools -also available in rom- will allow you to transfer a DSKfrom a 720ko disc (formatted on PC or DOSCOPY for example) to a CPC disc. Itworks like DSKCPC from Divine Coding. Of course, Writedsk is much morepowerful :) : ==== New features for V1.1 ====
tracks.
==== Other features :====----------------- * It recognizes all standard CPC format, from size 0 to 5. Size 6 sectors aren't
recognized.
Both tools will be released once again soon when the Antitec's CPCBOOSTER+ isreleased. New functions will allow tranfering DSKs directly on a CPC disc, aswell as SNApshots into the CPC memory. A developer's dream ! We may also releasesome cool tools for coders in the same rom.
==== HOW TO USE IT ====
<pre>|WRITEDSK,"dskname",["SourceDestination[Head]"]</pre>
Know that your DSK must always be on the root of your disc.
New option since V1.1, the "head" allows to write directly on the second side ofyour disc. It is optional though. Having to switch side between two passes nowbelongs to the past ! The only possibility is "1" though, with indicates side 1.I did this for you not to incidentally erase the side 0, thinking it was thesecond one (In the FDC language, sides are noted 0 and 1, not 1 and 2).
Note that the 'head' option is ignored if the DSK is double sided, with islogical. What's more, this option doesn't change the 'side' included to thesector IDs.
I should also say that you can ONLY read the PC disc (FAT 12) if the selectedhead of your source drive is 0 (else head 0 is no more accessible, as head 1 isforced. FAT 12 is double sided !).
Examples :
<pre>|WRITEDSK,"thedemo.dsk","AB"
|WRITEDSK,"bigofull.dsk"
|WRITEDSK,"dia.dsk","AA1"</pre>
----<pre>|DIRDOS,["Source"]</pre> DIRDOS performs a CAT on the DOS disc, to see the files on the root. Directoriesare also noted, but can't be explored. The Source drive declaration is optional.By default, the B drive is used.
Once again, don't forget to select the side 0 of your drive.
Example :
<pre>|DIRDOS,"a"|DIRDOS</pre>
==== THE INTERFACE ====
*TR = Number of TRack written in the sector ID.*SD = Shows the SiDe in the sector ID.*ID = Very important, IDentification number of the sector.*SZ = Very important too, the sector SiZe. It is the actual size of the sector.
Note that, except the SiZe, all this information can be junk, it's only used toidentify a sector. Some protections will have fun at using strange values.
In the INFOS columns can come two acronyms :
Last remark, note the increasing value at the bottom right when reading the PC disc : it represents the buffer filling. Just to know how long you still have to wait...
That's all about the interface.
==== ACKNOWLEDGMENT ====
The V1.1 contains a lot of improvments, as I learnt a lot lately (Thanks Ram7 !)Thus, contrary to what I thought, it is possible to have different sizedsectors. The routines I used here are basic, but allow many protections to betransfered.
About the 'bad checksum' flag, the only way I see to create it is reallyhardcore. In fact I believe it is set by transfer tools that don't likedifferent sized sectors. Anyway, for now I never found a DSK that tested suchflag, so...
So far the only DSK that doesn't work with Writedsk 1.1 is the 5KB Demo 3,because it contains tracks whose sectors are all named the same. 'The Demo' usesthe same technic but work fine though... I may try to find a technic to managethat correctly.
About this topic, it is possible that I update WriteDSK to manage specialformats like the ones I'm working on...
Just wait and see !
If you have a DSK that doesn't work with WriteDSK, don't hesitate to send it tome, just make sure it works fine on emulators !</pre>