dsktool 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/dskexplorer.rb +264 -0
- data/bin/dsktool.rb +34 -61
- data/doc/classes/AppleSoftFile.html +16 -16
- data/doc/classes/AppleSoftFile.src/M000020.html +18 -0
- data/doc/classes/AppleSoftFile.src/M000021.html +18 -0
- data/doc/classes/AppleSoftFile.src/M000022.html +18 -0
- data/doc/classes/AppleSoftFile.src/M000026.html +18 -0
- data/doc/classes/AppleSoftFile.src/M000027.html +18 -0
- data/doc/classes/AppleSoftFile.src/M000028.html +18 -0
- data/doc/classes/BinaryFile.html +16 -16
- data/doc/classes/BinaryFile.src/M000039.html +18 -0
- data/doc/classes/BinaryFile.src/M000040.html +18 -0
- data/doc/classes/BinaryFile.src/M000041.html +19 -0
- data/doc/classes/BinaryFile.src/M000045.html +18 -0
- data/doc/classes/BinaryFile.src/M000046.html +18 -0
- data/doc/classes/BinaryFile.src/M000047.html +19 -0
- data/doc/classes/CatalogServlet.html +146 -0
- data/doc/classes/CatalogServlet.src/M000015.html +20 -0
- data/doc/classes/CatalogServlet.src/M000021.html +20 -0
- data/doc/classes/D65.html +11 -11
- data/doc/classes/D65.src/M000018.html +18 -0
- data/doc/classes/D65.src/M000019.html +64 -0
- data/doc/classes/D65.src/M000024.html +18 -0
- data/doc/classes/D65.src/M000025.html +64 -0
- data/doc/classes/DOSDisk.html +16 -16
- data/doc/classes/DOSDisk.src/M000023.html +20 -0
- data/doc/classes/DOSDisk.src/M000024.html +19 -0
- data/doc/classes/DOSDisk.src/M000025.html +76 -0
- data/doc/classes/DOSDisk.src/M000029.html +20 -0
- data/doc/classes/DOSDisk.src/M000030.html +19 -0
- data/doc/classes/DOSDisk.src/M000031.html +76 -0
- data/doc/classes/DOSFile.html +32 -17
- data/doc/classes/DOSFile.src/M000042.html +22 -0
- data/doc/classes/DOSFile.src/M000043.html +18 -0
- data/doc/classes/DOSFile.src/M000044.html +18 -0
- data/doc/classes/DOSFile.src/M000048.html +22 -0
- data/doc/classes/DOSFile.src/M000049.html +18 -0
- data/doc/classes/DOSFile.src/M000050.html +18 -0
- data/doc/classes/DOSFile.src/M000051.html +31 -0
- data/doc/classes/DSK.html +54 -36
- data/doc/classes/DSK.src/M000027.html +18 -0
- data/doc/classes/DSK.src/M000028.html +22 -0
- data/doc/classes/DSK.src/M000029.html +22 -0
- data/doc/classes/DSK.src/M000030.html +34 -0
- data/doc/classes/DSK.src/M000031.html +19 -0
- data/doc/classes/DSK.src/M000032.html +18 -0
- data/doc/classes/DSK.src/M000033.html +18 -0
- data/doc/classes/DSK.src/M000034.html +22 -0
- data/doc/classes/DSK.src/M000035.html +22 -0
- data/doc/classes/DSK.src/M000036.html +34 -0
- data/doc/classes/DSK.src/M000037.html +19 -0
- data/doc/classes/DSK.src/M000038.html +18 -0
- data/doc/classes/DSK.src/M000039.html +40 -0
- data/doc/classes/DSK.src/M000040.html +23 -0
- data/doc/classes/DirectoryServlet.html +146 -0
- data/doc/classes/DirectoryServlet.src/M000017.html +20 -0
- data/doc/classes/DirectoryServlet.src/M000023.html +20 -0
- data/doc/classes/IntegerBasicFile.html +16 -16
- data/doc/classes/IntegerBasicFile.src/M000012.html +18 -0
- data/doc/classes/IntegerBasicFile.src/M000013.html +18 -0
- data/doc/classes/IntegerBasicFile.src/M000014.html +18 -0
- data/doc/classes/IntegerBasicFile.src/M000018.html +18 -0
- data/doc/classes/IntegerBasicFile.src/M000019.html +18 -0
- data/doc/classes/IntegerBasicFile.src/M000020.html +18 -0
- data/doc/classes/RDoc.html +6 -6
- data/doc/classes/RDoc.src/M000048.html +40 -0
- data/doc/classes/RDoc.src/M000055.html +40 -0
- data/doc/classes/SCAsmFile.html +21 -21
- data/doc/classes/SCAsmFile.src/M000035.html +18 -0
- data/doc/classes/SCAsmFile.src/M000036.html +18 -0
- data/doc/classes/SCAsmFile.src/M000037.html +18 -0
- data/doc/classes/SCAsmFile.src/M000038.html +36 -0
- data/doc/classes/SCAsmFile.src/M000041.html +18 -0
- data/doc/classes/SCAsmFile.src/M000042.html +18 -0
- data/doc/classes/SCAsmFile.src/M000043.html +18 -0
- data/doc/classes/SCAsmFile.src/M000044.html +36 -0
- data/doc/classes/ShowFileServlet.html +146 -0
- data/doc/classes/ShowFileServlet.src/M000026.html +21 -0
- data/doc/classes/ShowFileServlet.src/M000032.html +22 -0
- data/doc/classes/TestDOSDisks.html +41 -26
- data/doc/classes/TestDOSDisks.src/M000006.html +24 -0
- data/doc/classes/TestDOSDisks.src/M000007.html +19 -0
- data/doc/classes/TestDOSDisks.src/M000008.html +19 -0
- data/doc/classes/TestDOSDisks.src/M000009.html +25 -0
- data/doc/classes/TestDOSDisks.src/M000010.html +41 -0
- data/doc/classes/TestDOSDisks.src/M000011.html +27 -0
- data/doc/classes/TestDOSDisks.src/M000012.html +24 -0
- data/doc/classes/TestDOSDisks.src/M000013.html +19 -0
- data/doc/classes/TestDOSDisks.src/M000014.html +19 -0
- data/doc/classes/TestDOSDisks.src/M000015.html +25 -0
- data/doc/classes/TestDOSDisks.src/M000016.html +41 -0
- data/doc/classes/TestDOSDisks.src/M000017.html +27 -0
- data/doc/classes/TestDisassembly.html +6 -6
- data/doc/classes/TestDisassembly.src/M000016.html +19 -0
- data/doc/classes/TestDisassembly.src/M000022.html +19 -0
- data/doc/classes/TextFile.html +16 -16
- data/doc/classes/TextFile.src/M000045.html +18 -0
- data/doc/classes/TextFile.src/M000046.html +18 -0
- data/doc/classes/TextFile.src/M000047.html +20 -0
- data/doc/classes/TextFile.src/M000052.html +18 -0
- data/doc/classes/TextFile.src/M000053.html +18 -0
- data/doc/classes/TextFile.src/M000054.html +20 -0
- data/doc/created.rid +1 -1
- data/doc/dot/f_0.dot +44 -16
- data/doc/dot/f_0.png +0 -0
- data/doc/dot/f_1.dot +1 -10
- data/doc/dot/f_1.png +0 -0
- data/doc/dot/f_2.dot +4 -13
- data/doc/dot/f_2.png +0 -0
- data/doc/dot/f_3.dot +8 -64
- data/doc/dot/f_3.png +0 -0
- data/doc/dot/f_4.dot +69 -4
- data/doc/dot/f_4.png +0 -0
- data/doc/dot/f_5.dot +4 -13
- data/doc/dot/f_5.png +0 -0
- data/doc/dot/f_6.dot +15 -17
- data/doc/dot/f_6.png +0 -0
- data/doc/dot/f_7.dot +19 -1
- data/doc/dot/f_7.png +0 -0
- data/doc/dot/f_8.dot +32 -0
- data/doc/dot/f_8.png +0 -0
- data/doc/dot/f_9.dot +14 -0
- data/doc/dot/f_9.png +0 -0
- data/doc/dot/m_6_0.dot +30 -0
- data/doc/dot/m_6_0.png +0 -0
- data/doc/files/bin/dskexplorer_rb.html +339 -0
- data/doc/files/bin/dskexplorer_rb.src/M000001.html +21 -0
- data/doc/files/bin/dskexplorer_rb.src/M000002.html +21 -0
- data/doc/files/bin/dskexplorer_rb.src/M000003.html +22 -0
- data/doc/files/bin/dskexplorer_rb.src/M000004.html +19 -0
- data/doc/files/bin/dskexplorer_rb.src/M000005.html +20 -0
- data/doc/files/bin/dskexplorer_rb.src/M000006.html +22 -0
- data/doc/files/bin/dskexplorer_rb.src/M000007.html +20 -0
- data/doc/files/bin/dskexplorer_rb.src/M000008.html +43 -0
- data/doc/files/bin/dskexplorer_rb.src/M000009.html +55 -0
- data/doc/files/bin/dskexplorer_rb.src/M000010.html +43 -0
- data/doc/files/bin/dskexplorer_rb.src/M000011.html +34 -0
- data/doc/files/bin/dskserver_rb.html +247 -0
- data/doc/files/bin/dskserver_rb.src/M000001.html +22 -0
- data/doc/files/bin/dskserver_rb.src/M000002.html +19 -0
- data/doc/files/bin/dskserver_rb.src/M000003.html +62 -0
- data/doc/files/bin/dskserver_rb.src/M000004.html +39 -0
- data/doc/files/bin/dskserver_rb.src/M000005.html +26 -0
- data/doc/files/bin/dsktool_rb.html +8 -5
- data/doc/files/lib/D65_rb.html +1 -1
- data/doc/files/lib/DOSDisk_rb.html +2 -2
- data/doc/files/lib/DOSFile_rb.html +2 -2
- data/doc/files/lib/DSK_rb.html +2 -2
- data/doc/files/lib/rdoc_patch_rb.html +114 -0
- data/doc/files/test/tc_disassembly_rb.html +1 -1
- data/doc/files/test/tc_dos_disks_rb.html +2 -2
- data/doc/files/test/ts_test_all_rb.html +1 -1
- data/doc/fr_class_index.html +3 -0
- data/doc/fr_file_index.html +2 -0
- data/doc/fr_method_index.html +55 -38
- data/doc/index.html +1 -1
- data/doc/rdoc-style.css +208 -0
- data/lib/DOSDisk.rb +2 -2
- data/lib/DOSFile.rb +21 -3
- data/lib/DSK.rb +6 -1
- data/lib/rdoc_patch.rb +32 -0
- data/test/tc_dos_disks.rb +13 -2
- data/test/white_11a.dsk +0 -0
- metadata +134 -4
@@ -0,0 +1,43 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>make_catalog (bin/dskexplorer.rb)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File bin/dskexplorer.rb, line 155</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_catalog</span>(<span class="ruby-identifier">relative_path</span>)
|
15
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-value str">"<p>"</span>
|
16
|
+
<span class="ruby-keyword kw">begin</span>
|
17
|
+
<span class="ruby-identifier">absolute_path</span>=<span class="ruby-identifier">make_absolute_path</span>(<span class="ruby-identifier">relative_path</span>)
|
18
|
+
<span class="ruby-identifier">dsk</span>=<span class="ruby-identifier">get_dsk_from_cache</span>(<span class="ruby-identifier">absolute_path</span>)
|
19
|
+
<span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">is_dos33?</span>) <span class="ruby-keyword kw">then</span>
|
20
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"<table>\n<th>TYPE</th><th>SECTORS</th><th>NAME</th></tr>\n"</span>
|
21
|
+
<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">each_value</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
22
|
+
<span class="ruby-identifier">display_url</span>=<span class="ruby-node">"/showfile/#{uri_encode(relative_path)+'?filename='+uri_encode(f.filename)}"</span>
|
23
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<td>#{f.file_type}</td><td>#{sprintf('%03d',f.sector_count)}</td><td>#{f.filename}</td>"</span>
|
24
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<td><a href=#{display_url}&mode=hex>hex dump</a></td>"</span>
|
25
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">file_type</span><span class="ruby-operator">==</span><span class="ruby-value str">"T"</span> <span class="ruby-keyword kw">then</span>
|
26
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<td><a href=#{display_url}&mode=text>text</a></td>"</span>
|
27
|
+
<span class="ruby-keyword kw">else</span>
|
28
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<td><a href=#{display_url}&mode=list>listing</a></td>"</span>
|
29
|
+
<span class="ruby-keyword kw">end</span>
|
30
|
+
|
31
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"</tr>\n"</span>
|
32
|
+
<span class="ruby-keyword kw">end</span>
|
33
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"</table>"</span>
|
34
|
+
<span class="ruby-keyword kw">else</span>
|
35
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"<i>not DOS 3.3 format</i>"</span>
|
36
|
+
<span class="ruby-keyword kw">end</span>
|
37
|
+
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">exception</span>
|
38
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<i>ERROR:#{exception}</i>"</span>
|
39
|
+
<span class="ruby-keyword kw">end</span>
|
40
|
+
<span class="ruby-identifier">s</span>
|
41
|
+
<span class="ruby-keyword kw">end</span></pre>
|
42
|
+
</body>
|
43
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>show_file (bin/dskexplorer.rb)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File bin/dskexplorer.rb, line 183</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show_file</span>(<span class="ruby-identifier">relative_path</span>,<span class="ruby-identifier">filename</span>,<span class="ruby-identifier">display_mode</span>)
|
15
|
+
<span class="ruby-identifier">absolute_path</span>=<span class="ruby-identifier">make_absolute_path</span>(<span class="ruby-identifier">relative_path</span>)
|
16
|
+
<span class="ruby-identifier">dsk</span>=<span class="ruby-identifier">get_dsk_from_cache</span>(<span class="ruby-identifier">absolute_path</span>)
|
17
|
+
<span class="ruby-identifier">file</span>=<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">files</span>[<span class="ruby-identifier">filename</span>]
|
18
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">then</span>
|
19
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-node">"<i>#{filename} not found</i>"</span>
|
20
|
+
<span class="ruby-keyword kw">else</span>
|
21
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-value str">"<hl><pre>"</span>
|
22
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">display_mode</span><span class="ruby-operator">==</span><span class="ruby-value str">"hex"</span> <span class="ruby-keyword kw">then</span>
|
23
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-identifier">file</span>.<span class="ruby-identifier">hex_dump</span>
|
24
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">display_mode</span><span class="ruby-operator">==</span><span class="ruby-value str">"list"</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">file_type</span><span class="ruby-operator">==</span><span class="ruby-value str">'B'</span>
|
25
|
+
<span class="ruby-keyword kw">then</span> <span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-identifier">file</span>.<span class="ruby-identifier">disassembly</span>
|
26
|
+
<span class="ruby-keyword kw">else</span>
|
27
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">to_s</span>
|
28
|
+
<span class="ruby-keyword kw">end</span>
|
29
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"\n</pre><hl>"</span>
|
30
|
+
<span class="ruby-keyword kw">end</span>
|
31
|
+
<span class="ruby-identifier">s</span>
|
32
|
+
<span class="ruby-keyword kw">end</span></pre>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,247 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>File: dskserver.rb</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="fileHeader">
|
50
|
+
<h1>dskserver.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>bin/dskserver.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Sun Jun 17 22:09:17 AUS Eastern Standard Time 2007</td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</div>
|
63
|
+
<!-- banner header -->
|
64
|
+
|
65
|
+
<div id="bodyContent">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<div id="contextContent">
|
70
|
+
<div id="diagram">
|
71
|
+
<map id="map" name="map">
|
72
|
+
<area shape="RECT" coords="5,101,101,149" href="../../classes/CatalogServlet.html" alt="CatalogServlet">
|
73
|
+
<area shape="RECT" coords="125,101,229,149" href="../../classes/DirectoryServlet.html" alt="DirectoryServlet">
|
74
|
+
<area shape="RECT" coords="253,101,357,149" href="../../classes/ShowFileServlet.html" alt="ShowFileServlet">
|
75
|
+
<area shape="RECT" coords="95,5,260,53" href="../../classes/HTTPServlet/AbstractServlet.html" alt="HTTPServlet::AbstractServlet">
|
76
|
+
</map>
|
77
|
+
<img src="../../dot/f_0.png" usemap="#map" border=0 alt="TopLevel">
|
78
|
+
</div>
|
79
|
+
|
80
|
+
<div id="description">
|
81
|
+
<p>
|
82
|
+
dskserver.rb
|
83
|
+
</p>
|
84
|
+
<h2>Synopsis</h2>
|
85
|
+
<p>
|
86
|
+
A web-based <a href="../../classes/DSK.html">DSK</a> file explorer
|
87
|
+
</p>
|
88
|
+
<h2>Usage</h2>
|
89
|
+
<p>
|
90
|
+
dskserver.rb [switches]
|
91
|
+
</p>
|
92
|
+
<pre>
|
93
|
+
-h | --help display this message
|
94
|
+
-d | --directory ROOT_DIR root directory to explore from (default is current directory)
|
95
|
+
-p | --port PORT_NUMBER port number to listen on (default is 6052)
|
96
|
+
-v | --version show version number
|
97
|
+
</pre>
|
98
|
+
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div id="requires-list">
|
102
|
+
<h3 class="section-bar">Required files</h3>
|
103
|
+
|
104
|
+
<div class="name-list">
|
105
|
+
optparse
|
106
|
+
rdoc_patch
|
107
|
+
webrick
|
108
|
+
cgi
|
109
|
+
<a href="../../classes/DSK.html">DSK</a>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div id="method-list">
|
116
|
+
<h3 class="section-bar">Methods</h3>
|
117
|
+
|
118
|
+
<div class="name-list">
|
119
|
+
<a href="#M000002">common_footer</a>
|
120
|
+
<a href="#M000001">common_header</a>
|
121
|
+
<a href="#M000004">make_catalog</a>
|
122
|
+
<a href="#M000003">make_navigation_path</a>
|
123
|
+
<a href="#M000005">show_file</a>
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
|
129
|
+
|
130
|
+
<!-- if includes -->
|
131
|
+
<div id="includes">
|
132
|
+
<h3 class="section-bar">Included Modules</h3>
|
133
|
+
|
134
|
+
<div id="includes-list">
|
135
|
+
<span class="include-name">WEBrick</span>
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
<div id="section">
|
140
|
+
|
141
|
+
|
142
|
+
<div id="constants-list">
|
143
|
+
<h3 class="section-bar">Constants</h3>
|
144
|
+
|
145
|
+
<div class="name-list">
|
146
|
+
<table summary="Constants">
|
147
|
+
<tr class="top-aligned-row context-row">
|
148
|
+
<td class="context-item-name">DSKSERVER_VERSION</td>
|
149
|
+
<td>=</td>
|
150
|
+
<td class="context-item-value">"0.1.0"</td>
|
151
|
+
</tr>
|
152
|
+
</table>
|
153
|
+
</div>
|
154
|
+
</div>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
<!-- if method_list -->
|
162
|
+
<div id="methods">
|
163
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
164
|
+
|
165
|
+
<div id="method-M000002" class="method-detail">
|
166
|
+
<a name="M000002"></a>
|
167
|
+
|
168
|
+
<div class="method-heading">
|
169
|
+
<a href="dskserver_rb.src/M000002.html" target="Code" class="method-signature"
|
170
|
+
onclick="popupCode('dskserver_rb.src/M000002.html');return false;">
|
171
|
+
<span class="method-name">common_footer</span><span class="method-args">()</span>
|
172
|
+
</a>
|
173
|
+
</div>
|
174
|
+
|
175
|
+
<div class="method-description">
|
176
|
+
</div>
|
177
|
+
</div>
|
178
|
+
|
179
|
+
<div id="method-M000001" class="method-detail">
|
180
|
+
<a name="M000001"></a>
|
181
|
+
|
182
|
+
<div class="method-heading">
|
183
|
+
<a href="dskserver_rb.src/M000001.html" target="Code" class="method-signature"
|
184
|
+
onclick="popupCode('dskserver_rb.src/M000001.html');return false;">
|
185
|
+
<span class="method-name">common_header</span><span class="method-args">()</span>
|
186
|
+
</a>
|
187
|
+
</div>
|
188
|
+
|
189
|
+
<div class="method-description">
|
190
|
+
</div>
|
191
|
+
</div>
|
192
|
+
|
193
|
+
<div id="method-M000004" class="method-detail">
|
194
|
+
<a name="M000004"></a>
|
195
|
+
|
196
|
+
<div class="method-heading">
|
197
|
+
<a href="dskserver_rb.src/M000004.html" target="Code" class="method-signature"
|
198
|
+
onclick="popupCode('dskserver_rb.src/M000004.html');return false;">
|
199
|
+
<span class="method-name">make_catalog</span><span class="method-args">(relative_path)</span>
|
200
|
+
</a>
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<div class="method-description">
|
204
|
+
</div>
|
205
|
+
</div>
|
206
|
+
|
207
|
+
<div id="method-M000003" class="method-detail">
|
208
|
+
<a name="M000003"></a>
|
209
|
+
|
210
|
+
<div class="method-heading">
|
211
|
+
<a href="dskserver_rb.src/M000003.html" target="Code" class="method-signature"
|
212
|
+
onclick="popupCode('dskserver_rb.src/M000003.html');return false;">
|
213
|
+
<span class="method-name">make_navigation_path</span><span class="method-args">(relative_path,filename=nil)</span>
|
214
|
+
</a>
|
215
|
+
</div>
|
216
|
+
|
217
|
+
<div class="method-description">
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
<div id="method-M000005" class="method-detail">
|
222
|
+
<a name="M000005"></a>
|
223
|
+
|
224
|
+
<div class="method-heading">
|
225
|
+
<a href="dskserver_rb.src/M000005.html" target="Code" class="method-signature"
|
226
|
+
onclick="popupCode('dskserver_rb.src/M000005.html');return false;">
|
227
|
+
<span class="method-name">show_file</span><span class="method-args">(relative_path,filename)</span>
|
228
|
+
</a>
|
229
|
+
</div>
|
230
|
+
|
231
|
+
<div class="method-description">
|
232
|
+
</div>
|
233
|
+
</div>
|
234
|
+
|
235
|
+
|
236
|
+
</div>
|
237
|
+
|
238
|
+
|
239
|
+
</div>
|
240
|
+
|
241
|
+
|
242
|
+
<div id="validator-badges">
|
243
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
244
|
+
</div>
|
245
|
+
|
246
|
+
</body>
|
247
|
+
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>common_header (bin/dskserver.rb)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File bin/dskserver.rb, line 42</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">common_header</span>
|
15
|
+
<span class="ruby-value str">"
|
16
|
+
<html>
|
17
|
+
<body>
|
18
|
+
|
19
|
+
"</span>
|
20
|
+
<span class="ruby-keyword kw">end</span></pre>
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>common_footer (bin/dskserver.rb)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File bin/dskserver.rb, line 49</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">common_footer</span>
|
15
|
+
<span class="ruby-value str">"
|
16
|
+
"</span>
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>make_navigation_path (bin/dskserver.rb)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File bin/dskserver.rb, line 54</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_navigation_path</span>(<span class="ruby-identifier">relative_path</span>,<span class="ruby-identifier">filename</span>=<span class="ruby-keyword kw">nil</span>)
|
15
|
+
<span class="ruby-identifier">path_parts</span>=<span class="ruby-identifier">relative_path</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">"/"</span>)
|
16
|
+
<span class="ruby-comment cmt">#make the cookie-crumb-trail </span>
|
17
|
+
<span class="ruby-identifier">partial_path</span>=<span class="ruby-value str">""</span>
|
18
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-value str">"<a href=/dir/>DSK Server</a>"</span>
|
19
|
+
<span class="ruby-identifier">path_parts</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span>
|
20
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">p</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">></span><span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span>
|
21
|
+
<span class="ruby-identifier">partial_path</span><span class="ruby-operator">+=</span><span class="ruby-node">"/#{p}"</span>
|
22
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-ivar">@@root_directory</span><span class="ruby-operator">+</span><span class="ruby-value str">"/"</span><span class="ruby-operator">+</span><span class="ruby-identifier">partial_path</span>) <span class="ruby-keyword kw">then</span>
|
23
|
+
<span class="ruby-keyword kw">if</span> (<span class="ruby-constant">File</span>.<span class="ruby-identifier">stat</span>(<span class="ruby-ivar">@@root_directory</span><span class="ruby-operator">+</span><span class="ruby-value str">"/"</span><span class="ruby-operator">+</span><span class="ruby-identifier">partial_path</span>).<span class="ruby-identifier">directory?</span>) <span class="ruby-keyword kw">then</span>
|
24
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">" / <a href=/dir#{CGI.escape(partial_path)}> #{p}</a>"</span>
|
25
|
+
<span class="ruby-keyword kw">else</span>
|
26
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">" / <a href=/catalog#{CGI.escape(partial_path)}> #{p}</a>"</span>
|
27
|
+
<span class="ruby-keyword kw">end</span>
|
28
|
+
<span class="ruby-keyword kw">end</span>
|
29
|
+
<span class="ruby-keyword kw">end</span>
|
30
|
+
<span class="ruby-keyword kw">end</span>
|
31
|
+
|
32
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">filename</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">then</span>
|
33
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">" / <a href=/showfile/#{CGI.escape(relative_path)+'?filename='+CGI.escape(filename)}>#{filename}</a>"</span>
|
34
|
+
<span class="ruby-keyword kw">end</span>
|
35
|
+
|
36
|
+
<span class="ruby-identifier">absolute_path</span>=<span class="ruby-ivar">@@root_directory</span><span class="ruby-operator">+</span><span class="ruby-identifier">relative_path</span>
|
37
|
+
<span class="ruby-comment cmt">#show the contents of the current directory</span>
|
38
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">absolute_path</span>) <span class="ruby-operator">&&</span> (<span class="ruby-constant">File</span>.<span class="ruby-identifier">stat</span>(<span class="ruby-identifier">absolute_path</span>).<span class="ruby-identifier">directory?</span>) <span class="ruby-keyword kw">then</span>
|
39
|
+
<span class="ruby-identifier">dir</span>=<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">absolute_path</span>)
|
40
|
+
<span class="ruby-identifier">directories</span>=[]
|
41
|
+
<span class="ruby-identifier">dsk_files</span>=[]
|
42
|
+
<span class="ruby-identifier">dir</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
43
|
+
<span class="ruby-identifier">directories</span><span class="ruby-operator"><<</span><span class="ruby-identifier">f</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">f</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">chr!</span>=<span class="ruby-value str">"."</span>) <span class="ruby-operator">&&</span> (<span class="ruby-constant">File</span>.<span class="ruby-identifier">stat</span>(<span class="ruby-identifier">absolute_path</span><span class="ruby-operator">+</span><span class="ruby-value str">"/"</span><span class="ruby-operator">+</span><span class="ruby-identifier">f</span>).<span class="ruby-identifier">directory?</span>)
|
44
|
+
<span class="ruby-identifier">dsk_files</span><span class="ruby-operator"><<</span><span class="ruby-identifier">f</span> <span class="ruby-keyword kw">if</span> (<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">is_dsk_file?</span>(<span class="ruby-identifier">f</span>))
|
45
|
+
<span class="ruby-keyword kw">end</span>
|
46
|
+
<span class="ruby-comment cmt">#list out the directories</span>
|
47
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"<ul>"</span>
|
48
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<li>[dir] <a href=/#{CGI.escape('/dir/'+File.dirname(relative_path))}>..</a>\n"</span>
|
49
|
+
<span class="ruby-identifier">directories</span>.<span class="ruby-identifier">sort</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">d</span><span class="ruby-operator">|</span>
|
50
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<li>[dir] <a href=/#{CGI.escape('/dir/'+relative_path+'/'+d)}>#{d}</a>\n"</span>
|
51
|
+
<span class="ruby-keyword kw">end</span>
|
52
|
+
|
53
|
+
<span class="ruby-comment cmt">#list out the DSK files </span>
|
54
|
+
<span class="ruby-identifier">dsk_files</span>.<span class="ruby-identifier">sort</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
55
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<li>[dsk] <a href=/#{CGI.escape('/catalog/'+relative_path+'/'+f)}>#{f}</a>\n"</span>
|
56
|
+
<span class="ruby-keyword kw">end</span>
|
57
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"</ul>"</span>
|
58
|
+
<span class="ruby-keyword kw">end</span>
|
59
|
+
<span class="ruby-identifier">s</span>
|
60
|
+
<span class="ruby-keyword kw">end</span></pre>
|
61
|
+
</body>
|
62
|
+
</html>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>make_catalog (bin/dskserver.rb)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File bin/dskserver.rb, line 101</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">make_catalog</span>(<span class="ruby-identifier">relative_path</span>)
|
15
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-value str">"<p>"</span>
|
16
|
+
<span class="ruby-keyword kw">begin</span>
|
17
|
+
<span class="ruby-identifier">absolute_path</span>=<span class="ruby-ivar">@@root_directory</span><span class="ruby-operator">+</span><span class="ruby-identifier">relative_path</span>
|
18
|
+
<span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">absolute_path</span>)
|
19
|
+
|
20
|
+
<span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">is_dos33?</span>) <span class="ruby-keyword kw">then</span>
|
21
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"<table>\n<th>TYPE</th><th>NAME</th><th>SECTORS</th></tr>\n"</span>
|
22
|
+
<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">each_value</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
23
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<td>#{f.file_type}</td><td><a href=/showfile/#{CGI.escape(relative_path)+'?filename='+CGI.escape(f.filename)}>#{f.filename}</a></td><td>#{sprintf('%03d',f.sector_count)}</td></tr>\n"</span>
|
24
|
+
<span class="ruby-keyword kw">end</span>
|
25
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"</table>"</span>
|
26
|
+
<span class="ruby-keyword kw">else</span>
|
27
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-value str">"<i>not DOS 3.3 format</i>"</span>
|
28
|
+
<span class="ruby-keyword kw">end</span>
|
29
|
+
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">exception</span>
|
30
|
+
<span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">"<i>ERROR:#{exception}</i>"</span>
|
31
|
+
<span class="ruby-keyword kw">end</span>
|
32
|
+
<span class="ruby-identifier">s</span>
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
<span class="ruby-keyword kw">end</span></pre>
|
38
|
+
</body>
|
39
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>show_file (bin/dskserver.rb)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File bin/dskserver.rb, line 125</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show_file</span>(<span class="ruby-identifier">relative_path</span>,<span class="ruby-identifier">filename</span>)
|
15
|
+
<span class="ruby-identifier">absolute_path</span>=<span class="ruby-ivar">@@root_directory</span><span class="ruby-operator">+</span><span class="ruby-identifier">relative_path</span>
|
16
|
+
<span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">absolute_path</span>)
|
17
|
+
<span class="ruby-identifier">file</span>=<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">files</span>[<span class="ruby-identifier">filename</span>]
|
18
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-keyword kw">then</span>
|
19
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-node">"<i>#{filename} not found</i>"</span>
|
20
|
+
<span class="ruby-keyword kw">else</span>
|
21
|
+
<span class="ruby-identifier">s</span>=<span class="ruby-node">"<hl><pre>#{file.file_type=='B'?file.disassembly : file.to_s}\n</pre><hl>"</span>
|
22
|
+
<span class="ruby-keyword kw">end</span>
|
23
|
+
<span class="ruby-identifier">s</span>
|
24
|
+
<span class="ruby-keyword kw">end</span></pre>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Sat Jun 23 21:07:20 AUS Eastern Standard Time 2007</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -69,9 +69,8 @@
|
|
69
69
|
<div id="contextContent">
|
70
70
|
<div id="diagram">
|
71
71
|
<map id="map" name="map">
|
72
|
-
<area shape="RECT" coords="16,16,109,63" href="../../classes/RDoc.html" alt="RDoc">
|
73
72
|
</map>
|
74
|
-
<img src="../../dot/
|
73
|
+
<img src="../../dot/f_1.png" usemap="#map" border=0 alt="TopLevel">
|
75
74
|
</div>
|
76
75
|
|
77
76
|
<div id="description">
|
@@ -92,6 +91,7 @@ dsktool.rb [switches] <filename.dsk>
|
|
92
91
|
-e | --extract FILENAME extract file by name (either to stdout,
|
93
92
|
or file specified by --output)
|
94
93
|
-h | --help display this message
|
94
|
+
-d | --dump FILENAME hex dump
|
95
95
|
-l | --list FILENAME monitor style listing (disassembles 65C02 opcodes)
|
96
96
|
-o | --output FILENAME specify name to save extracted file as
|
97
97
|
-r | --raw don't convert basic files to ASCII
|
@@ -112,6 +112,7 @@ examples:
|
|
112
112
|
dsktool.rb --extract "COLOR DEMOSOFT" DOS3MASTR.dsk
|
113
113
|
dsktool.rb -e HELLO -o HELLO.bas DOS3MASTR.dsk
|
114
114
|
dsktool.rb -x DOS3MASTR.dsk.gz
|
115
|
+
dsktool.rb -x DOS3MASTR.dsk.gz -o /tmp/DOS3MASTR/
|
115
116
|
dsktool.rb -c http://jamtronix.com/dsks/apshai.dsk.gz
|
116
117
|
</pre>
|
117
118
|
|
@@ -122,7 +123,7 @@ examples:
|
|
122
123
|
|
123
124
|
<div class="name-list">
|
124
125
|
optparse
|
125
|
-
|
126
|
+
rdoc_patch
|
126
127
|
<a href="../../classes/DSK.html">DSK</a>
|
127
128
|
</div>
|
128
129
|
</div>
|
@@ -146,7 +147,7 @@ examples:
|
|
146
147
|
<tr class="top-aligned-row context-row">
|
147
148
|
<td class="context-item-name">DSKTOOL_VERSION</td>
|
148
149
|
<td>=</td>
|
149
|
-
<td class="context-item-value">"0.1.
|
150
|
+
<td class="context-item-value">"0.1.5"</td>
|
150
151
|
<td width="3em"> </td>
|
151
152
|
<td class="context-item-desc">
|
152
153
|
dsktool.rb
|
@@ -165,6 +166,7 @@ dsktool.rb [switches] <filename.dsk>
|
|
165
166
|
-e | --extract FILENAME extract file by name (either to stdout,
|
166
167
|
or file specified by --output)
|
167
168
|
-h | --help display this message
|
169
|
+
-d | --dump FILENAME hex dump
|
168
170
|
-l | --list FILENAME monitor style listing (disassembles 65C02 opcodes)
|
169
171
|
-o | --output FILENAME specify name to save extracted file as
|
170
172
|
-r | --raw don't convert basic files to ASCII
|
@@ -185,6 +187,7 @@ examples:
|
|
185
187
|
dsktool.rb --extract "COLOR DEMOSOFT" DOS3MASTR.dsk
|
186
188
|
dsktool.rb -e HELLO -o HELLO.bas DOS3MASTR.dsk
|
187
189
|
dsktool.rb -x DOS3MASTR.dsk.gz
|
190
|
+
dsktool.rb -x DOS3MASTR.dsk.gz -o /tmp/DOS3MASTR/
|
188
191
|
dsktool.rb -c http://jamtronix.com/dsks/apshai.dsk.gz
|
189
192
|
</pre>
|
190
193
|
</td>
|
data/doc/files/lib/D65_rb.html
CHANGED
@@ -71,7 +71,7 @@
|
|
71
71
|
<map id="map" name="map">
|
72
72
|
<area shape="RECT" coords="5,5,77,53" href="../../classes/D65.html" alt="D65">
|
73
73
|
</map>
|
74
|
-
<img src="../../dot/
|
74
|
+
<img src="../../dot/f_2.png" usemap="#map" border=0 alt="TopLevel">
|
75
75
|
</div>
|
76
76
|
|
77
77
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</tr>
|
57
57
|
<tr class="top-aligned-row">
|
58
58
|
<td><strong>Last Update:</strong></td>
|
59
|
-
<td>
|
59
|
+
<td>Sun Jun 17 21:47:36 AUS Eastern Standard Time 2007</td>
|
60
60
|
</tr>
|
61
61
|
</table>
|
62
62
|
</div>
|
@@ -72,7 +72,7 @@
|
|
72
72
|
<area shape="RECT" coords="13,101,88,149" href="../../classes/DOSDisk.html" alt="DOSDisk">
|
73
73
|
<area shape="RECT" coords="15,5,87,53" href="../../classes/DSK.html" alt="DSK">
|
74
74
|
</map>
|
75
|
-
<img src="../../dot/
|
75
|
+
<img src="../../dot/f_3.png" usemap="#map" border=0 alt="TopLevel">
|
76
76
|
</div>
|
77
77
|
|
78
78
|
|