dsktool 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/bin/dsktool.rb +157 -0
  2. data/doc/classes/AppleSoftFile.html +215 -0
  3. data/doc/classes/AppleSoftFile.src/M000005.html +18 -0
  4. data/doc/classes/AppleSoftFile.src/M000006.html +18 -0
  5. data/doc/classes/AppleSoftFile.src/M000008.html +18 -0
  6. data/doc/classes/AppleSoftFile.src/M000009.html +18 -0
  7. data/doc/classes/AppleSoftFile.src/M000010.html +18 -0
  8. data/doc/classes/AppleSoftFile.src/M000011.html +18 -0
  9. data/doc/classes/AppleSoftFile.src/M000012.html +18 -0
  10. data/doc/classes/BinaryFile.html +179 -0
  11. data/doc/classes/BinaryFile.src/M000015.html +18 -0
  12. data/doc/classes/BinaryFile.src/M000020.html +18 -0
  13. data/doc/classes/BinaryFile.src/M000021.html +18 -0
  14. data/doc/classes/BinaryFile.src/M000022.html +19 -0
  15. data/doc/classes/BinaryFile.src/M000023.html +18 -0
  16. data/doc/classes/BinaryFile.src/M000024.html +18 -0
  17. data/doc/classes/BinaryFile.src/M000025.html +19 -0
  18. data/doc/classes/D65.html +180 -0
  19. data/doc/classes/D65.src/M000002.html +18 -0
  20. data/doc/classes/D65.src/M000003.html +18 -0
  21. data/doc/classes/D65.src/M000004.html +64 -0
  22. data/doc/classes/D65.src/M000005.html +18 -0
  23. data/doc/classes/D65.src/M000006.html +18 -0
  24. data/doc/classes/D65.src/M000007.html +18 -0
  25. data/doc/classes/D65.src/M000008.html +18 -0
  26. data/doc/classes/D65.src/M000009.html +64 -0
  27. data/doc/classes/DOSDisk.html +272 -0
  28. data/doc/classes/DOSDisk.src/M000007.html +20 -0
  29. data/doc/classes/DOSDisk.src/M000008.html +77 -0
  30. data/doc/classes/DOSDisk.src/M000010.html +20 -0
  31. data/doc/classes/DOSDisk.src/M000011.html +20 -0
  32. data/doc/classes/DOSDisk.src/M000012.html +19 -0
  33. data/doc/classes/DOSDisk.src/M000013.html +20 -0
  34. data/doc/classes/DOSDisk.src/M000014.html +19 -0
  35. data/doc/classes/DOSDisk.src/M000015.html +76 -0
  36. data/doc/classes/DOSFile.html +221 -0
  37. data/doc/classes/DOSFile.src/M000016.html +22 -0
  38. data/doc/classes/DOSFile.src/M000017.html +17 -0
  39. data/doc/classes/DOSFile.src/M000018.html +18 -0
  40. data/doc/classes/DOSFile.src/M000021.html +22 -0
  41. data/doc/classes/DOSFile.src/M000022.html +22 -0
  42. data/doc/classes/DOSFile.src/M000023.html +22 -0
  43. data/doc/classes/DOSFile.src/M000024.html +17 -0
  44. data/doc/classes/DOSFile.src/M000025.html +18 -0
  45. data/doc/classes/DOSFile.src/M000026.html +22 -0
  46. data/doc/classes/DOSFile.src/M000027.html +17 -0
  47. data/doc/classes/DOSFile.src/M000028.html +18 -0
  48. data/doc/classes/DSK.html +285 -0
  49. data/doc/classes/DSK.src/M000009.html +22 -0
  50. data/doc/classes/DSK.src/M000010.html +27 -0
  51. data/doc/classes/DSK.src/M000011.html +19 -0
  52. data/doc/classes/DSK.src/M000012.html +18 -0
  53. data/doc/classes/DSK.src/M000013.html +22 -0
  54. data/doc/classes/DSK.src/M000014.html +22 -0
  55. data/doc/classes/DSK.src/M000015.html +22 -0
  56. data/doc/classes/DSK.src/M000016.html +22 -0
  57. data/doc/classes/DSK.src/M000017.html +22 -0
  58. data/doc/classes/DSK.src/M000018.html +27 -0
  59. data/doc/classes/DSK.src/M000019.html +19 -0
  60. data/doc/classes/DSK.src/M000020.html +18 -0
  61. data/doc/classes/DSK.src/M000021.html +40 -0
  62. data/doc/classes/DSK.src/M000022.html +23 -0
  63. data/doc/classes/IntegerBasicFile.html +276 -0
  64. data/doc/classes/IntegerBasicFile.src/M000001.html +18 -0
  65. data/doc/classes/IntegerBasicFile.src/M000004.html +18 -0
  66. data/doc/classes/IntegerBasicFile.src/M000005.html +18 -0
  67. data/doc/classes/IntegerBasicFile.src/M000006.html +18 -0
  68. data/doc/classes/TestDOSDisks.html +174 -0
  69. data/doc/classes/TestDOSDisks.src/M000001.html +19 -0
  70. data/doc/classes/TestDOSDisks.src/M000002.html +19 -0
  71. data/doc/classes/TestDOSDisks.src/M000003.html +43 -0
  72. data/doc/classes/TestDisassembly.html +144 -0
  73. data/doc/classes/TestDisassembly.src/M000005.html +19 -0
  74. data/doc/classes/TestDisassembly.src/M000006.html +19 -0
  75. data/doc/classes/TestDisassembly.src/M000007.html +19 -0
  76. data/doc/classes/TextFile.html +179 -0
  77. data/doc/classes/TextFile.src/M000019.html +18 -0
  78. data/doc/classes/TextFile.src/M000020.html +20 -0
  79. data/doc/classes/TextFile.src/M000024.html +18 -0
  80. data/doc/classes/TextFile.src/M000025.html +18 -0
  81. data/doc/classes/TextFile.src/M000026.html +18 -0
  82. data/doc/classes/TextFile.src/M000027.html +20 -0
  83. data/doc/classes/TextFile.src/M000029.html +18 -0
  84. data/doc/classes/TextFile.src/M000030.html +18 -0
  85. data/doc/classes/TextFile.src/M000031.html +20 -0
  86. data/doc/created.rid +1 -0
  87. data/doc/dot/f_0.dot +14 -0
  88. data/doc/dot/f_0.png +0 -0
  89. data/doc/dot/f_1.dot +23 -0
  90. data/doc/dot/f_1.png +0 -0
  91. data/doc/dot/f_2.dot +32 -0
  92. data/doc/dot/f_2.png +0 -0
  93. data/doc/dot/f_3.dot +75 -0
  94. data/doc/dot/f_3.png +0 -0
  95. data/doc/dot/f_4.dot +23 -0
  96. data/doc/dot/f_4.png +0 -0
  97. data/doc/dot/f_5.dot +32 -0
  98. data/doc/dot/f_5.png +0 -0
  99. data/doc/dot/f_6.dot +32 -0
  100. data/doc/dot/f_6.png +0 -0
  101. data/doc/dot/f_7.dot +14 -0
  102. data/doc/dot/f_7.png +0 -0
  103. data/doc/files/bin/dsktool_rb.html +171 -0
  104. data/doc/files/lib/D65_rb.html +114 -0
  105. data/doc/files/lib/DOSDisk_rb.html +115 -0
  106. data/doc/files/lib/DOSFile_rb.html +118 -0
  107. data/doc/files/lib/DSK_rb.html +114 -0
  108. data/doc/files/test/tc_disassembly_rb.html +117 -0
  109. data/doc/files/test/tc_dos_disks_rb.html +116 -0
  110. data/doc/files/test/test_dos_disks_rb.html +109 -0
  111. data/doc/files/test/ts_test_all_rb.html +114 -0
  112. data/doc/fr_class_index.html +36 -0
  113. data/doc/fr_file_index.html +34 -0
  114. data/doc/fr_method_index.html +57 -0
  115. data/doc/index.html +24 -0
  116. data/lib/D65.rb +178 -0
  117. data/lib/DOSDisk.rb +186 -0
  118. data/lib/DOSFile.rb +356 -0
  119. data/lib/DSK.rb +121 -0
  120. data/lib/a2_symbols.yaml +199 -0
  121. data/test/dos33_with_adt.dsk +0 -0
  122. data/test/tc_disassembly.rb +16 -0
  123. data/test/tc_dos_disks.rb +49 -0
  124. data/test/ts_test_all.rb +5 -0
  125. metadata +184 -0
