dsktool 0.1.1 → 0.1.2

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/dsktool.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #
2
- # dsktool
2
+ # dsktool.rb
3
3
  #
4
4
  # == Synopsis
5
5
  #
@@ -9,24 +9,24 @@
9
9
  #
10
10
  # dsktool.rb [switches] <filename.dsk>
11
11
  # -c | --catalog display catalog
12
- # -l | --list FILENAME monitor style listing (disassembles 65C02 opcodes)
13
12
  # -e | --extract FILENAME extract file by name (either to stdout,
14
13
  # or file specified by --output)
15
14
  # -h | --help display this message
15
+ # -l | --list FILENAME monitor style listing (disassembles 65C02 opcodes)
16
16
  # -o | --output FILENAME specify name to save extracted file as
17
17
  # -x | --explode extract all files
18
18
  # -v | --version show version number
19
19
  #
20
20
  # examples:
21
- # dsktool -c DOS3MASTR.dsk
22
- # dsktool -l FID DOS3MASTR.dsk
23
- # dsktool -d fid -o fid.asm DOS3MASTR.dsk
24
- # dsktool -e "COLOR DEMOSOFT" DOS3MASTR.dsk
25
- # dsktool -e HELLO -o HELLO.bas DOS3MASTR.dsk
26
- # dsktool -x DOS3MASTR.dsk
21
+ # dsktool.rb -c DOS3MASTR.dsk
22
+ # dsktool.rb -l FID DOS3MASTR.dsk
23
+ # dsktool.rb --list fid -o fid.asm DOS3MASTR.dsk
24
+ # dsktool.rb --extract "COLOR DEMOSOFT" DOS3MASTR.dsk
25
+ # dsktool.rb -e HELLO -o HELLO.bas DOS3MASTR.dsk
26
+ # dsktool.rb -x DOS3MASTR.dsk
27
27
  #
28
28
 
29
- DSKTOOL_VERSION="0.1.1"
29
+ DSKTOOL_VERSION="0.1.2"
30
30
 
31
31
  require 'optparse'
32
32
  require 'rdoc/usage'
@@ -106,7 +106,7 @@ Applesoft file format:
106
106
  &lt;Next addr&gt; (16-bit little endian)
107
107
  &lt;Line no&gt; (16-bit little endian: 0-65535)
108
108
  &lt;Tokens and/or characters&gt;
109
- &lt;End-of-line marker: $00 $00 bytes&gt;
109
+ &lt;End-of-line marker: $00 &gt;
110
110
  </pre>
111
111
 
112
112
  </div>
