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.
Files changed (164) hide show
  1. data/bin/dskexplorer.rb +264 -0
  2. data/bin/dsktool.rb +34 -61
  3. data/doc/classes/AppleSoftFile.html +16 -16
  4. data/doc/classes/AppleSoftFile.src/M000020.html +18 -0
  5. data/doc/classes/AppleSoftFile.src/M000021.html +18 -0
  6. data/doc/classes/AppleSoftFile.src/M000022.html +18 -0
  7. data/doc/classes/AppleSoftFile.src/M000026.html +18 -0
  8. data/doc/classes/AppleSoftFile.src/M000027.html +18 -0
  9. data/doc/classes/AppleSoftFile.src/M000028.html +18 -0
  10. data/doc/classes/BinaryFile.html +16 -16
  11. data/doc/classes/BinaryFile.src/M000039.html +18 -0
  12. data/doc/classes/BinaryFile.src/M000040.html +18 -0
  13. data/doc/classes/BinaryFile.src/M000041.html +19 -0
  14. data/doc/classes/BinaryFile.src/M000045.html +18 -0
  15. data/doc/classes/BinaryFile.src/M000046.html +18 -0
  16. data/doc/classes/BinaryFile.src/M000047.html +19 -0
  17. data/doc/classes/CatalogServlet.html +146 -0
  18. data/doc/classes/CatalogServlet.src/M000015.html +20 -0
  19. data/doc/classes/CatalogServlet.src/M000021.html +20 -0
  20. data/doc/classes/D65.html +11 -11
  21. data/doc/classes/D65.src/M000018.html +18 -0
  22. data/doc/classes/D65.src/M000019.html +64 -0
  23. data/doc/classes/D65.src/M000024.html +18 -0
  24. data/doc/classes/D65.src/M000025.html +64 -0
  25. data/doc/classes/DOSDisk.html +16 -16
  26. data/doc/classes/DOSDisk.src/M000023.html +20 -0
  27. data/doc/classes/DOSDisk.src/M000024.html +19 -0
  28. data/doc/classes/DOSDisk.src/M000025.html +76 -0
  29. data/doc/classes/DOSDisk.src/M000029.html +20 -0
  30. data/doc/classes/DOSDisk.src/M000030.html +19 -0
  31. data/doc/classes/DOSDisk.src/M000031.html +76 -0
  32. data/doc/classes/DOSFile.html +32 -17
  33. data/doc/classes/DOSFile.src/M000042.html +22 -0
  34. data/doc/classes/DOSFile.src/M000043.html +18 -0
  35. data/doc/classes/DOSFile.src/M000044.html +18 -0
  36. data/doc/classes/DOSFile.src/M000048.html +22 -0
  37. data/doc/classes/DOSFile.src/M000049.html +18 -0
  38. data/doc/classes/DOSFile.src/M000050.html +18 -0
  39. data/doc/classes/DOSFile.src/M000051.html +31 -0
  40. data/doc/classes/DSK.html +54 -36
  41. data/doc/classes/DSK.src/M000027.html +18 -0
  42. data/doc/classes/DSK.src/M000028.html +22 -0
  43. data/doc/classes/DSK.src/M000029.html +22 -0
  44. data/doc/classes/DSK.src/M000030.html +34 -0
  45. data/doc/classes/DSK.src/M000031.html +19 -0
  46. data/doc/classes/DSK.src/M000032.html +18 -0
  47. data/doc/classes/DSK.src/M000033.html +18 -0
  48. data/doc/classes/DSK.src/M000034.html +22 -0
  49. data/doc/classes/DSK.src/M000035.html +22 -0
  50. data/doc/classes/DSK.src/M000036.html +34 -0
  51. data/doc/classes/DSK.src/M000037.html +19 -0
  52. data/doc/classes/DSK.src/M000038.html +18 -0
  53. data/doc/classes/DSK.src/M000039.html +40 -0
  54. data/doc/classes/DSK.src/M000040.html +23 -0
  55. data/doc/classes/DirectoryServlet.html +146 -0
  56. data/doc/classes/DirectoryServlet.src/M000017.html +20 -0
  57. data/doc/classes/DirectoryServlet.src/M000023.html +20 -0
  58. data/doc/classes/IntegerBasicFile.html +16 -16
  59. data/doc/classes/IntegerBasicFile.src/M000012.html +18 -0
  60. data/doc/classes/IntegerBasicFile.src/M000013.html +18 -0
  61. data/doc/classes/IntegerBasicFile.src/M000014.html +18 -0
  62. data/doc/classes/IntegerBasicFile.src/M000018.html +18 -0
  63. data/doc/classes/IntegerBasicFile.src/M000019.html +18 -0
  64. data/doc/classes/IntegerBasicFile.src/M000020.html +18 -0
  65. data/doc/classes/RDoc.html +6 -6
  66. data/doc/classes/RDoc.src/M000048.html +40 -0
  67. data/doc/classes/RDoc.src/M000055.html +40 -0
  68. data/doc/classes/SCAsmFile.html +21 -21
  69. data/doc/classes/SCAsmFile.src/M000035.html +18 -0
  70. data/doc/classes/SCAsmFile.src/M000036.html +18 -0
  71. data/doc/classes/SCAsmFile.src/M000037.html +18 -0
  72. data/doc/classes/SCAsmFile.src/M000038.html +36 -0
  73. data/doc/classes/SCAsmFile.src/M000041.html +18 -0
  74. data/doc/classes/SCAsmFile.src/M000042.html +18 -0
  75. data/doc/classes/SCAsmFile.src/M000043.html +18 -0
  76. data/doc/classes/SCAsmFile.src/M000044.html +36 -0
  77. data/doc/classes/ShowFileServlet.html +146 -0
  78. data/doc/classes/ShowFileServlet.src/M000026.html +21 -0
  79. data/doc/classes/ShowFileServlet.src/M000032.html +22 -0
  80. data/doc/classes/TestDOSDisks.html +41 -26
  81. data/doc/classes/TestDOSDisks.src/M000006.html +24 -0
  82. data/doc/classes/TestDOSDisks.src/M000007.html +19 -0
  83. data/doc/classes/TestDOSDisks.src/M000008.html +19 -0
  84. data/doc/classes/TestDOSDisks.src/M000009.html +25 -0
  85. data/doc/classes/TestDOSDisks.src/M000010.html +41 -0
  86. data/doc/classes/TestDOSDisks.src/M000011.html +27 -0
  87. data/doc/classes/TestDOSDisks.src/M000012.html +24 -0
  88. data/doc/classes/TestDOSDisks.src/M000013.html +19 -0
  89. data/doc/classes/TestDOSDisks.src/M000014.html +19 -0
  90. data/doc/classes/TestDOSDisks.src/M000015.html +25 -0
  91. data/doc/classes/TestDOSDisks.src/M000016.html +41 -0
  92. data/doc/classes/TestDOSDisks.src/M000017.html +27 -0
  93. data/doc/classes/TestDisassembly.html +6 -6
  94. data/doc/classes/TestDisassembly.src/M000016.html +19 -0
  95. data/doc/classes/TestDisassembly.src/M000022.html +19 -0
  96. data/doc/classes/TextFile.html +16 -16
  97. data/doc/classes/TextFile.src/M000045.html +18 -0
  98. data/doc/classes/TextFile.src/M000046.html +18 -0
  99. data/doc/classes/TextFile.src/M000047.html +20 -0
  100. data/doc/classes/TextFile.src/M000052.html +18 -0
  101. data/doc/classes/TextFile.src/M000053.html +18 -0
  102. data/doc/classes/TextFile.src/M000054.html +20 -0
  103. data/doc/created.rid +1 -1
  104. data/doc/dot/f_0.dot +44 -16
  105. data/doc/dot/f_0.png +0 -0
  106. data/doc/dot/f_1.dot +1 -10
  107. data/doc/dot/f_1.png +0 -0
  108. data/doc/dot/f_2.dot +4 -13
  109. data/doc/dot/f_2.png +0 -0
  110. data/doc/dot/f_3.dot +8 -64
  111. data/doc/dot/f_3.png +0 -0
  112. data/doc/dot/f_4.dot +69 -4
  113. data/doc/dot/f_4.png +0 -0
  114. data/doc/dot/f_5.dot +4 -13
  115. data/doc/dot/f_5.png +0 -0
  116. data/doc/dot/f_6.dot +15 -17
  117. data/doc/dot/f_6.png +0 -0
  118. data/doc/dot/f_7.dot +19 -1
  119. data/doc/dot/f_7.png +0 -0
  120. data/doc/dot/f_8.dot +32 -0
  121. data/doc/dot/f_8.png +0 -0
  122. data/doc/dot/f_9.dot +14 -0
  123. data/doc/dot/f_9.png +0 -0
  124. data/doc/dot/m_6_0.dot +30 -0
  125. data/doc/dot/m_6_0.png +0 -0
  126. data/doc/files/bin/dskexplorer_rb.html +339 -0
  127. data/doc/files/bin/dskexplorer_rb.src/M000001.html +21 -0
  128. data/doc/files/bin/dskexplorer_rb.src/M000002.html +21 -0
  129. data/doc/files/bin/dskexplorer_rb.src/M000003.html +22 -0
  130. data/doc/files/bin/dskexplorer_rb.src/M000004.html +19 -0
  131. data/doc/files/bin/dskexplorer_rb.src/M000005.html +20 -0
  132. data/doc/files/bin/dskexplorer_rb.src/M000006.html +22 -0
  133. data/doc/files/bin/dskexplorer_rb.src/M000007.html +20 -0
  134. data/doc/files/bin/dskexplorer_rb.src/M000008.html +43 -0
  135. data/doc/files/bin/dskexplorer_rb.src/M000009.html +55 -0
  136. data/doc/files/bin/dskexplorer_rb.src/M000010.html +43 -0
  137. data/doc/files/bin/dskexplorer_rb.src/M000011.html +34 -0
  138. data/doc/files/bin/dskserver_rb.html +247 -0
  139. data/doc/files/bin/dskserver_rb.src/M000001.html +22 -0
  140. data/doc/files/bin/dskserver_rb.src/M000002.html +19 -0
  141. data/doc/files/bin/dskserver_rb.src/M000003.html +62 -0
  142. data/doc/files/bin/dskserver_rb.src/M000004.html +39 -0
  143. data/doc/files/bin/dskserver_rb.src/M000005.html +26 -0
  144. data/doc/files/bin/dsktool_rb.html +8 -5
  145. data/doc/files/lib/D65_rb.html +1 -1
  146. data/doc/files/lib/DOSDisk_rb.html +2 -2
  147. data/doc/files/lib/DOSFile_rb.html +2 -2
  148. data/doc/files/lib/DSK_rb.html +2 -2
  149. data/doc/files/lib/rdoc_patch_rb.html +114 -0
  150. data/doc/files/test/tc_disassembly_rb.html +1 -1
  151. data/doc/files/test/tc_dos_disks_rb.html +2 -2
  152. data/doc/files/test/ts_test_all_rb.html +1 -1
  153. data/doc/fr_class_index.html +3 -0
  154. data/doc/fr_file_index.html +2 -0
  155. data/doc/fr_method_index.html +55 -38
  156. data/doc/index.html +1 -1
  157. data/doc/rdoc-style.css +208 -0
  158. data/lib/DOSDisk.rb +2 -2
  159. data/lib/DOSFile.rb +21 -3
  160. data/lib/DSK.rb +6 -1
  161. data/lib/rdoc_patch.rb +32 -0
  162. data/test/tc_dos_disks.rb +13 -2
  163. data/test/white_11a.dsk +0 -0
  164. 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">&quot;&lt;p&gt;&quot;</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">&quot;&lt;table&gt;\n&lt;th&gt;TYPE&lt;/th&gt;&lt;th&gt;SECTORS&lt;/th&gt;&lt;th&gt;NAME&lt;/th&gt;&lt;/tr&gt;\n&quot;</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">&quot;/showfile/#{uri_encode(relative_path)+'?filename='+uri_encode(f.filename)}&quot;</span>
