<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="+1">Ahoj,<br>
<br>
naprgal jsem takovou drobnost pro praci s MZFS - tedy MZ-BASIC
filesystemem. Mam rozpracovane jeste dalsi formaty, tak to zatim
nechci davat na sourceforge.<br>
Zakladni knihovna je optimalizovana tak, aby ji bylo mozne
pripadne kompilovat i pro Z80.<br>
<br>
Prozatim jsem to kompiloval a zlehka testoval jen v Linuxu a
driver na Sharpu, ale ve widlich by s tim snad nemel byt problem -
kdyz tak dejte vedet.<br>
<br>
<a class="moz-txt-link-freetext" href="http://duna.ordoz.com/mzfstool/mzfstool_2016-01-12.tgz">http://duna.ordoz.com/mzfstool/mzfstool_2016-01-12.tgz</a><br>
<br>
Tady je k tomu nejake povidani v moji čenglištině:<br>
<br>
Usage: mzfstool [options] <dsk_file> <command>
[<command_params>]<br>
<br>
Options are:<br>
--ro: forced read-only mode<br>
--fixtrsz: bugfix DSK track sizes - if need (only in R/W
mode)<br>
--nocnv: disable Sharp ASCII conversion in block and trsec
command<br>
--help: print this help message<br>
--version: print version<br>
<br>
Commands:<br>
<br>
info<br>
Print info about disc MZFS format.<br>
<br>
showboot<br>
Print info about MZFS IPLPRO bootstrap.<br>
<br>
discmap<br>
Print MZFS disc map.<br>
<br>
dir<br>
Print all dir items with ftype > 0x00 (not deleted).<br>
<br>
dirtype <nn><br>
Print all dir items with ftype = nn.<br>
<br>
file <name><br>
Print dir item by name.<br>
<br>
id <id><br>
Print dir item by ID = <0; 63>.<br>
<br>
ren <name> <newname><br>
Rename file by name to newname.<br>
<br>
renid <id> <newname><br>
Rename file by ID to newname.<br>
<br>
era <name><br>
Erase file by name.<br>
<br>
eraid <id><br>
Erase file by ID.<br>
<br>
clrboot<br>
Clear IPLPRO block.<br>
* For non MZFS disks with MZFS bootstrap track.<br>
<br>
rmboot<br>
Remove bootstrap loader from MZFS and clear IPLPRO block<br>
* For full MZFS disks only.<br>
<br>
getboot <mzf><br>
Save boootstrap loader into MZF file.<br>
<br>
putboot <mzf><br>
Load MZF and install into generic bootstrap ( max:
0x0f00 bytes ).<br>
* For non MZFS disks with MZFS bootstrap track.<br>
<br>
mzfsboot <mzf><br>
Load MZF and install into MZFS bootstrap.<br>
* For full MZFS disks only.<br>
<br>
getfile <name> <mzf><br>
Save file by name into MZF file.<br>
<br>
getid <id> <mzf><br>
Save file by ID into MZF file.<br>
<br>
mzfsfile <mzf><br>
Load MZF file into MZFS.<br>
<br>
block nn<br>
Print hex dump from block nn.<br>
<br>
trsec tt ss<br>
Print hex dump from track, sector.<br>
<br>
get <file> <block> [size]<br>
Save data from block into local file.<br>
* Default size is 256 bytes (block_size).<br>
<br>
put <file> <block> [size] [file_offset]<br>
Load data from local file into block.<br>
* If size is 0 or is not set, then default size is
file_size - offset.<br>
<br>
<br>
<br>
<br>
</font>
</body>
</html>