@@ -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>is_dos33? (DSK)</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 lib/DSK.rb, line 10</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_dos33?</span>
15
+ <span class="ruby-comment cmt"># VTOC is at offset 0x11000</span>
16
+ <span class="ruby-comment cmt"># bytes 1/2/3 are a track number, sector number and DOS version number</span>
17
+ <span class="ruby-comment cmt"># see if these are reasonable values</span>
18
+
19
+ (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11001</span>]<span class="ruby-operator">&lt;=</span><span class="ruby-value">34</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11002</span>]<span class="ruby-operator">&lt;=</span><span class="ruby-value">15</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11003</span>]<span class="ruby-operator">==</span><span class="ruby-value">3</span>)
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </html>
@@ -0,0 +1,27 @@
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>new (DSK)</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 lib/DSK.rb, line 20</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">filename</span>)
15
+ <span class="ruby-ivar">@file_bytes</span>=<span class="ruby-constant">File</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">filename</span>,<span class="ruby-value str">&quot;rb&quot;</span>).<span class="ruby-identifier">read</span>
16
+ <span class="ruby-keyword kw">if</span> (<span class="ruby-ivar">@file_bytes</span>.<span class="ruby-identifier">length!</span>=<span class="ruby-value">143360</span>) <span class="ruby-keyword kw">then</span>
17
+ <span class="ruby-identifier">abort</span>(<span class="ruby-node">&quot;#{filename} is not a valid DSK format file&quot;</span>)
18
+ <span class="ruby-keyword kw">end</span>
19
+
20
+ <span class="ruby-ivar">@files</span>=[]
21
+ <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">is_dos33?</span>)
22
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">extend</span> <span class="ruby-constant">DOSDisk</span>
23
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">read_catalog</span>
24
+ <span class="ruby-keyword kw">end</span>
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </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>get_sector (DSK)</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 lib/DSK.rb, line 33</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_sector</span>(<span class="ruby-identifier">track</span>,<span class="ruby-identifier">sector</span>)
15
+ <span class="ruby-identifier">start_byte</span>=<span class="ruby-identifier">track</span><span class="ruby-operator">*</span><span class="ruby-value">16</span><span class="ruby-operator">*</span><span class="ruby-value">256</span><span class="ruby-operator">+</span><span class="ruby-identifier">sector</span><span class="ruby-operator">*</span><span class="ruby-value">256</span>
16
+ <span class="ruby-ivar">@file_bytes</span>[<span class="ruby-identifier">start_byte</span><span class="ruby-operator">..</span><span class="ruby-identifier">start_byte</span><span class="ruby-operator">+</span><span class="ruby-value">255</span>]
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,18 @@
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>files (DSK)</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 lib/DSK.rb, line 38</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">files</span>
15
+ <span class="ruby-ivar">@files</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </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>is_dos33? (DSK)</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 lib/DSK.rb, line 13</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_dos33?</span>
15
+ <span class="ruby-comment cmt"># VTOC is at offset 0x11000</span>
16
+ <span class="ruby-comment cmt"># bytes 1/2/3 are a track number, sector number and DOS version number</span>
17
+ <span class="ruby-comment cmt"># see if these are reasonable values</span>
18
+
19
+ (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11001</span>]<span class="ruby-operator">&lt;=</span><span class="ruby-value">34</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11002</span>]<span class="ruby-operator">&lt;=</span><span class="ruby-value">15</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11003</span>]<span class="ruby-operator">==</span><span class="ruby-value">3</span>)
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </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>is_dos33? (DSK)</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 lib/DSK.rb, line 13</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_dos33?</span>
15
+ <span class="ruby-comment cmt"># VTOC is at offset 0x11000</span>
16
+ <span class="ruby-comment cmt"># bytes 1/2/3 are a track number, sector number and DOS version number</span>
17
+ <span class="ruby-comment cmt"># see if these are reasonable values</span>
18
+
19
+ (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11001</span>]<span class="ruby-operator">&lt;=</span><span class="ruby-value">34</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11002</span>]<span class="ruby-operator">&lt;=</span><span class="ruby-value">15</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11003</span>]<span class="ruby-operator">==</span><span class="ruby-value">3</span>)
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </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>new (DSK)</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 lib/DSK.rb, line 22</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">file_bytes</span>=<span class="ruby-value str">&quot;\0&quot;</span><span class="ruby-operator">*</span><span class="ruby-constant">DSK_FILE_LENGTH</span>)
15
+ <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">file_bytes</span>.<span class="ruby-identifier">length!</span>=<span class="ruby-constant">DSK_FILE_LENGTH</span>) <span class="ruby-keyword kw">then</span>
16
+ <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;DSK files must be #{DSK_FILE_LENGTH} bytes long (was #{file_bytes.length} bytes)&quot;</span>
17
+ <span class="ruby-keyword kw">end</span>
18
+ <span class="ruby-ivar">@file_bytes</span>=<span class="ruby-identifier">file_bytes</span>
19
+ <span class="ruby-ivar">@files</span>={}
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </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>is_dos33? (DSK)</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 lib/DSK.rb, line 13</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_dos33?</span>
15
+ <span class="ruby-comment cmt"># VTOC is at offset 0x11000</span>
16
+ <span class="ruby-comment cmt"># bytes 1/2/3 are a track number, sector number and DOS version number</span>
17
+ <span class="ruby-comment cmt"># see if these are reasonable values</span>
18
+
19
+ (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11001</span>]<span class="ruby-operator">&lt;=</span><span class="ruby-value">34</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11002</span>]<span class="ruby-operator">&lt;=</span><span class="ruby-value">15</span>) <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-value">0x11003</span>]<span class="ruby-operator">==</span><span class="ruby-value">3</span>)
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </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>new (DSK)</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 lib/DSK.rb, line 22</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">file_bytes</span>=<span class="ruby-value str">&quot;\0&quot;</span><span class="ruby-operator">*</span><span class="ruby-constant">DSK_FILE_LENGTH</span>)
15
+ <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">file_bytes</span>.<span class="ruby-identifier">length!</span>=<span class="ruby-constant">DSK_FILE_LENGTH</span>) <span class="ruby-keyword kw">then</span>
16
+ <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;DSK files must be #{DSK_FILE_LENGTH} bytes long (was #{file_bytes.length} bytes)&quot;</span>
17
+ <span class="ruby-keyword kw">end</span>
18
+ <span class="ruby-ivar">@file_bytes</span>=<span class="ruby-identifier">file_bytes</span>
19
+ <span class="ruby-ivar">@files</span>={}
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </html>
@@ -0,0 +1,27 @@
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>read (DSK)</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 lib/DSK.rb, line 31</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">DSK</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">filename</span>)
15
+ <span class="ruby-identifier">file_bytes</span>=<span class="ruby-constant">File</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">filename</span>,<span class="ruby-value str">&quot;rb&quot;</span>).<span class="ruby-identifier">read</span>
16
+ <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">file_bytes</span>.<span class="ruby-identifier">length!</span>=<span class="ruby-constant">DSK_FILE_LENGTH</span>) <span class="ruby-keyword kw">then</span>
17
+ <span class="ruby-identifier">abort</span>(<span class="ruby-node">&quot;#{filename} is not a valid DSK format file&quot;</span>)
18
+ <span class="ruby-keyword kw">end</span>
19
+ <span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DSK</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_bytes</span>)
20
+ <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">dsk</span>.<span class="ruby-identifier">is_dos33?</span>)
21
+ <span class="ruby-identifier">require</span> <span class="ruby-value str">'DOSDisk'</span>
22
+ <span class="ruby-identifier">dsk</span>=<span class="ruby-constant">DOSDisk</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_bytes</span>)
23
+ <span class="ruby-keyword kw">end</span>
24
+ <span class="ruby-identifier">dsk</span>
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </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>get_sector (DSK)</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 lib/DSK.rb, line 44</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_sector</span>(<span class="ruby-identifier">track</span>,<span class="ruby-identifier">sector</span>)
15
+ <span class="ruby-identifier">start_byte</span>=<span class="ruby-identifier">track</span><span class="ruby-operator">*</span><span class="ruby-value">16</span><span class="ruby-operator">*</span><span class="ruby-value">256</span><span class="ruby-operator">+</span><span class="ruby-identifier">sector</span><span class="ruby-operator">*</span><span class="ruby-value">256</span>
16
+ <span class="ruby-ivar">@file_bytes</span>[<span class="ruby-identifier">start_byte</span><span class="ruby-operator">..</span><span class="ruby-identifier">start_byte</span><span class="ruby-operator">+</span><span class="ruby-value">255</span>]
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,18 @@
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>files (DSK)</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 lib/DSK.rb, line 49</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">files</span>
15
+ <span class="ruby-ivar">@files</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </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>dump_sector (DSK)</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 lib/DSK.rb, line 54</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dump_sector</span>(<span class="ruby-identifier">track</span>,<span class="ruby-identifier">sector</span>)
15
+
16
+ <span class="ruby-identifier">start_byte</span>=<span class="ruby-identifier">track</span><span class="ruby-operator">*</span><span class="ruby-value">16</span><span class="ruby-operator">*</span><span class="ruby-value">256</span><span class="ruby-operator">+</span><span class="ruby-identifier">sector</span><span class="ruby-operator">*</span><span class="ruby-value">256</span>
17
+ <span class="ruby-identifier">s</span>=<span class="ruby-ivar">@file_bytes</span>[<span class="ruby-identifier">start_byte</span><span class="ruby-operator">..</span><span class="ruby-identifier">start_byte</span><span class="ruby-operator">+</span><span class="ruby-value">255</span>]
18
+
19
+ <span class="ruby-identifier">print_hline</span>
20
+ <span class="ruby-identifier">printf</span>(<span class="ruby-value str">&quot;TRACK: $%02X SECTOR $%02X\ OFFSET $%04X\n&quot;</span>,<span class="ruby-identifier">track</span>,<span class="ruby-identifier">sector</span>,<span class="ruby-identifier">start_byte</span>)
21
+ <span class="ruby-identifier">printf</span> <span class="ruby-value str">&quot;\t&quot;</span>
22
+
23
+ (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">15</span>).<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">printf</span>(<span class="ruby-value str">&quot;%02X &quot;</span>,<span class="ruby-identifier">x</span>) }
24
+ <span class="ruby-identifier">puts</span>
25
+ <span class="ruby-identifier">print_hline</span>
26
+ (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">15</span>).<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">line_number</span><span class="ruby-operator">|</span>
27
+ <span class="ruby-identifier">lhs</span>=<span class="ruby-value str">&quot;&quot;</span>
28
+ <span class="ruby-identifier">rhs</span>=<span class="ruby-value str">&quot;&quot;</span>
29
+ <span class="ruby-identifier">start_byte</span>=<span class="ruby-identifier">line_number</span><span class="ruby-operator">*</span><span class="ruby-value">16</span>
30
+ <span class="ruby-identifier">line</span>=<span class="ruby-identifier">s</span>[<span class="ruby-identifier">start_byte</span><span class="ruby-operator">..</span><span class="ruby-identifier">start_byte</span><span class="ruby-operator">+</span><span class="ruby-value">15</span>]
31
+ <span class="ruby-identifier">line</span>.<span class="ruby-identifier">each_byte</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">byte</span><span class="ruby-operator">|</span>
32
+ <span class="ruby-identifier">lhs</span><span class="ruby-operator">+=</span> <span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%02X &quot;</span>, <span class="ruby-identifier">byte</span>)
33
+ <span class="ruby-identifier">rhs</span><span class="ruby-operator">+=</span> (<span class="ruby-identifier">byte</span><span class="ruby-operator">%</span><span class="ruby-value">128</span>).<span class="ruby-identifier">chr</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/[\x00-\x1f]/</span>,<span class="ruby-value str">'.'</span>)
34
+ }
35
+ <span class="ruby-identifier">printf</span>(<span class="ruby-value str">&quot;%02X\t%s %s\n&quot;</span>,<span class="ruby-identifier">start_byte</span>,<span class="ruby-identifier">lhs</span>,<span class="ruby-identifier">rhs</span>)
36
+ }
37
+
38
+ <span class="ruby-keyword kw">end</span></pre>
39
+ </body>
40
+ </html>
@@ -0,0 +1,23 @@
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>dump_disk (DSK)</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 lib/DSK.rb, line 81</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dump_disk</span>
15
+
16
+ (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">34</span>).<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">track</span><span class="ruby-operator">|</span>
17
+ (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">15</span>).<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">sector</span><span class="ruby-operator">|</span>
18
+ <span class="ruby-identifier">dump_sector</span>(<span class="ruby-identifier">track</span>,<span class="ruby-identifier">sector</span>)
19
+ }
20
+ }
21
+ <span class="ruby-keyword kw">end</span></pre>
22
+ </body>
23
+ </html>
@@ -0,0 +1,276 @@
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>Class: IntegerBasicFile</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>Class</strong></td>
53
+ <td class="class-name-in-header">IntegerBasicFile</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/DOSFile_rb.html">
59
+ lib/DOSFile.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ <a href="DOSFile.html">
69
+ DOSFile
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+ <div id="diagram">
83
+ <map id="map" name="map">
84
+ <area shape="RECT" coords="5,101,109,149" href="IntegerBasicFile.html" alt="IntegerBasicFile">
85
+ <area shape="RECT" coords="133,101,227,149" href="AppleSoftFile.html" alt="AppleSoftFile">
86
+ <area shape="RECT" coords="251,101,325,149" href="BinaryFile.html" alt="BinaryFile">
87
+ <area shape="RECT" coords="197,5,269,53" href="DOSFile.html" alt="DOSFile">
88
+ <area shape="RECT" coords="349,101,421,149" href="TextFile.html" alt="TextFile">
89
+ </map>
90
+ <img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel">
91
+ </div>
92
+
93
+ <div id="description">
94
+ <pre>
95
+ Adapted from FID.C -- a utility to browse Apple II .DSK image files by Paul Schlyter (pausch@saaf.se)
96
+ </pre>
97
+ <p>
98
+ Integer Basic file format:
99
+ </p>
100
+ <pre>
101
+ &lt;Length_of_file&gt; (16-bit little endian)
102
+ &lt;Line&gt;
103
+ ......
104
+ &lt;Line&gt;
105
+
106
+ where &lt;Line&gt; is:
107
+ 1 byte: Line length
108
+ 2 bytes: Line number, binary little endian
109
+ &lt;token&gt;
110
+ &lt;token&gt;
111
+ &lt;token&gt;
112
+ ......
113
+ &lt;end-of-line token&gt;
114
+
115
+ &lt;token&gt; is one of:
116
+ $12 - $7F: Tokens as listed below: 1 byte/token
117
+ $80 - $FF: ASCII characters with high bit set
118
+ $B0 - $B9: Integer constant, 3 bytes: $B0-$B9,
119
+ followed by the integer value in
120
+ 2-byte binary little-endian format
121
+ (Note: a $B0-$B9 byte preceded by an
122
+ alphanumeric ASCII(hi_bit_set) byte
123
+ is not the start of an integer
124
+ constant, but instead part of a
125
+ variable name)
126
+
127
+ &lt;end-of-line token&gt; is:
128
+ $01: One byte having the value $01
129
+ (Note: a $01 byte may also appear
130
+ inside an integer constant)
131
+
132
+ Note that the tokens $02 to $11 represent commands which
133
+ can be executed as direct commands only -- any attempt to
134
+ enter then into an Integer Basic program will be rejected
135
+ as a syntax error. Therefore, no Integer Basic program
136
+ which was entered through the Integer Basic interpreter
137
+ will contain any of the tokens $02 to $11. The token $00
138
+ appears to be unused and won't appear in Integer Basic
139
+ programs either. However, $00 is used as an end-of-line
140
+ marker in S-C Assembler source files, which also are of
141
+ DOS file type &quot;I&quot;.
142
+
143
+ (note here a difference from Applesoft Basic, where there
144
+ are no &quot;direct mode only&quot; commands - any Applesoft commands
145
+ can be entered into an Applesoft program as well).
146
+ </pre>
147
+
148
+ </div>
149
+
150
+
151
+ </div>
152
+
153
+ <div id="method-list">
154
+ <h3 class="section-bar">Methods</h3>
155
+
156
+ <div class="name-list">
157
+ <a href="#M000005">file_extension</a>&nbsp;&nbsp;
158
+ <a href="#M000004">file_type</a>&nbsp;&nbsp;
159
+ <a href="#M000006">to_s</a>&nbsp;&nbsp;
160
+ </div>
161
+ </div>
162
+
163
+ </div>
164
+
165
+
166
+ <!-- if includes -->
167
+
168
+ <div id="section">
169
+
170
+
171
+ <div id="constants-list">
172
+ <h3 class="section-bar">Constants</h3>
173
+
174
+ <div class="name-list">
175
+ <table summary="Constants">
176
+ <tr class="top-aligned-row context-row">
177
+ <td class="context-item-name">IB_REM_TOKEN</td>
178
+ <td>=</td>
179
+ <td class="context-item-value">0x5D</td>
180
+ </tr>
181
+ <tr class="top-aligned-row context-row">
182
+ <td class="context-item-name">IB_UNARY_PLUS</td>
183
+ <td>=</td>
184
+ <td class="context-item-value">0x35</td>
185
+ </tr>
186
+ <tr class="top-aligned-row context-row">
187
+ <td class="context-item-name">IB_UNARY_MINUS</td>
188
+ <td>=</td>
189
+ <td class="context-item-value">0x36</td>
190
+ </tr>
191
+ <tr class="top-aligned-row context-row">
192
+ <td class="context-item-name">IB_QUOTE_START</td>
193
+ <td>=</td>
194
+ <td class="context-item-value">0x28</td>
195
+ </tr>
196
+ <tr class="top-aligned-row context-row">
197
+ <td class="context-item-name">IB_QUOTE_END</td>
198
+ <td>=</td>
199
+ <td class="context-item-value">0x29</td>
200
+ </tr>
201
+ <tr class="top-aligned-row context-row">
202
+ <td class="context-item-name">INTEGER_BASIC_TOKENS</td>
203
+ <td>=</td>
204
+ <td class="context-item-value">[ # $00-$0F &quot;HIMEM:&quot;,&quot;&lt;$01&gt;&quot;, &quot;_&quot;, &quot; : &quot;, &quot;LOAD&quot;, &quot;SAVE&quot;, &quot;CON&quot;, &quot;RUN&quot;, # Direct commands &quot;RUN&quot;, &quot;DEL&quot;, &quot;,&quot;, &quot;NEW&quot;, &quot;CLR&quot;, &quot;AUTO&quot;, &quot;,&quot;, &quot;MAN&quot;, # $10-$1F &quot;HIMEM:&quot;,&quot;LOMEM:&quot;,&quot;+&quot;, &quot;-&quot;, # Binary ops &quot;*&quot;, &quot;/&quot;, &quot;=&quot;, &quot;#&quot;, &quot;&gt;=&quot;, &quot;&gt;&quot;, &quot;&lt;=&quot;, &quot;&lt;&gt;&quot;, &quot;&lt;&quot;, &quot;AND&quot;, &quot;OR&quot;, &quot;MOD&quot;, # $20-$2F &quot;^&quot;, &quot;+&quot;, &quot;(&quot;, &quot;,&quot;, &quot;THEN&quot;, &quot;THEN&quot;, &quot;,&quot;, &quot;,&quot;, &quot;\&quot;&quot;, &quot;\&quot;&quot;, &quot;(&quot;, &quot;!&quot;, &quot;!&quot;, &quot;(&quot;, &quot;PEEK&quot;, &quot;RND&quot;, # $30-$3F &quot;SGN&quot;, &quot;ABS&quot;, &quot;PDL&quot;, &quot;RNDX&quot;, &quot;(&quot;, &quot;+&quot;, &quot;-&quot;, &quot;NOT&quot;, # Unary ops &quot;(&quot;, &quot;=&quot;, &quot;#&quot;, &quot;LEN(&quot;, &quot;ASC(&quot;, &quot;SCRN(&quot;, &quot;,&quot;, &quot;(&quot;, # $40-$4F &quot;$&quot;, &quot;$&quot;, &quot;(&quot;, &quot;,&quot;, &quot;,&quot;, &quot;;&quot;, &quot;;&quot;, &quot;;&quot;, &quot;,&quot;, &quot;,&quot;, &quot;,&quot;, &quot;TEXT&quot;, # Statements &quot;GR&quot;, &quot;CALL&quot;, &quot;DIM&quot;, &quot;DIM&quot;, # $50-$5F &quot;TAB&quot;, &quot;END&quot;, &quot;INPUT&quot;, &quot;INPUT&quot;, &quot;INPUT&quot;, &quot;FOR&quot;, &quot;=&quot;, &quot;TO&quot;, &quot;STEP&quot;, &quot;NEXT&quot;, &quot;,&quot;, &quot;RETURN&quot;, &quot;GOSUB&quot;, &quot;REM&quot;, &quot;LET&quot;, &quot;GOTO&quot;, # $60-$6F &quot;IF&quot;, &quot;PRINT&quot;, &quot;PRINT&quot;, &quot;PRINT&quot;, &quot;POKE&quot;, &quot;,&quot;, &quot;COLOR=&quot;,&quot;PLOT&quot;, &quot;,&quot;, &quot;HLIN&quot;, &quot;,&quot;, &quot;AT&quot;, &quot;VLIN&quot;, &quot;,&quot;, &quot;AT&quot;, &quot;VTAB&quot;, # $70-$7F &quot;=&quot;, &quot;=&quot;, &quot;)&quot;, &quot;)&quot;, &quot;LIST&quot;, &quot;,&quot;, &quot;LIST&quot;, &quot;POP&quot;, &quot;NODSP&quot;, &quot;DSP&quot;, &quot;NOTRACE&quot;,&quot;DSP&quot;, &quot;DSP&quot;, &quot;TRACE&quot;, &quot;PR#&quot;, &quot;IN#&quot;, ]</td>
205
+ </tr>
206
+ </table>
207
+ </div>
208
+ </div>
209
+
210
+
211
+
212
+
213
+
214
+
215
+ <!-- if method_list -->
216
+ <div id="methods">
217
+ <h3 class="section-bar">Public Instance methods</h3>
218
+
219
+ <div id="method-M000005" class="method-detail">
220
+ <a name="M000005"></a>
221
+
222
+ <div class="method-heading">
223
+ <a href="IntegerBasicFile.src/M000005.html" target="Code" class="method-signature"
224
+ onclick="popupCode('IntegerBasicFile.src/M000005.html');return false;">
225
+ <span class="method-name">file_extension</span><span class="method-args">()</span>
226
+ </a>
227
+ </div>
228
+
229
+ <div class="method-description">
230
+ </div>
231
+ </div>
232
+
233
+ <div id="method-M000004" class="method-detail">
234
+ <a name="M000004"></a>
235
+
236
+ <div class="method-heading">
237
+ <a href="IntegerBasicFile.src/M000004.html" target="Code" class="method-signature"
238
+ onclick="popupCode('IntegerBasicFile.src/M000004.html');return false;">
239
+ <span class="method-name">file_type</span><span class="method-args">()</span>
240
+ </a>
241
+ </div>
242
+
243
+ <div class="method-description">
244
+ </div>
245
+ </div>
246
+
247
+ <div id="method-M000006" class="method-detail">
248
+ <a name="M000006"></a>
249
+
250
+ <div class="method-heading">
251
+ <a href="IntegerBasicFile.src/M000006.html" target="Code" class="method-signature"
252
+ onclick="popupCode('IntegerBasicFile.src/M000006.html');return false;">
253
+ <span class="method-name">to_s</span><span class="method-args">()</span>
254
+ </a>
255
+ </div>
256
+
257
+ <div class="method-description">
258
+ <p>
259
+ display file with all INTEGER BASIC tokens expanded to ASCII
260
+ </p>
261
+ </div>
262
+ </div>
263
+
264
+
265
+ </div>
266
+
267
+
268
+ </div>
269
+
270
+
271
+ <div id="validator-badges">
272
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
273
+ </div>
274
+
275
+ </body>
276
+ </html>