@@ -0,0 +1,141 @@
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>Module: RDoc</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="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">RDoc</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ </td>
59
+ </tr>
60
+
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="16,16,109,63" href="RDoc.html" alt="RDoc">
73
+ </map>
74
+ <img src="../dot/m_0_0.png" usemap="#map" border=0 alt="Module: RDoc">
75
+ </div>
76
+
77
+
78
+
79
+ </div>
80
+
81
+ <div id="method-list">
82
+ <h3 class="section-bar">Methods</h3>
83
+
84
+ <div class="name-list">
85
+ <a href="#M000032">usage_from_file</a>&nbsp;&nbsp;
86
+ </div>
87
+ </div>
88
+
89
+ </div>
90
+
91
+
92
+ <!-- if includes -->
93
+
94
+ <div id="section">
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <!-- if method_list -->
104
+ <div id="methods">
105
+ <h3 class="section-bar">Public Class methods</h3>
106
+
107
+ <div id="method-M000032" class="method-detail">
108
+ <a name="M000032"></a>
109
+
110
+ <div class="method-heading">
111
+ <a href="RDoc.src/M000032.html" target="Code" class="method-signature"
112
+ onclick="popupCode('RDoc.src/M000032.html');return false;">
113
+ <span class="method-name">usage_from_file</span><span class="method-args">(input_file, *args)</span>
114
+ </a>
115
+ </div>
116
+
117
+ <div class="method-description">
118
+ <p>
119
+ due to a bug in rdoc, tghe Usage won&#8217;t work correctly when run from a
120
+ gem executable
121
+ </p>
122
+ <pre>
123
+ see http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/211297
124
+ Display usage from the given file
125
+ </pre>
126
+ </div>
127
+ </div>
128
+
129
+
130
+ </div>
131
+
132
+
133
+ </div>
134
+
135
+
136
+ <div id="validator-badges">
137
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
138
+ </div>
139
+
140
+ </body>
141
+ </html>
@@ -0,0 +1,40 @@
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>usage_from_file (RDoc)</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/dsktool.rb, line 37</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">RDoc</span>.<span class="ruby-identifier">usage_from_file</span>(<span class="ruby-identifier">input_file</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
15
+ <span class="ruby-identifier">comment</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">input_file</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
16
+ <span class="ruby-constant">RDoc</span>.<span class="ruby-identifier">find_comment</span>(<span class="ruby-identifier">file</span>)
17
+ <span class="ruby-keyword kw">end</span>
18
+ <span class="ruby-identifier">comment</span> = <span class="ruby-identifier">comment</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/^\s*#/</span>, <span class="ruby-value str">''</span>)
19
+
20
+ <span class="ruby-identifier">markup</span> = <span class="ruby-constant">SM</span><span class="ruby-operator">::</span><span class="ruby-constant">SimpleMarkup</span>.<span class="ruby-identifier">new</span>
21
+ <span class="ruby-identifier">flow_convertor</span> = <span class="ruby-constant">SM</span><span class="ruby-operator">::</span><span class="ruby-constant">ToFlow</span>.<span class="ruby-identifier">new</span>
22
+
23
+ <span class="ruby-identifier">flow</span> = <span class="ruby-identifier">markup</span>.<span class="ruby-identifier">convert</span>(<span class="ruby-identifier">comment</span>, <span class="ruby-identifier">flow_convertor</span>)
24
+
25
+ <span class="ruby-identifier">format</span> = <span class="ruby-value str">&quot;plain&quot;</span>
26
+
27
+ <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">empty?</span>
28
+ <span class="ruby-identifier">flow</span> = <span class="ruby-identifier">extract_sections</span>(<span class="ruby-identifier">flow</span>, <span class="ruby-identifier">args</span>)
29
+ <span class="ruby-keyword kw">end</span>
30
+
31
+ <span class="ruby-identifier">options</span> = <span class="ruby-constant">RI</span><span class="ruby-operator">::</span><span class="ruby-constant">Options</span>.<span class="ruby-identifier">instance</span>
32
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">args</span> = <span class="ruby-constant">ENV</span>[<span class="ruby-value str">&quot;RI&quot;</span>]
33
+ <span class="ruby-identifier">options</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">split</span>)
34
+ <span class="ruby-keyword kw">end</span>
35
+ <span class="ruby-identifier">formatter</span> = <span class="ruby-identifier">options</span>.<span class="ruby-identifier">formatter</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>, <span class="ruby-value str">&quot;&quot;</span>)
36
+ <span class="ruby-identifier">formatter</span>.<span class="ruby-identifier">display_flow</span>(<span class="ruby-identifier">flow</span>)
37
+ <span class="ruby-identifier">exit</span>
38
+ <span class="ruby-keyword kw">end</span></pre>
39
+ </body>
40
+ </html>
@@ -10,7 +10,7 @@
10
10
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/tc_dos_disks.rb, line 5</span>
13
+ <pre><span class="ruby-comment cmt"># File test/tc_dos_disks.rb, line 9</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_bad_dsks</span>
15
15
  <span class="ruby-identifier">assert_raise</span>(<span class="ruby-constant">RuntimeError</span>,<span class="ruby-value str">&quot;short file should throw an error&quot;</span>) {<span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">&quot;0&quot;</span><span class="ruby-operator">*</span><span class="ruby-value">100</span>)}
16
16
  <span class="ruby-identifier">assert_raise</span>(<span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOENT</span>,<span class="ruby-value str">&quot;non existant file should throw an error&quot;</span>) {<span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">read</span>(<span class="ruby-value str">&quot;NonExistantFileName.not&quot;</span>)}
@@ -10,7 +10,7 @@
10
10
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/tc_dos_disks.rb, line 11</span>
13
+ <pre><span class="ruby-comment cmt"># File test/tc_dos_disks.rb, line 15</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_empty_dsk</span>
15
15
  <span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">new</span>()
16
16
  <span class="ruby-identifier">assert</span>(<span class="ruby-operator">!</span><span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">is_dos33?</span>,<span class="ruby-value str">&quot;empty DSK should not be DOS 3.3 format&quot;</span>)
@@ -10,9 +10,9 @@
10
10
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/tc_dos_disks.rb, line 16</span>
13
+ <pre><span class="ruby-comment cmt"># File test/tc_dos_disks.rb, line 20</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_simple_dos_dsk</span>
15
- <span class="ruby-identifier">dskname</span>=<span class="ruby-value str">&quot;dos33_with_adt.dsk&quot;</span>
15
+ <span class="ruby-identifier">dskname</span>=<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword kw">__FILE__</span>)<span class="ruby-operator">+</span><span class="ruby-value str">&quot;//dos33_with_adt.dsk&quot;</span>
16
16
  <span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">dskname</span>)
17
17
  <span class="ruby-identifier">assert</span>(<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">is_dos33?</span>,<span class="ruby-node">&quot;#{dskname} should be DOS 3.3 format&quot;</span>)
18
18
  <span class="ruby-identifier">assert</span>(<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">&gt;</span><span class="ruby-value">0</span>,<span class="ruby-node">&quot;#{dskname} should have at least one file&quot;</span>)
@@ -10,7 +10,7 @@
10
10
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File test/tc_disassembly.rb, line 7</span>
13
+ <pre><span class="ruby-comment cmt"># File test/tc_disassembly.rb, line 11</span>
14
14
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_simple</span>
15
15
  <span class="ruby-identifier">assert</span>(<span class="ruby-regexp re">/RTS/</span>.<span class="ruby-identifier">match</span>(<span class="ruby-constant">D65</span>.<span class="ruby-identifier">disassemble</span>(<span class="ruby-value str">&quot;\x60&quot;</span>)),<span class="ruby-value str">&quot;disassembly of 0x60 should be RTS&quot;</span>)
16
16
 
data/doc/created.rid CHANGED
@@ -1 +1 @@
1
- Sat Jun 16 12:27:06 AUS Eastern Standard Time 2007
1
+ Sat Jun 16 14:52:09 AUS Eastern Standard Time 2007
data/doc/dot/f_0.dot CHANGED
@@ -10,5 +10,21 @@ digraph TopLevel {
10
10
  color = black
11
11
  ]
12
12
 
13
+ subgraph cluster_RDoc {
14
+ fillcolor = palegreen1
15
+ URL = "classes/RDoc.html"
16
+ fontname = Arial
17
+ color = blue
18
+ label = "RDoc"
19
+ style = filled
20
+ RDoc [
21
+ shape = plaintext,
22
+ height = 0.01,
23
+ width = 0.75,
24
+ label = ""
25
+ ]
26
+
27
+ }
28
+
13
29
  }
14
30
 
data/doc/dot/f_0.png CHANGED
Binary file
data/doc/dot/m_0_0.dot ADDED
@@ -0,0 +1,30 @@
1
+ digraph TopLevel {
2
+ compound = true
3
+ bgcolor = lightcyan1
4
+ fontname = Arial
5
+ fontsize = 8
6
+ label = "TopLevel"
7
+ node [
8
+ fontname = Arial,
9
+ fontsize = 8,
10
+ color = black
11
+ ]
12
+
13
+ subgraph cluster_RDoc {
14
+ fillcolor = palegreen1
15
+ URL = "classes/RDoc.html"
16
+ fontname = Arial
17
+ color = blue
18
+ label = "RDoc"
19
+ style = filled
20
+ RDoc [
21
+ shape = plaintext,
22
+ height = 0.01,
23
+ width = 0.75,
24
+ label = ""
25
+ ]
26
+
27
+ }
28
+
29
+ }
30
+
data/doc/dot/m_0_0.png ADDED
Binary file
@@ -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 11:44:14 AUS Eastern Standard Time 2007</td>
59
+ <td>Sat Jun 16 14:49:29 AUS Eastern Standard Time 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -69,63 +69,43 @@
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">
72
73
  </map>
73
74
  <img src="../../dot/f_0.png" usemap="#map" border=0 alt="TopLevel">
74
75
  </div>
75
76
 
76
77
  <div id="description">
77
- <pre>
78
- dsktool
79
-
80
- == Synopsis
81
-
82
- Manipulate DSK format files
83
-
84
- == Usage
85
-
86
- dsktool.rb [switches] &lt;filename.dsk&gt;
87
- -c | --catalog display catalog
88
- -d | --disassemble FILENAME disassemble 65C02 opcodes (binary files only)
89
- -e | --extract FILENAME extract file by name (either to stdout,
90
- or file specified by --output)
91
- -h | --help display this message
92
- -o | --output FILENAME specify name to save extracted file as
93
- -x | --explode extract all files
94
-
95
- examples:
96
- dsktool -c DOS3MASTR.dsk
97
- dsktool -d FID DOS3MASTR.dsk
98
- dsktool -d fid -o fid.asm DOS3MASTR.dsk
99
- dsktool -e &quot;COLOR DEMOSOFT&quot; DOS3MASTR.dsk
100
- dsktool -e HELLO -o HELLO.bas DOS3MASTR.dsk
101
- dsktool -x DOS3MASTR.dsk
102
-
103
- == Author
104
- Jonno Downes (jonno@jamtronix.com)
105
-
106
- == Copyright
107
- Copyright (c) 2007 Jonno Downes (jonno@jamtronix.com)
78
+ <p>
79
+ dsktool
80
+ </p>
81
+ <h2>Synopsis</h2>
82
+ <p>
83
+ Manipulate <a href="../../classes/DSK.html">DSK</a> format files
84
+ </p>
85
+ <h2>Usage</h2>
86
+ <p>
87
+ dsktool.rb [switches] &lt;filename.dsk&gt;
88
+ </p>
89
+ <pre>
90
+ -c | --catalog display catalog
91
+ -l | --list FILENAME monitor style listing (disassembles 65C02 opcodes)
92
+ -e | --extract FILENAME extract file by name (either to stdout,
93
+ or file specified by --output)
94
+ -h | --help display this message
95
+ -o | --output FILENAME specify name to save extracted file as
96
+ -x | --explode extract all files
97
+ -v | --version show version number
108
98
  </pre>
109
99
  <p>
110
- Permission is hereby granted, free of charge, to any person obtaining a
111
- copy of this software and associated documentation files (the
112
- &quot;Software&quot;), to deal in the Software without restriction,
113
- including without limitation the rights to use, copy, modify, merge,
114
- publish, distribute, sublicense, and/or sell copies of the Software, and to
115
- permit persons to whom the Software is furnished to do so, subject to the
116
- following conditions:
100
+ examples:
117
101
  </p>
118
102
  <pre>
119
- The above copyright notice and this permission notice shall be
120
- included in all copies or substantial portions of the Software.
121
-
122
- THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
123
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
124
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
125
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
126
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
127
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
128
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
103
+ dsktool -c DOS3MASTR.dsk
104
+ dsktool -l FID DOS3MASTR.dsk
105
+ dsktool -d fid -o fid.asm DOS3MASTR.dsk
106
+ dsktool -e &quot;COLOR DEMOSOFT&quot; DOS3MASTR.dsk
107
+ dsktool -e HELLO -o HELLO.bas DOS3MASTR.dsk
108
+ dsktool -x DOS3MASTR.dsk
129
109
  </pre>
130
110
 
131
111
  </div>
@@ -151,6 +131,53 @@ following conditions:
151
131
  <div id="section">
152
132
 
153
133
 
134
+ <div id="constants-list">
135
+ <h3 class="section-bar">Constants</h3>
136
+
137
+ <div class="name-list">
138
+ <table summary="Constants">
139
+ <tr class="top-aligned-row context-row">
140
+ <td class="context-item-name">DSKTOOL_VERSION</td>
141
+ <td>=</td>
142
+ <td class="context-item-value">&quot;0.1.1&quot;</td>
143
+ <td width="3em">&nbsp;</td>
144
+ <td class="context-item-desc">
145
+ dsktool
146
+
147
+ <h2>Synopsis</h2>
148
+ <p>
149
+ Manipulate <a href="../../classes/DSK.html">DSK</a> format files
150
+ </p>
151
+ <h2>Usage</h2>
152
+ <p>
153
+ dsktool.rb [switches] &lt;filename.dsk&gt;
154
+ </p>
155
+ <pre>
156
+ -c | --catalog display catalog
157
+ -l | --list FILENAME monitor style listing (disassembles 65C02 opcodes)
158
+ -e | --extract FILENAME extract file by name (either to stdout,
159
+ or file specified by --output)
160
+ -h | --help display this message
161
+ -o | --output FILENAME specify name to save extracted file as
162
+ -x | --explode extract all files
163
+ -v | --version show version number
164
+ </pre>
165
+ <p>
166
+ examples:
167
+ </p>
168
+ <pre>
169
+ dsktool -c DOS3MASTR.dsk
170
+ dsktool -l FID DOS3MASTR.dsk
171
+ dsktool -d fid -o fid.asm DOS3MASTR.dsk
172
+ dsktool -e &quot;COLOR DEMOSOFT&quot; DOS3MASTR.dsk
173
+ dsktool -e HELLO -o HELLO.bas DOS3MASTR.dsk
174
+ dsktool -x DOS3MASTR.dsk
175
+ </pre>
176
+ </td>
177
+ </tr>
178
+ </table>
179
+ </div>
180
+ </div>
154
181
 
155
182
 
156
183
 
@@ -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 11:36:04 AUS Eastern Standard Time 2007</td>
59
+ <td>Sat Jun 16 13:07:38 AUS Eastern Standard Time 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -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 12:27:05 AUS Eastern Standard Time 2007</td>
59
+ <td>Sat Jun 16 12:27:43 AUS Eastern Standard Time 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -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 10:54:05 AUS Eastern Standard Time 2007</td>
59
+ <td>Sat Jun 16 13:04:36 AUS Eastern Standard Time 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -75,14 +75,20 @@
75
75
  <img src="../../dot/f_5.png" usemap="#map" border=0 alt="TopLevel">
76
76
  </div>
77
77
 
78
+ <div id="description">
79
+ <p>
80
+ make sure the relevant folder with our libraries is in the require path
81
+ </p>
82
+
83
+ </div>
78
84
 
79
85
  <div id="requires-list">
80
86
  <h3 class="section-bar">Required files</h3>
81
87
 
82
88
  <div class="name-list">
83
89
  test/unit&nbsp;&nbsp;
84
- ../lib/D65&nbsp;&nbsp;
85
- ../lib/DSK&nbsp;&nbsp;
90
+ <a href="../../classes/D65.html">D65</a>&nbsp;&nbsp;
91
+ <a href="../../classes/DSK.html">DSK</a>&nbsp;&nbsp;
86
92
  </div>
87
93
  </div>
88
94
 
@@ -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 10:54:05 AUS Eastern Standard Time 2007</td>
59
+ <td>Sat Jun 16 13:53:50 AUS Eastern Standard Time 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -75,13 +75,19 @@
75
75
  <img src="../../dot/f_6.png" usemap="#map" border=0 alt="TopLevel">
76
76
  </div>
77
77
 
78
+ <div id="description">
79
+ <p>
80
+ make sure the relevant folder with our libraries is in the require path
81
+ </p>
82
+
83
+ </div>
78
84
 
79
85
  <div id="requires-list">
80
86
  <h3 class="section-bar">Required files</h3>
81
87
 
82
88
  <div class="name-list">
83
89
  test/unit&nbsp;&nbsp;
84
- ../lib/DSK&nbsp;&nbsp;
90
+ <a href="../../classes/DSK.html">DSK</a>&nbsp;&nbsp;
85
91
  </div>
86
92
  </div>
87
93
 
@@ -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 10:54:05 AUS Eastern Standard Time 2007</td>
59
+ <td>Sat Jun 16 12:58:09 AUS Eastern Standard Time 2007</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -27,6 +27,7 @@
27
27
  <a href="classes/DOSFile.html">DOSFile</a><br />
28
28
  <a href="classes/DSK.html">DSK</a><br />
29
29
  <a href="classes/IntegerBasicFile.html">IntegerBasicFile</a><br />
30
+ <a href="classes/RDoc.html">RDoc</a><br />
30
31
  <a href="classes/TestDOSDisks.html">TestDOSDisks</a><br />
31
32
  <a href="classes/TestDisassembly.html">TestDisassembly</a><br />
32
33
  <a href="classes/TextFile.html">TextFile</a><br />
@@ -38,19 +38,20 @@
38
38
  <a href="classes/DSK.html#M000020">files (DSK)</a><br />
39
39
  <a href="classes/DSK.html#M000019">get_sector (DSK)</a><br />
40
40
  <a href="classes/DSK.html#M000016">is_dos33? (DSK)</a><br />
41
- <a href="classes/DOSDisk.html#M000014">new (DOSDisk)</a><br />
42
41
  <a href="classes/DSK.html#M000017">new (DSK)</a><br />
43
42
  <a href="classes/DOSFile.html#M000026">new (DOSFile)</a><br />
43
+ <a href="classes/DOSDisk.html#M000014">new (DOSDisk)</a><br />
44
44
  <a href="classes/DSK.html#M000018">read (DSK)</a><br />
45
45
  <a href="classes/DOSDisk.html#M000015">read_vtoc (DOSDisk)</a><br />
46
46
  <a href="classes/TestDOSDisks.html#M000001">test_bad_dsks (TestDOSDisks)</a><br />
47
47
  <a href="classes/TestDOSDisks.html#M000002">test_empty_dsk (TestDOSDisks)</a><br />
48
48
  <a href="classes/TestDisassembly.html#M000007">test_simple (TestDisassembly)</a><br />
49
49
  <a href="classes/TestDOSDisks.html#M000003">test_simple_dos_dsk (TestDOSDisks)</a><br />
50
+ <a href="classes/AppleSoftFile.html#M000011">to_s (AppleSoftFile)</a><br />
50
51
  <a href="classes/DOSFile.html#M000028">to_s (DOSFile)</a><br />
51
52
  <a href="classes/IntegerBasicFile.html#M000006">to_s (IntegerBasicFile)</a><br />
52
- <a href="classes/AppleSoftFile.html#M000011">to_s (AppleSoftFile)</a><br />
53
53
  <a href="classes/TextFile.html#M000031">to_s (TextFile)</a><br />
54
+ <a href="classes/RDoc.html#M000032">usage_from_file (RDoc)</a><br />
54
55
  </div>
55
56
  </div>
56
57
  </body>
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: dsktool
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.1
6
+ version: 0.1.2
7
7
  date: 2007-06-16 00:00:00 +10:00
8
8
  summary: a command line tool + libraries for manipulating DSK format images as used by Apple 2 emulators
9
9
  require_paths:
@@ -51,6 +51,8 @@ files:
51
51
  - doc/classes/DSK.src
52
52
  - doc/classes/IntegerBasicFile.html
53
53
  - doc/classes/IntegerBasicFile.src
54
+ - doc/classes/RDoc.html
55
+ - doc/classes/RDoc.src
54
56
  - doc/classes/TestDisassembly.html
55
57
  - doc/classes/TestDisassembly.src
56
58
  - doc/classes/TestDOSDisks.html
@@ -116,6 +118,7 @@ files:
116
118
  - doc/classes/IntegerBasicFile.src/M000004.html
117
119
  - doc/classes/IntegerBasicFile.src/M000005.html
118
120
  - doc/classes/IntegerBasicFile.src/M000006.html
121
+ - doc/classes/RDoc.src/M000032.html
119
122
  - doc/classes/TestDisassembly.src/M000005.html
120
123
  - doc/classes/TestDisassembly.src/M000006.html
121
124
  - doc/classes/TestDisassembly.src/M000007.html
@@ -147,6 +150,8 @@ files:
147
150
  - doc/dot/f_6.png
148
151
  - doc/dot/f_7.dot
149
152
  - doc/dot/f_7.png
153
+ - doc/dot/m_0_0.dot
154
+ - doc/dot/m_0_0.png
150
155
  - doc/files/bin
151
156
  - doc/files/lib
152
157
  - doc/files/test