23
+ <span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">&quot;&lt;td&gt;#{f.file_type}&lt;/td&gt;&lt;td&gt;#{sprintf('%03d',f.sector_count)}&lt;/td&gt;&lt;td&gt;#{f.filename}&lt;/td&gt;&quot;</span>
24
+ <span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">&quot;&lt;td&gt;&lt;a href=#{display_url}&amp;mode=hex&gt;hex dump&lt;/a&gt;&lt;/td&gt;&quot;</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">&quot;T&quot;</span> <span class="ruby-keyword kw">then</span>
26
+ <span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">&quot;&lt;td&gt;&lt;a href=#{display_url}&amp;mode=text&gt;text&lt;/a&gt;&lt;/td&gt;&quot;</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">&quot;&lt;td&gt;&lt;a href=#{display_url}&amp;mode=list&gt;listing&lt;/a&gt;&lt;/td&gt;&quot;</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">&quot;&lt;/tr&gt;\n&quot;</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">&quot;&lt;/table&gt;&quot;</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">&quot;&lt;i&gt;not DOS 3.3 format&lt;/i&gt;&quot;</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">&gt;</span> <span class="ruby-identifier">exception</span>
38
+ <span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">&quot;&lt;i&gt;ERROR:#{exception}&lt;/i&gt;&quot;</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">&quot;&lt;i&gt;#{filename} not found&lt;/i&gt;&quot;</span>
20
+ <span class="ruby-keyword kw">else</span>
21
+ <span class="ruby-identifier">s</span>=<span class="ruby-value str">&quot;&lt;hl&gt;&lt;pre&gt;&quot;</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">&quot;hex&quot;</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">&quot;list&quot;</span> <span class="ruby-operator">&amp;&amp;</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">&quot;\n&lt;/pre&gt;&lt;hl&gt;&quot;</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&nbsp;&nbsp;
106
+ rdoc_patch&nbsp;&nbsp;
107
+ webrick&nbsp;&nbsp;
108
+ cgi&nbsp;&nbsp;
109
+ <a href="../../classes/DSK.html">DSK</a>&nbsp;&nbsp;
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>&nbsp;&nbsp;
120
+ <a href="#M000001">common_header</a>&nbsp;&nbsp;
121
+ <a href="#M000004">make_catalog</a>&nbsp;&nbsp;
122
+ <a href="#M000003">make_navigation_path</a>&nbsp;&nbsp;
123
+ <a href="#M000005">show_file</a>&nbsp;&nbsp;
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">&quot;0.1.0&quot;</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">&quot;
16
+ &lt;html&gt;
17
+ &lt;body&gt;
18
+
19
+ &quot;</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">&quot;
16
+ &quot;</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">&quot;/&quot;</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">&quot;&quot;</span>
18
+ <span class="ruby-identifier">s</span>=<span class="ruby-value str">&quot;&lt;a href=/dir/&gt;DSK Server&lt;/a&gt;&quot;</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">&gt;</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">&quot;/#{p}&quot;</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">&quot;/&quot;</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">&quot;/&quot;</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">&quot; / &lt;a href=/dir#{CGI.escape(partial_path)}&gt; #{p}&lt;/a&gt;&quot;</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">&quot; / &lt;a href=/catalog#{CGI.escape(partial_path)}&gt; #{p}&lt;/a&gt;&quot;</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">&quot; / &lt;a href=/showfile/#{CGI.escape(relative_path)+'?filename='+CGI.escape(filename)}&gt;#{filename}&lt;/a&gt;&quot;</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">&amp;&amp;</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">&lt;&lt;</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">&quot;.&quot;</span>) <span class="ruby-operator">&amp;&amp;</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">&quot;/&quot;</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">&lt;&lt;</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">&quot;&lt;ul&gt;&quot;</span>
48
+ <span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">&quot;&lt;li&gt;[dir] &lt;a href=/#{CGI.escape('/dir/'+File.dirname(relative_path))}&gt;..&lt;/a&gt;\n&quot;</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">&quot;&lt;li&gt;[dir] &lt;a href=/#{CGI.escape('/dir/'+relative_path+'/'+d)}&gt;#{d}&lt;/a&gt;\n&quot;</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">&quot;&lt;li&gt;[dsk] &lt;a href=/#{CGI.escape('/catalog/'+relative_path+'/'+f)}&gt;#{f}&lt;/a&gt;\n&quot;</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">&quot;&lt;/ul&gt;&quot;</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">&quot;&lt;p&gt;&quot;</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">&quot;&lt;table&gt;\n&lt;th&gt;TYPE&lt;/th&gt;&lt;th&gt;NAME&lt;/th&gt;&lt;th&gt;SECTORS&lt;/th&gt;&lt;/tr&gt;\n&quot;</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">&quot;&lt;td&gt;#{f.file_type}&lt;/td&gt;&lt;td&gt;&lt;a href=/showfile/#{CGI.escape(relative_path)+'?filename='+CGI.escape(f.filename)}&gt;#{f.filename}&lt;/a&gt;&lt;/td&gt;&lt;td&gt;#{sprintf('%03d',f.sector_count)}&lt;/td&gt;&lt;/tr&gt;\n&quot;</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">&quot;&lt;/table&gt;&quot;</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">&quot;&lt;i&gt;not DOS 3.3 format&lt;/i&gt;&quot;</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">&gt;</span> <span class="ruby-identifier">exception</span>
30
+ <span class="ruby-identifier">s</span><span class="ruby-operator">+=</span><span class="ruby-node">&quot;&lt;i&gt;ERROR:#{exception}&lt;/i&gt;&quot;</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">&quot;&lt;i&gt;#{filename} not found&lt;/i&gt;&quot;</span>
20
+ <span class="ruby-keyword kw">else</span>
21
+ <span class="ruby-identifier">s</span>=<span class="ruby-node">&quot;&lt;hl&gt;&lt;pre&gt;#{file.file_type=='B'?file.disassembly : file.to_s}\n&lt;/pre&gt;&lt;hl&gt;&quot;</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>Sun Jun 17 11:22:55 AUS Eastern Standard Time 2007</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/f_0.png" usemap="#map" border=0 alt="TopLevel">
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] &lt;filename.dsk&gt;
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 &quot;COLOR DEMOSOFT&quot; 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&nbsp;&nbsp;
125
- rdoc/usage&nbsp;&nbsp;
126
+ rdoc_patch&nbsp;&nbsp;
126
127
  <a href="../../classes/DSK.html">DSK</a>&nbsp;&nbsp;
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">&quot;0.1.4&quot;</td>
150
+ <td class="context-item-value">&quot;0.1.5&quot;</td>
150
151
  <td width="3em">&nbsp;</td>
151
152
  <td class="context-item-desc">
152
153
  dsktool.rb
@@ -165,6 +166,7 @@ dsktool.rb [switches] &lt;filename.dsk&gt;
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 &quot;COLOR DEMOSOFT&quot; 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>
@@ -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/f_1.png" usemap="#map" border=0 alt="TopLevel">
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>Sat Jun 16 19:46:43 AUS Eastern Standard Time 2007</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/f_2.png" usemap="#map" border=0 alt="TopLevel">
75
+ <img src="../../dot/f_3.png" usemap="#map" border=0 alt="TopLevel">
76
76
  </div>
77
77
 
78
78