dsktool 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (395) hide show
  1. data/bin/dskexplorer.rb +1 -1
  2. data/bin/dsktool.rb +5 -4
  3. data/lib/DSK.rb +2 -2
  4. data/test/dos_write_test.dsk +0 -0
  5. data/test/nadol2.po +0 -0
  6. data/test/tc_prodos_disks.rb +3 -3
  7. metadata +4 -431
  8. data/doc/classes/AppleSoftFile.html +0 -254
  9. data/doc/classes/AppleSoftFile.src/M000113.html +0 -18
  10. data/doc/classes/AppleSoftFile.src/M000114.html +0 -18
  11. data/doc/classes/AppleSoftFile.src/M000115.html +0 -18
  12. data/doc/classes/AppleSoftFile.src/M000116.html +0 -18
  13. data/doc/classes/AppleSoftFile.src/M000117.html +0 -18
  14. data/doc/classes/AppleSoftFile.src/M000118.html +0 -18
  15. data/doc/classes/AppleSoftFile.src/M000119.html +0 -18
  16. data/doc/classes/AppleSoftFile.src/M000120.html +0 -18
  17. data/doc/classes/BinaryFile.html +0 -338
  18. data/doc/classes/BinaryFile.src/M000218.html +0 -18
  19. data/doc/classes/BinaryFile.src/M000219.html +0 -18
  20. data/doc/classes/BinaryFile.src/M000220.html +0 -18
  21. data/doc/classes/BinaryFile.src/M000221.html +0 -19
  22. data/doc/classes/BinaryFile.src/M000222.html +0 -19
  23. data/doc/classes/BinaryFile.src/M000223.html +0 -19
  24. data/doc/classes/BinaryFile.src/M000224.html +0 -18
  25. data/doc/classes/BinaryFile.src/M000225.html +0 -18
  26. data/doc/classes/BinaryFile.src/M000226.html +0 -18
  27. data/doc/classes/BinaryFile.src/M000227.html +0 -18
  28. data/doc/classes/BinaryFile.src/M000228.html +0 -19
  29. data/doc/classes/BinaryFile.src/M000229.html +0 -19
  30. data/doc/classes/BinaryFile.src/M000230.html +0 -19
  31. data/doc/classes/BinaryFile.src/M000231.html +0 -18
  32. data/doc/classes/CatalogServlet.html +0 -137
  33. data/doc/classes/CatalogServlet.src/M000064.html +0 -20
  34. data/doc/classes/D65.html +0 -222
  35. data/doc/classes/D65.src/M000099.html +0 -18
  36. data/doc/classes/D65.src/M000100.html +0 -64
  37. data/doc/classes/D65.src/M000101.html +0 -18
  38. data/doc/classes/D65.src/M000102.html +0 -64
  39. data/doc/classes/DOSDisk.html +0 -540
  40. data/doc/classes/DOSDisk.src/M000127.html +0 -23
  41. data/doc/classes/DOSDisk.src/M000128.html +0 -18
  42. data/doc/classes/DOSDisk.src/M000129.html +0 -19
  43. data/doc/classes/DOSDisk.src/M000130.html +0 -37
  44. data/doc/classes/DOSDisk.src/M000131.html +0 -85
  45. data/doc/classes/DOSDisk.src/M000132.html +0 -37
  46. data/doc/classes/DOSDisk.src/M000133.html +0 -34
  47. data/doc/classes/DOSDisk.src/M000134.html +0 -27
  48. data/doc/classes/DOSDisk.src/M000135.html +0 -43
  49. data/doc/classes/DOSDisk.src/M000136.html +0 -31
  50. data/doc/classes/DOSDisk.src/M000137.html +0 -95
  51. data/doc/classes/DOSDisk.src/M000138.html +0 -23
  52. data/doc/classes/DOSDisk.src/M000139.html +0 -18
  53. data/doc/classes/DOSDisk.src/M000140.html +0 -19
  54. data/doc/classes/DOSDisk.src/M000141.html +0 -22
  55. data/doc/classes/DOSDisk.src/M000142.html +0 -85
  56. data/doc/classes/DOSDisk.src/M000143.html +0 -37
  57. data/doc/classes/DOSDisk.src/M000144.html +0 -34
  58. data/doc/classes/DOSDisk.src/M000145.html +0 -92
  59. data/doc/classes/DOSFile.html +0 -336
  60. data/doc/classes/DOSFile.src/M000251.html +0 -22
  61. data/doc/classes/DOSFile.src/M000252.html +0 -18
  62. data/doc/classes/DOSFile.src/M000253.html +0 -18
  63. data/doc/classes/DOSFile.src/M000254.html +0 -28
  64. data/doc/classes/DOSFile.src/M000255.html +0 -18
  65. data/doc/classes/DOSFile.src/M000256.html +0 -22
  66. data/doc/classes/DOSFile.src/M000257.html +0 -18
  67. data/doc/classes/DOSFile.src/M000258.html +0 -18
  68. data/doc/classes/DOSFile.src/M000259.html +0 -28
  69. data/doc/classes/DSK.html +0 -1006
  70. data/doc/classes/DSK.src/M000163.html +0 -19
  71. data/doc/classes/DSK.src/M000164.html +0 -18
  72. data/doc/classes/DSK.src/M000165.html +0 -18
  73. data/doc/classes/DSK.src/M000166.html +0 -18
  74. data/doc/classes/DSK.src/M000167.html +0 -18
  75. data/doc/classes/DSK.src/M000168.html +0 -18
  76. data/doc/classes/DSK.src/M000169.html +0 -25
  77. data/doc/classes/DSK.src/M000170.html +0 -20
  78. data/doc/classes/DSK.src/M000171.html +0 -22
  79. data/doc/classes/DSK.src/M000172.html +0 -22
  80. data/doc/classes/DSK.src/M000173.html +0 -26
  81. data/doc/classes/DSK.src/M000174.html +0 -25
  82. data/doc/classes/DSK.src/M000175.html +0 -30
  83. data/doc/classes/DSK.src/M000176.html +0 -65
  84. data/doc/classes/DSK.src/M000177.html +0 -22
  85. data/doc/classes/DSK.src/M000178.html +0 -23
  86. data/doc/classes/DSK.src/M000179.html +0 -24
  87. data/doc/classes/DSK.src/M000180.html +0 -21
  88. data/doc/classes/DSK.src/M000181.html +0 -18
  89. data/doc/classes/DSK.src/M000182.html +0 -24
  90. data/doc/classes/DSK.src/M000183.html +0 -24
  91. data/doc/classes/DSK.src/M000184.html +0 -24
  92. data/doc/classes/DSK.src/M000185.html +0 -19
  93. data/doc/classes/DSK.src/M000186.html +0 -18
  94. data/doc/classes/DSK.src/M000187.html +0 -18
  95. data/doc/classes/DSK.src/M000188.html +0 -18
  96. data/doc/classes/DSK.src/M000189.html +0 -18
  97. data/doc/classes/DSK.src/M000190.html +0 -18
  98. data/doc/classes/DSK.src/M000191.html +0 -25
  99. data/doc/classes/DSK.src/M000192.html +0 -20
  100. data/doc/classes/DSK.src/M000193.html +0 -22
  101. data/doc/classes/DSK.src/M000194.html +0 -22
  102. data/doc/classes/DSK.src/M000195.html +0 -26
  103. data/doc/classes/DSK.src/M000196.html +0 -20
  104. data/doc/classes/DSK.src/M000197.html +0 -21
  105. data/doc/classes/DSK.src/M000198.html +0 -27
  106. data/doc/classes/DSK.src/M000199.html +0 -65
  107. data/doc/classes/DSK.src/M000200.html +0 -22
  108. data/doc/classes/DSK.src/M000201.html +0 -23
  109. data/doc/classes/DSK.src/M000202.html +0 -24
  110. data/doc/classes/DSK.src/M000203.html +0 -21
  111. data/doc/classes/DSK.src/M000204.html +0 -18
  112. data/doc/classes/DSK.src/M000205.html +0 -24
  113. data/doc/classes/DSK.src/M000206.html +0 -24
  114. data/doc/classes/DSK.src/M000207.html +0 -24
  115. data/doc/classes/DSKFile.html +0 -472
  116. data/doc/classes/DSKFile.src/M000147.html +0 -19
  117. data/doc/classes/DSKFile.src/M000148.html +0 -18
  118. data/doc/classes/DSKFile.src/M000149.html +0 -25
  119. data/doc/classes/DSKFile.src/M000150.html +0 -18
  120. data/doc/classes/DSKFile.src/M000151.html +0 -18
  121. data/doc/classes/DSKFile.src/M000152.html +0 -18
  122. data/doc/classes/DSKFile.src/M000153.html +0 -18
  123. data/doc/classes/DSKFile.src/M000154.html +0 -50
  124. data/doc/classes/DSKFile.src/M000155.html +0 -19
  125. data/doc/classes/DSKFile.src/M000156.html +0 -18
  126. data/doc/classes/DSKFile.src/M000157.html +0 -25
  127. data/doc/classes/DSKFile.src/M000158.html +0 -18
  128. data/doc/classes/DSKFile.src/M000159.html +0 -18
  129. data/doc/classes/DSKFile.src/M000160.html +0 -18
  130. data/doc/classes/DSKFile.src/M000161.html +0 -18
  131. data/doc/classes/DSKFile.src/M000162.html +0 -50
  132. data/doc/classes/DSKTrackSector.html +0 -256
  133. data/doc/classes/DSKTrackSector.src/M000093.html +0 -20
  134. data/doc/classes/DSKTrackSector.src/M000094.html +0 -18
  135. data/doc/classes/DSKTrackSector.src/M000095.html +0 -21
  136. data/doc/classes/DSKTrackSector.src/M000096.html +0 -20
  137. data/doc/classes/DSKTrackSector.src/M000097.html +0 -18
  138. data/doc/classes/DSKTrackSector.src/M000098.html +0 -21
  139. data/doc/classes/DirectoryServlet.html +0 -137
  140. data/doc/classes/DirectoryServlet.src/M000086.html +0 -20
  141. data/doc/classes/DumpUtilities.html +0 -186
  142. data/doc/classes/DumpUtilities.src/M000109.html +0 -33
  143. data/doc/classes/DumpUtilities.src/M000110.html +0 -23
  144. data/doc/classes/DumpUtilities.src/M000111.html +0 -33
  145. data/doc/classes/DumpUtilities.src/M000112.html +0 -23
  146. data/doc/classes/HGR.html +0 -324
  147. data/doc/classes/HGR.src/M000247.html +0 -29
  148. data/doc/classes/HGR.src/M000248.html +0 -56
  149. data/doc/classes/HGR.src/M000249.html +0 -29
  150. data/doc/classes/HGR.src/M000250.html +0 -56
  151. data/doc/classes/IntegerBasicFile.html +0 -378
  152. data/doc/classes/IntegerBasicFile.src/M000056.html +0 -18
  153. data/doc/classes/IntegerBasicFile.src/M000057.html +0 -18
  154. data/doc/classes/IntegerBasicFile.src/M000058.html +0 -18
  155. data/doc/classes/IntegerBasicFile.src/M000059.html +0 -18
  156. data/doc/classes/IntegerBasicFile.src/M000060.html +0 -18
  157. data/doc/classes/IntegerBasicFile.src/M000061.html +0 -18
  158. data/doc/classes/IntegerBasicFile.src/M000062.html +0 -18
  159. data/doc/classes/IntegerBasicFile.src/M000063.html +0 -18
  160. data/doc/classes/NADOLBinaryFile.html +0 -224
  161. data/doc/classes/NADOLBinaryFile.src/M000103.html +0 -19
  162. data/doc/classes/NADOLBinaryFile.src/M000104.html +0 -18
  163. data/doc/classes/NADOLBinaryFile.src/M000105.html +0 -18
  164. data/doc/classes/NADOLBinaryFile.src/M000106.html +0 -19
  165. data/doc/classes/NADOLBinaryFile.src/M000107.html +0 -18
  166. data/doc/classes/NADOLBinaryFile.src/M000108.html +0 -18
  167. data/doc/classes/NADOLDisk.html +0 -512
  168. data/doc/classes/NADOLDisk.src/M000034.html +0 -23
  169. data/doc/classes/NADOLDisk.src/M000035.html +0 -19
  170. data/doc/classes/NADOLDisk.src/M000036.html +0 -18
  171. data/doc/classes/NADOLDisk.src/M000037.html +0 -29
  172. data/doc/classes/NADOLDisk.src/M000038.html +0 -34
  173. data/doc/classes/NADOLDisk.src/M000039.html +0 -32
  174. data/doc/classes/NADOLDisk.src/M000040.html +0 -22
  175. data/doc/classes/NADOLDisk.src/M000041.html +0 -38
  176. data/doc/classes/NADOLDisk.src/M000042.html +0 -27
  177. data/doc/classes/NADOLDisk.src/M000043.html +0 -53
  178. data/doc/classes/NADOLDisk.src/M000044.html +0 -46
  179. data/doc/classes/NADOLDisk.src/M000045.html +0 -23
  180. data/doc/classes/NADOLDisk.src/M000046.html +0 -19
  181. data/doc/classes/NADOLDisk.src/M000047.html +0 -18
  182. data/doc/classes/NADOLDisk.src/M000048.html +0 -29
  183. data/doc/classes/NADOLDisk.src/M000049.html +0 -34
  184. data/doc/classes/NADOLDisk.src/M000050.html +0 -32
  185. data/doc/classes/NADOLDisk.src/M000051.html +0 -22
  186. data/doc/classes/NADOLDisk.src/M000052.html +0 -38
  187. data/doc/classes/NADOLDisk.src/M000053.html +0 -27
  188. data/doc/classes/NADOLDisk.src/M000054.html +0 -53
  189. data/doc/classes/NADOLDisk.src/M000055.html +0 -46
  190. data/doc/classes/NADOLFile.html +0 -232
  191. data/doc/classes/NADOLFile.src/M000087.html +0 -18
  192. data/doc/classes/NADOLFile.src/M000088.html +0 -18
  193. data/doc/classes/NADOLFile.src/M000089.html +0 -28
  194. data/doc/classes/NADOLFile.src/M000090.html +0 -18
  195. data/doc/classes/NADOLFile.src/M000091.html +0 -18
  196. data/doc/classes/NADOLFile.src/M000092.html +0 -28
  197. data/doc/classes/NADOLTokenisedFile.html +0 -296
  198. data/doc/classes/NADOLTokenisedFile.src/M000276.html +0 -28
  199. data/doc/classes/NADOLTokenisedFile.src/M000277.html +0 -49
  200. data/doc/classes/NADOLTokenisedFile.src/M000278.html +0 -18
  201. data/doc/classes/NADOLTokenisedFile.src/M000279.html +0 -18
  202. data/doc/classes/NADOLTokenisedFile.src/M000280.html +0 -28
  203. data/doc/classes/NADOLTokenisedFile.src/M000281.html +0 -49
  204. data/doc/classes/NADOLTokenisedFile.src/M000282.html +0 -18
  205. data/doc/classes/NADOLTokenisedFile.src/M000283.html +0 -18
  206. data/doc/classes/PNG.html +0 -163
  207. data/doc/classes/PNG.src/M000284.html +0 -26
  208. data/doc/classes/PNG.src/M000285.html +0 -26
  209. data/doc/classes/PascalDisk.html +0 -274
  210. data/doc/classes/PascalDisk.src/M000268.html +0 -23
  211. data/doc/classes/PascalDisk.src/M000269.html +0 -19
  212. data/doc/classes/PascalDisk.src/M000270.html +0 -18
  213. data/doc/classes/PascalDisk.src/M000271.html +0 -60
  214. data/doc/classes/PascalDisk.src/M000272.html +0 -23
  215. data/doc/classes/PascalDisk.src/M000273.html +0 -19
  216. data/doc/classes/PascalDisk.src/M000274.html +0 -18
  217. data/doc/classes/PascalDisk.src/M000275.html +0 -60
  218. data/doc/classes/PascalFile.html +0 -322
  219. data/doc/classes/PascalFile.src/M000237.html +0 -21
  220. data/doc/classes/PascalFile.src/M000238.html +0 -20
  221. data/doc/classes/PascalFile.src/M000239.html +0 -18
  222. data/doc/classes/PascalFile.src/M000240.html +0 -19
  223. data/doc/classes/PascalFile.src/M000241.html +0 -18
  224. data/doc/classes/PascalFile.src/M000242.html +0 -21
  225. data/doc/classes/PascalFile.src/M000243.html +0 -20
  226. data/doc/classes/PascalFile.src/M000244.html +0 -18
  227. data/doc/classes/PascalFile.src/M000245.html +0 -19
  228. data/doc/classes/PascalFile.src/M000246.html +0 -18
  229. data/doc/classes/ProDOSDisk.html +0 -414
  230. data/doc/classes/ProDOSDisk.src/M000073.html +0 -18
  231. data/doc/classes/ProDOSDisk.src/M000074.html +0 -23
  232. data/doc/classes/ProDOSDisk.src/M000075.html +0 -19
  233. data/doc/classes/ProDOSDisk.src/M000076.html +0 -18
  234. data/doc/classes/ProDOSDisk.src/M000077.html +0 -36
  235. data/doc/classes/ProDOSDisk.src/M000078.html +0 -98
  236. data/doc/classes/ProDOSDisk.src/M000079.html +0 -18
  237. data/doc/classes/ProDOSDisk.src/M000080.html +0 -23
  238. data/doc/classes/ProDOSDisk.src/M000081.html +0 -19
  239. data/doc/classes/ProDOSDisk.src/M000082.html +0 -18
  240. data/doc/classes/ProDOSDisk.src/M000083.html +0 -36
  241. data/doc/classes/ProDOSDisk.src/M000084.html +0 -98
  242. data/doc/classes/ProDOSFile.html +0 -282
  243. data/doc/classes/ProDOSFile.src/M000121.html +0 -23
  244. data/doc/classes/ProDOSFile.src/M000122.html +0 -18
  245. data/doc/classes/ProDOSFile.src/M000123.html +0 -30
  246. data/doc/classes/ProDOSFile.src/M000124.html +0 -23
  247. data/doc/classes/ProDOSFile.src/M000125.html +0 -18
  248. data/doc/classes/ProDOSFile.src/M000126.html +0 -30
  249. data/doc/classes/RDoc.html +0 -158
  250. data/doc/classes/RDoc.src/M000295.html +0 -40
  251. data/doc/classes/RDoc.src/M000296.html +0 -40
  252. data/doc/classes/SCAsmFile.html +0 -312
  253. data/doc/classes/SCAsmFile.src/M000208.html +0 -18
  254. data/doc/classes/SCAsmFile.src/M000209.html +0 -18
  255. data/doc/classes/SCAsmFile.src/M000210.html +0 -18
  256. data/doc/classes/SCAsmFile.src/M000211.html +0 -18
  257. data/doc/classes/SCAsmFile.src/M000212.html +0 -39
  258. data/doc/classes/SCAsmFile.src/M000213.html +0 -18
  259. data/doc/classes/SCAsmFile.src/M000214.html +0 -18
  260. data/doc/classes/SCAsmFile.src/M000215.html +0 -18
  261. data/doc/classes/SCAsmFile.src/M000216.html +0 -18
  262. data/doc/classes/SCAsmFile.src/M000217.html +0 -39
  263. data/doc/classes/ShowFileServlet.html +0 -137
  264. data/doc/classes/ShowFileServlet.src/M000146.html +0 -22
  265. data/doc/classes/ShowPNGServlet.html +0 -137
  266. data/doc/classes/ShowPNGServlet.src/M000232.html +0 -26
  267. data/doc/classes/ShowSectorServlet.html +0 -137
  268. data/doc/classes/ShowSectorServlet.src/M000085.html +0 -22
  269. data/doc/classes/TestDOSDisks.html +0 -426
  270. data/doc/classes/TestDOSDisks.src/M000014.html +0 -24
  271. data/doc/classes/TestDOSDisks.src/M000015.html +0 -19
  272. data/doc/classes/TestDOSDisks.src/M000016.html +0 -45
  273. data/doc/classes/TestDOSDisks.src/M000017.html +0 -22
  274. data/doc/classes/TestDOSDisks.src/M000018.html +0 -20
  275. data/doc/classes/TestDOSDisks.src/M000019.html +0 -19
  276. data/doc/classes/TestDOSDisks.src/M000020.html +0 -25
  277. data/doc/classes/TestDOSDisks.src/M000021.html +0 -47
  278. data/doc/classes/TestDOSDisks.src/M000022.html +0 -28
  279. data/doc/classes/TestDOSDisks.src/M000023.html +0 -28
  280. data/doc/classes/TestDOSDisks.src/M000024.html +0 -26
  281. data/doc/classes/TestDOSDisks.src/M000025.html +0 -19
  282. data/doc/classes/TestDOSDisks.src/M000026.html +0 -62
  283. data/doc/classes/TestDOSDisks.src/M000027.html +0 -22
  284. data/doc/classes/TestDOSDisks.src/M000028.html +0 -20
  285. data/doc/classes/TestDOSDisks.src/M000029.html +0 -19
  286. data/doc/classes/TestDOSDisks.src/M000030.html +0 -25
  287. data/doc/classes/TestDOSDisks.src/M000031.html +0 -47
  288. data/doc/classes/TestDOSDisks.src/M000032.html +0 -28
  289. data/doc/classes/TestDOSDisks.src/M000033.html +0 -28
  290. data/doc/classes/TestDisassembly.html +0 -156
  291. data/doc/classes/TestDisassembly.src/M000071.html +0 -19
  292. data/doc/classes/TestDisassembly.src/M000072.html +0 -19
  293. data/doc/classes/TestNADOLDisks.html +0 -186
  294. data/doc/classes/TestNADOLDisks.src/M000233.html +0 -22
  295. data/doc/classes/TestNADOLDisks.src/M000234.html +0 -73
  296. data/doc/classes/TestNADOLDisks.src/M000235.html +0 -22
  297. data/doc/classes/TestNADOLDisks.src/M000236.html +0 -73
  298. data/doc/classes/TestPascalDisks.html +0 -216
  299. data/doc/classes/TestPascalDisks.src/M000065.html +0 -28
  300. data/doc/classes/TestPascalDisks.src/M000066.html +0 -24
  301. data/doc/classes/TestPascalDisks.src/M000067.html +0 -27
  302. data/doc/classes/TestPascalDisks.src/M000068.html +0 -28
  303. data/doc/classes/TestPascalDisks.src/M000069.html +0 -24
  304. data/doc/classes/TestPascalDisks.src/M000070.html +0 -27
  305. data/doc/classes/TestProDOSDisks.html +0 -246
  306. data/doc/classes/TestProDOSDisks.src/M000260.html +0 -28
  307. data/doc/classes/TestProDOSDisks.src/M000261.html +0 -28
  308. data/doc/classes/TestProDOSDisks.src/M000262.html +0 -41
  309. data/doc/classes/TestProDOSDisks.src/M000263.html +0 -28
  310. data/doc/classes/TestProDOSDisks.src/M000264.html +0 -28
  311. data/doc/classes/TestProDOSDisks.src/M000265.html +0 -28
  312. data/doc/classes/TestProDOSDisks.src/M000266.html +0 -41
  313. data/doc/classes/TestProDOSDisks.src/M000267.html +0 -28
  314. data/doc/classes/TextFile.html +0 -263
  315. data/doc/classes/TextFile.src/M000286.html +0 -18
  316. data/doc/classes/TextFile.src/M000287.html +0 -18
  317. data/doc/classes/TextFile.src/M000288.html +0 -18
  318. data/doc/classes/TextFile.src/M000289.html +0 -20
  319. data/doc/classes/TextFile.src/M000290.html +0 -18
  320. data/doc/classes/TextFile.src/M000291.html +0 -18
  321. data/doc/classes/TextFile.src/M000292.html +0 -18
  322. data/doc/classes/TextFile.src/M000293.html +0 -20
  323. data/doc/classes/TextFile.src/M000294.html +0 -18
  324. data/doc/created.rid +0 -1
  325. data/doc/files/bin/dskexplorer_rb.html +0 -354
  326. data/doc/files/bin/dskexplorer_rb.src/M000001.html +0 -21
  327. data/doc/files/bin/dskexplorer_rb.src/M000002.html +0 -21
  328. data/doc/files/bin/dskexplorer_rb.src/M000003.html +0 -22
  329. data/doc/files/bin/dskexplorer_rb.src/M000004.html +0 -20
  330. data/doc/files/bin/dskexplorer_rb.src/M000005.html +0 -20
  331. data/doc/files/bin/dskexplorer_rb.src/M000006.html +0 -22
  332. data/doc/files/bin/dskexplorer_rb.src/M000007.html +0 -16
  333. data/doc/files/bin/dskexplorer_rb.src/M000008.html +0 -20
  334. data/doc/files/bin/dskexplorer_rb.src/M000009.html +0 -43
  335. data/doc/files/bin/dskexplorer_rb.src/M000010.html +0 -59
  336. data/doc/files/bin/dskexplorer_rb.src/M000011.html +0 -53
  337. data/doc/files/bin/dskexplorer_rb.src/M000012.html +0 -58
  338. data/doc/files/bin/dskexplorer_rb.src/M000013.html +0 -37
  339. data/doc/files/bin/dsktool_rb.html +0 -267
  340. data/doc/files/bin/romdump_rb.html +0 -184
  341. data/doc/files/dsktool_web/dskexplorer_rb.html +0 -107
  342. data/doc/files/dsktool_web/index_rb.html +0 -107
  343. data/doc/files/lib/D65_rb.html +0 -108
  344. data/doc/files/lib/DOSDisk_rb.html +0 -108
  345. data/doc/files/lib/DOSFile_rb.html +0 -110
  346. data/doc/files/lib/DSKFile_rb.html +0 -108
  347. data/doc/files/lib/DSK_rb.html +0 -116
  348. data/doc/files/lib/DumpUtilities_rb.html +0 -101
  349. data/doc/files/lib/HGR_rb.html +0 -115
  350. data/doc/files/lib/NADOLDisk_rb.html +0 -108
  351. data/doc/files/lib/NADOLFile_rb.html +0 -111
  352. data/doc/files/lib/PascalDisk_rb.html +0 -108
  353. data/doc/files/lib/PascalFile_rb.html +0 -109
  354. data/doc/files/lib/ProDOSDisk_rb.html +0 -108
  355. data/doc/files/lib/ProDOSFile_rb.html +0 -108
  356. data/doc/files/lib/rdoc_patch_rb.html +0 -108
  357. data/doc/files/test/backup/D65_rb.html +0 -108
  358. data/doc/files/test/backup/DOSDisk_rb.html +0 -108
  359. data/doc/files/test/backup/DOSFile_rb.html +0 -110
  360. data/doc/files/test/backup/DSKFile_rb.html +0 -108
  361. data/doc/files/test/backup/DSK_rb.html +0 -116
  362. data/doc/files/test/backup/DumpUtilities_rb.html +0 -101
  363. data/doc/files/test/backup/HGR_rb.html +0 -115
  364. data/doc/files/test/backup/NADOLDisk_rb.html +0 -108
  365. data/doc/files/test/backup/NADOLFile_rb.html +0 -111
  366. data/doc/files/test/backup/PascalDisk_rb.html +0 -108
  367. data/doc/files/test/backup/PascalFile_rb.html +0 -109
  368. data/doc/files/test/backup/ProDOSDisk_rb.html +0 -108
  369. data/doc/files/test/backup/ProDOSFile_rb.html +0 -108
  370. data/doc/files/test/backup/comp_rb.html +0 -101
  371. data/doc/files/test/backup/compress_dos_dsk_rb.html +0 -114
  372. data/doc/files/test/backup/extract_nadol_startup_rb.html +0 -134
  373. data/doc/files/test/backup/hgr_scanlines_rb.html +0 -101
  374. data/doc/files/test/backup/rdoc_patch_rb.html +0 -108
  375. data/doc/files/test/backup/tc_disassembly_rb.html +0 -116
  376. data/doc/files/test/backup/tc_dos_disks_rb.html +0 -115
  377. data/doc/files/test/backup/tc_nadol_disks_rb.html +0 -115
  378. data/doc/files/test/backup/tc_pascal_disks_rb.html +0 -115
  379. data/doc/files/test/backup/tc_prodos_disks_rb.html +0 -115
  380. data/doc/files/test/backup/ts_test_all_rb.html +0 -112
  381. data/doc/files/test/comp_rb.html +0 -101
  382. data/doc/files/test/compress_dos_dsk_rb.html +0 -114
  383. data/doc/files/test/extract_nadol_startup_rb.html +0 -134
  384. data/doc/files/test/hgr_scanlines_rb.html +0 -101
  385. data/doc/files/test/tc_disassembly_rb.html +0 -116
  386. data/doc/files/test/tc_dos_disks_rb.html +0 -115
  387. data/doc/files/test/tc_nadol_disks_rb.html +0 -115
  388. data/doc/files/test/tc_pascal_disks_rb.html +0 -115
  389. data/doc/files/test/tc_prodos_disks_rb.html +0 -115
  390. data/doc/files/test/ts_test_all_rb.html +0 -112
  391. data/doc/fr_class_index.html +0 -59
  392. data/doc/fr_file_index.html +0 -79
  393. data/doc/fr_method_index.html +0 -322
  394. data/doc/index.html +0 -24
  395. data/doc/rdoc-style.css +0 -208
@@ -1,18 +0,0 @@
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>annotations (D65)</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/D65.rb, line 99</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">D65</span>.<span class="ruby-identifier">annotations</span>
15
- <span class="ruby-ivar">@@annotations</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,64 +0,0 @@
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>disassemble (D65)</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/D65.rb, line 104</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">D65</span>.<span class="ruby-identifier">disassemble</span>(<span class="ruby-identifier">buffer</span>,<span class="ruby-identifier">start_address</span>=<span class="ruby-value">0</span>)
15
-
16
- <span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>
17
- <span class="ruby-identifier">s</span>=<span class="ruby-value str">&quot;&quot;</span>
18
- <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">index</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">length</span>
19
- <span class="ruby-identifier">byte</span>=<span class="ruby-identifier">buffer</span>[<span class="ruby-identifier">index</span>]
20
- <span class="ruby-identifier">current_address</span>=<span class="ruby-identifier">start_address</span><span class="ruby-operator">+</span><span class="ruby-identifier">index</span>
21
- <span class="ruby-identifier">opcode_name</span>=<span class="ruby-constant">OPCODES</span>[<span class="ruby-identifier">byte</span>][<span class="ruby-value">0</span>]
22
- <span class="ruby-identifier">operand_type</span>=<span class="ruby-constant">OPCODES</span>[<span class="ruby-identifier">byte</span>][<span class="ruby-value">1</span>]
23
- <span class="ruby-identifier">next_byte</span>=(<span class="ruby-identifier">index</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span><span class="ruby-operator">?</span><span class="ruby-identifier">buffer</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator">:</span><span class="ruby-value">0</span>)
24
- <span class="ruby-identifier">next_word</span>=(<span class="ruby-identifier">index</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">2</span><span class="ruby-operator">?</span><span class="ruby-identifier">buffer</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator">+</span><span class="ruby-identifier">buffer</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator">*</span><span class="ruby-value">256</span><span class="ruby-operator">:</span><span class="ruby-value">0</span>)
25
- <span class="ruby-identifier">operand_format</span>,<span class="ruby-identifier">operand_address</span>= <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">operand_type</span>
26
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:imp</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">''</span>,<span class="ruby-value str">''</span>]
27
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:acc</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;A&quot;</span>,<span class="ruby-value str">''</span>]
28
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:imm</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;\#$%02X&quot;</span>,<span class="ruby-identifier">next_byte</span>]
29
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:abs</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%04X&quot;</span>,<span class="ruby-identifier">next_word</span>]
30
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:abx</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%04X,X&quot;</span>,<span class="ruby-identifier">next_word</span>]
31
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:aby</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%04X,Y&quot;</span>,<span class="ruby-identifier">next_word</span>]
32
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:zpg</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%02X&quot;</span>,<span class="ruby-identifier">next_byte</span>]
33
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:zpx</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%02X,X&quot;</span>,<span class="ruby-identifier">next_byte</span>]
34
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:zpy</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%02X,Y&quot;</span>,<span class="ruby-identifier">next_byte</span>]
35
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:ind</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;($%04X)&quot;</span>,<span class="ruby-identifier">next_word</span>]
36
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:inx</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;($%02X),X&quot;</span>,<span class="ruby-identifier">next_byte</span>]
37
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:iny</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;($%02X),Y&quot;</span>,<span class="ruby-identifier">next_byte</span>]
38
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:inz</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;($%02X)&quot;</span>,<span class="ruby-identifier">next_byte</span>]
39
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:rel</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%04X&quot;</span>,(<span class="ruby-identifier">current_address</span><span class="ruby-operator">+</span><span class="ruby-identifier">next_byte</span>.<span class="ruby-identifier">chr</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">&quot;c&quot;</span>)[<span class="ruby-value">0</span>]<span class="ruby-operator">+</span><span class="ruby-value">2</span>)<span class="ruby-operator">%</span><span class="ruby-value">0x10000</span>]
40
- <span class="ruby-keyword kw">else</span>
41
- <span class="ruby-identifier">abort</span>(<span class="ruby-node">&quot;unknown symbol #{operand_type}&quot;</span>)
42
- <span class="ruby-keyword kw">end</span>
43
- <span class="ruby-identifier">operand</span> = <span class="ruby-identifier">sprintf</span>(<span class="ruby-identifier">operand_format</span>,<span class="ruby-identifier">operand_address</span>)
44
- <span class="ruby-identifier">opcode_size</span>=<span class="ruby-constant">OPCODE_SIZE</span>[<span class="ruby-identifier">operand_type</span>]
45
- <span class="ruby-identifier">instruction_bytes</span>=<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">opcode_size</span>
46
- <span class="ruby-keyword kw">when</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%02X &quot;</span>,<span class="ruby-identifier">byte</span>)
47
- <span class="ruby-keyword kw">when</span> <span class="ruby-value">2</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%02X %02X &quot;</span>,<span class="ruby-identifier">byte</span>,<span class="ruby-identifier">next_byte</span>)
48
- <span class="ruby-keyword kw">when</span> <span class="ruby-value">3</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%02X %02X %02X&quot;</span>,<span class="ruby-identifier">byte</span>,<span class="ruby-identifier">next_byte</span>,<span class="ruby-identifier">next_word</span><span class="ruby-operator">&gt;&gt;</span><span class="ruby-value">8</span>)
49
- <span class="ruby-keyword kw">end</span>
50
-
51
-
52
- <span class="ruby-identifier">s</span><span class="ruby-operator">&lt;&lt;</span><span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%04X: %s %s %s ; &quot;</span>,<span class="ruby-identifier">current_address</span>,<span class="ruby-identifier">instruction_bytes</span>,<span class="ruby-identifier">opcode_name</span>,<span class="ruby-identifier">operand</span>.<span class="ruby-identifier">ljust</span>(<span class="ruby-value">10</span>))
53
- <span class="ruby-identifier">annotation</span>=<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">operand_address</span>]
54
- <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">annotation</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">operand_type!</span>=<span class="ruby-identifier">:imm</span>)) <span class="ruby-keyword kw">then</span>
55
- <span class="ruby-identifier">s</span><span class="ruby-operator">&lt;&lt;</span><span class="ruby-value str">&quot; &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">annotation</span>.<span class="ruby-identifier">to_s</span>
56
- <span class="ruby-keyword kw">end</span>
57
- <span class="ruby-identifier">s</span><span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
58
- <span class="ruby-identifier">index</span><span class="ruby-operator">+=</span><span class="ruby-identifier">opcode_size</span>
59
- <span class="ruby-keyword kw">end</span>
60
-
61
- <span class="ruby-identifier">s</span>
62
- <span class="ruby-keyword kw">end</span></pre>
63
- </body>
64
- </html>
@@ -1,18 +0,0 @@
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>annotations (D65)</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 test/backup/D65.rb, line 99</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">D65</span>.<span class="ruby-identifier">annotations</span>
15
- <span class="ruby-ivar">@@annotations</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,64 +0,0 @@
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>disassemble (D65)</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 test/backup/D65.rb, line 104</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">D65</span>.<span class="ruby-identifier">disassemble</span>(<span class="ruby-identifier">buffer</span>,<span class="ruby-identifier">start_address</span>=<span class="ruby-value">0</span>)
15
-
16
- <span class="ruby-identifier">index</span>=<span class="ruby-value">0</span>
17
- <span class="ruby-identifier">s</span>=<span class="ruby-value str">&quot;&quot;</span>
18
- <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">index</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">length</span>
19
- <span class="ruby-identifier">byte</span>=<span class="ruby-identifier">buffer</span>[<span class="ruby-identifier">index</span>]
20
- <span class="ruby-identifier">current_address</span>=<span class="ruby-identifier">start_address</span><span class="ruby-operator">+</span><span class="ruby-identifier">index</span>
21
- <span class="ruby-identifier">opcode_name</span>=<span class="ruby-constant">OPCODES</span>[<span class="ruby-identifier">byte</span>][<span class="ruby-value">0</span>]
22
- <span class="ruby-identifier">operand_type</span>=<span class="ruby-constant">OPCODES</span>[<span class="ruby-identifier">byte</span>][<span class="ruby-value">1</span>]
23
- <span class="ruby-identifier">next_byte</span>=(<span class="ruby-identifier">index</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">1</span><span class="ruby-operator">?</span><span class="ruby-identifier">buffer</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator">:</span><span class="ruby-value">0</span>)
24
- <span class="ruby-identifier">next_word</span>=(<span class="ruby-identifier">index</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">length</span><span class="ruby-operator">-</span><span class="ruby-value">2</span><span class="ruby-operator">?</span><span class="ruby-identifier">buffer</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">1</span>]<span class="ruby-operator">+</span><span class="ruby-identifier">buffer</span>[<span class="ruby-identifier">index</span><span class="ruby-operator">+</span><span class="ruby-value">2</span>]<span class="ruby-operator">*</span><span class="ruby-value">256</span><span class="ruby-operator">:</span><span class="ruby-value">0</span>)
25
- <span class="ruby-identifier">operand_format</span>,<span class="ruby-identifier">operand_address</span>= <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">operand_type</span>
26
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:imp</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">''</span>,<span class="ruby-value str">''</span>]
27
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:acc</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;A&quot;</span>,<span class="ruby-value str">''</span>]
28
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:imm</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;\#$%02X&quot;</span>,<span class="ruby-identifier">next_byte</span>]
29
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:abs</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%04X&quot;</span>,<span class="ruby-identifier">next_word</span>]
30
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:abx</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%04X,X&quot;</span>,<span class="ruby-identifier">next_word</span>]
31
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:aby</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%04X,Y&quot;</span>,<span class="ruby-identifier">next_word</span>]
32
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:zpg</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%02X&quot;</span>,<span class="ruby-identifier">next_byte</span>]
33
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:zpx</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%02X,X&quot;</span>,<span class="ruby-identifier">next_byte</span>]
34
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:zpy</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%02X,Y&quot;</span>,<span class="ruby-identifier">next_byte</span>]
35
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:ind</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;($%04X)&quot;</span>,<span class="ruby-identifier">next_word</span>]
36
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:inx</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;($%02X),X&quot;</span>,<span class="ruby-identifier">next_byte</span>]
37
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:iny</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;($%02X),Y&quot;</span>,<span class="ruby-identifier">next_byte</span>]
38
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:inz</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;($%02X)&quot;</span>,<span class="ruby-identifier">next_byte</span>]
39
- <span class="ruby-keyword kw">when</span> <span class="ruby-identifier">:rel</span> <span class="ruby-keyword kw">then</span> [<span class="ruby-value str">&quot;$%04X&quot;</span>,(<span class="ruby-identifier">current_address</span><span class="ruby-operator">+</span><span class="ruby-identifier">next_byte</span>.<span class="ruby-identifier">chr</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">&quot;c&quot;</span>)[<span class="ruby-value">0</span>]<span class="ruby-operator">+</span><span class="ruby-value">2</span>)<span class="ruby-operator">%</span><span class="ruby-value">0x10000</span>]
40
- <span class="ruby-keyword kw">else</span>
41
- <span class="ruby-identifier">abort</span>(<span class="ruby-node">&quot;unknown symbol #{operand_type}&quot;</span>)
42
- <span class="ruby-keyword kw">end</span>
43
- <span class="ruby-identifier">operand</span> = <span class="ruby-identifier">sprintf</span>(<span class="ruby-identifier">operand_format</span>,<span class="ruby-identifier">operand_address</span>)
44
- <span class="ruby-identifier">opcode_size</span>=<span class="ruby-constant">OPCODE_SIZE</span>[<span class="ruby-identifier">operand_type</span>]
45
- <span class="ruby-identifier">instruction_bytes</span>=<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">opcode_size</span>
46
- <span class="ruby-keyword kw">when</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%02X &quot;</span>,<span class="ruby-identifier">byte</span>)
47
- <span class="ruby-keyword kw">when</span> <span class="ruby-value">2</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%02X %02X &quot;</span>,<span class="ruby-identifier">byte</span>,<span class="ruby-identifier">next_byte</span>)
48
- <span class="ruby-keyword kw">when</span> <span class="ruby-value">3</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%02X %02X %02X&quot;</span>,<span class="ruby-identifier">byte</span>,<span class="ruby-identifier">next_byte</span>,<span class="ruby-identifier">next_word</span><span class="ruby-operator">&gt;&gt;</span><span class="ruby-value">8</span>)
49
- <span class="ruby-keyword kw">end</span>
50
-
51
-
52
- <span class="ruby-identifier">s</span><span class="ruby-operator">&lt;&lt;</span><span class="ruby-identifier">sprintf</span>(<span class="ruby-value str">&quot;%04X: %s %s %s ; &quot;</span>,<span class="ruby-identifier">current_address</span>,<span class="ruby-identifier">instruction_bytes</span>,<span class="ruby-identifier">opcode_name</span>,<span class="ruby-identifier">operand</span>.<span class="ruby-identifier">ljust</span>(<span class="ruby-value">10</span>))
53
- <span class="ruby-identifier">annotation</span>=<span class="ruby-identifier">annotations</span>[<span class="ruby-identifier">operand_address</span>]
54
- <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">annotation</span> <span class="ruby-operator">&amp;&amp;</span> (<span class="ruby-identifier">operand_type!</span>=<span class="ruby-identifier">:imm</span>)) <span class="ruby-keyword kw">then</span>
55
- <span class="ruby-identifier">s</span><span class="ruby-operator">&lt;&lt;</span><span class="ruby-value str">&quot; &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">annotation</span>.<span class="ruby-identifier">to_s</span>
56
- <span class="ruby-keyword kw">end</span>
57
- <span class="ruby-identifier">s</span><span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
58
- <span class="ruby-identifier">index</span><span class="ruby-operator">+=</span><span class="ruby-identifier">opcode_size</span>
59
- <span class="ruby-keyword kw">end</span>
60
-
61
- <span class="ruby-identifier">s</span>
62
- <span class="ruby-keyword kw">end</span></pre>
63
- </body>
64
- </html>
@@ -1,540 +0,0 @@
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: DOSDisk</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">DOSDisk</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/DOSDisk_rb.html">
59
- lib/DOSDisk.rb
60
- </a>
61
- <br />
62
- <a href="../files/test/backup/DOSDisk_rb.html">
63
- test/backup/DOSDisk.rb
64
- </a>
65
- <br />
66
- </td>
67
- </tr>
68
-
69
- <tr class="top-aligned-row">
70
- <td><strong>Parent:</strong></td>
71
- <td>
72
- <a href="DSK.html">
73
- DSK
74
- </a>
75
- </td>
76
- </tr>
77
- </table>
78
- </div>
79
- <!-- banner header -->
80
-
81
- <div id="bodyContent">
82
-
83
-
84
-
85
- <div id="contextContent">
86
-
87
- <div id="description">
88
- <pre>
89
- Disk image with a standard Apple DOS 3.3 VTOC at track $11, sector $00
90
- </pre>
91
- <p>
92
- VTOC : Volume Table of Contents (from Beneath Apple DOS pp 4-2 &amp; 4-3)
93
- </p>
94
- <pre>
95
- 00 not used
96
- 01 track number of first catalog sector
97
- 02 sector number of first catalog sector
98
- 03 release number of DOS used to INIT this disk
99
- 04-05 not used
100
- 06 Diskette volume number (1-254)
101
- 07-26 not used
102
- 27 maximum number of track/sector pairs which will fit in one file track/sector
103
- list sector (122 for 256 byte sectors)
104
- 28-2F not used
105
- 30 last track where sectors were allocated
106
- 31 direction of track allocation (+1 or -1)
107
- 32-33 not used
108
- 34 number of tracks per diskette (normally 35)
109
- 35 number of sectors per track (13 or 16)
110
- 36-37 number of bytes per sector (LO/HI format)
111
- 38-3B bit map of free sectors in track 0
112
- 3C-3F bit map of free sectors in track 1
113
- 40-43 bit map of free sectors in track 2
114
- ...
115
- BC-BF bit map of free sectors in track 33
116
- CO-C3 bit map of free sectors in track 34
117
- C4-FF bit maps for additional tracks if there are more than 35 tracks per diskette
118
- </pre>
119
- <p>
120
- CATALOG (from Beneath Apple DOS p 4-6)
121
- </p>
122
- <pre>
123
- 00 Not Used
124
- 01 track number of next catalog sector
125
- 02 sector number of next catalog sector
126
- 03-0A not used
127
- 0B-2D First file descriptive entry
128
- 2E-50 Second file descriptive entry
129
- 51-73 Third file descriptive entry
130
- 74-96 Fourth file descriptive entry
131
- 97-B9 Fifth file descriptive entry
132
- BA-DC Sixth file descriptive entry
133
- DD-FF Seventh file descriptive entry
134
- </pre>
135
- <p>
136
- FILE DESCRIPTIVE ENTRY (from Beneath Apple DOS p 4-6)
137
- </p>
138
- <pre>
139
- 00 Track of first track/sector list sector, if this is a deleted file this contains FF
140
- and the original track number is copied to the last byte of the file name (BYTE 20)
141
- If this byte contains a 00, the entry is assumed to never have been used and is
142
- available for use. (This means track 0 can never be used for data even if the DOS image
143
- is 'wiped' from the disk)
144
-
145
- 01 Sector of first track/sector list sector
146
- 02 File type and flags:
147
- 80+file type - file is locked
148
- 00+file type - file is not locked
149
-
150
- 00 - TEXT file
151
- 01 - INTEGER BASIC file
152
- 02 - APPLESOFT BASIC file
153
- 04 - BINARY file
154
- 08 - S type file
155
- 10 - RELOCATABLE object module file
156
- 20 - a type file
157
- 40 - b type file
158
-
159
- 03-20 File Name (30 characters)
160
- 21-22 Length of file in sectors (LO/HI format)
161
- </pre>
162
- <p>
163
- TRACK/SECTOR LIST FORMAT (from Beneath Apple DOS p 4-6)
164
- </p>
165
- <pre>
166
- 00 Not used
167
- 01 Track number of next T/S list of one is needed or zero if no more t/s list
168
- 02 Sector number of next T/S list (if one is present)
169
- 03-04 Not used
170
- 05-06 Sector offset in file of the first sector described by this list
171
- 07-oB Not used
172
- 0C-0D Track and sector of first data sector or zeros
173
- 0E-0F Track and sector of second data sector or zeros
174
- 10-FF Up to 120 more track and sector pairs
175
- </pre>
176
-
177
- </div>
178
-
179
-
180
- </div>
181
-
182
- <div id="method-list">
183
- <h3 class="section-bar">Methods</h3>
184
-
185
- <div class="name-list">
186
- <a href="#M000145">add_file</a>&nbsp;&nbsp;
187
- <a href="#M000137">add_file</a>&nbsp;&nbsp;
188
- <a href="#M000135">delete_file</a>&nbsp;&nbsp;
189
- <a href="#M000138">dump_catalog</a>&nbsp;&nbsp;
190
- <a href="#M000127">dump_catalog</a>&nbsp;&nbsp;
191
- <a href="#M000139">file_system</a>&nbsp;&nbsp;
192
- <a href="#M000128">file_system</a>&nbsp;&nbsp;
193
- <a href="#M000132">find_catalog_slot</a>&nbsp;&nbsp;
194
- <a href="#M000143">find_catalog_slot</a>&nbsp;&nbsp;
195
- <a href="#M000144">free_sector_list</a>&nbsp;&nbsp;
196
- <a href="#M000133">free_sector_list</a>&nbsp;&nbsp;
197
- <a href="#M000134">get_track_sector_list</a>&nbsp;&nbsp;
198
- <a href="#M000141">make_file</a>&nbsp;&nbsp;
199
- <a href="#M000130">make_file</a>&nbsp;&nbsp;
200
- <a href="#M000129">new</a>&nbsp;&nbsp;
201
- <a href="#M000140">new</a>&nbsp;&nbsp;
202
- <a href="#M000131">read_vtoc</a>&nbsp;&nbsp;
203
- <a href="#M000142">read_vtoc</a>&nbsp;&nbsp;
204
- <a href="#M000136">set_sector</a>&nbsp;&nbsp;
205
- </div>
206
- </div>
207
-
208
- </div>
209
-
210
-
211
- <!-- if includes -->
212
-
213
- <div id="section">
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
- <!-- if method_list -->
223
- <div id="methods">
224
- <h3 class="section-bar">Public Class methods</h3>
225
-
226
- <div id="method-M000129" class="method-detail">
227
- <a name="M000129"></a>
228
-
229
- <div class="method-heading">
230
- <a href="DOSDisk.src/M000129.html" target="Code" class="method-signature"
231
- onclick="popupCode('DOSDisk.src/M000129.html');return false;">
232
- <span class="method-name">new</span><span class="method-args">(file_bytes,sector_order)</span>
233
- </a>
234
- </div>
235
-
236
- <div class="method-description">
237
- </div>
238
- </div>
239
-
240
- <div id="method-M000140" class="method-detail">
241
- <a name="M000140"></a>
242
-
243
- <div class="method-heading">
244
- <a href="DOSDisk.src/M000140.html" target="Code" class="method-signature"
245
- onclick="popupCode('DOSDisk.src/M000140.html');return false;">
246
- <span class="method-name">new</span><span class="method-args">(file_bytes,sector_order)</span>
247
- </a>
248
- </div>
249
-
250
- <div class="method-description">
251
- </div>
252
- </div>
253
-
254
- <h3 class="section-bar">Public Instance methods</h3>
255
-
256
- <div id="method-M000145" class="method-detail">
257
- <a name="M000145"></a>
258
-
259
- <div class="method-heading">
260
- <a href="DOSDisk.src/M000145.html" target="Code" class="method-signature"
261
- onclick="popupCode('DOSDisk.src/M000145.html');return false;">
262
- <span class="method-name">add_file</span><span class="method-args">(file)</span>
263
- </a>
264
- </div>
265
-
266
- <div class="method-description">
267
- </div>
268
- </div>
269
-
270
- <div id="method-M000137" class="method-detail">
271
- <a name="M000137"></a>
272
-
273
- <div class="method-heading">
274
- <a href="DOSDisk.src/M000137.html" target="Code" class="method-signature"
275
- onclick="popupCode('DOSDisk.src/M000137.html');return false;">
276
- <span class="method-name">add_file</span><span class="method-args">(file)</span>
277
- </a>
278
- </div>
279
-
280
- <div class="method-description">
281
- </div>
282
- </div>
283
-
284
- <div id="method-M000135" class="method-detail">
285
- <a name="M000135"></a>
286
-
287
- <div class="method-heading">
288
- <a href="DOSDisk.src/M000135.html" target="Code" class="method-signature"
289
- onclick="popupCode('DOSDisk.src/M000135.html');return false;">
290
- <span class="method-name">delete_file</span><span class="method-args">(filename)</span>
291
- </a>
292
- </div>
293
-
294
- <div class="method-description">
295
- </div>
296
- </div>
297
-
298
- <div id="method-M000138" class="method-detail">
299
- <a name="M000138"></a>
300
-
301
- <div class="method-heading">
302
- <a href="DOSDisk.src/M000138.html" target="Code" class="method-signature"
303
- onclick="popupCode('DOSDisk.src/M000138.html');return false;">
304
- <span class="method-name">dump_catalog</span><span class="method-args">()</span>
305
- </a>
306
- </div>
307
-
308
- <div class="method-description">
309
- </div>
310
- </div>
311
-
312
- <div id="method-M000127" class="method-detail">
313
- <a name="M000127"></a>
314
-
315
- <div class="method-heading">
316
- <a href="DOSDisk.src/M000127.html" target="Code" class="method-signature"
317
- onclick="popupCode('DOSDisk.src/M000127.html');return false;">
318
- <span class="method-name">dump_catalog</span><span class="method-args">()</span>
319
- </a>
320
- </div>
321
-
322
- <div class="method-description">
323
- </div>
324
- </div>
325
-
326
- <div id="method-M000139" class="method-detail">
327
- <a name="M000139"></a>
328
-
329
- <div class="method-heading">
330
- <a href="DOSDisk.src/M000139.html" target="Code" class="method-signature"
331
- onclick="popupCode('DOSDisk.src/M000139.html');return false;">
332
- <span class="method-name">file_system</span><span class="method-args">()</span>
333
- </a>
334
- </div>
335
-
336
- <div class="method-description">
337
- </div>
338
- </div>
339
-
340
- <div id="method-M000128" class="method-detail">
341
- <a name="M000128"></a>
342
-
343
- <div class="method-heading">
344
- <a href="DOSDisk.src/M000128.html" target="Code" class="method-signature"
345
- onclick="popupCode('DOSDisk.src/M000128.html');return false;">
346
- <span class="method-name">file_system</span><span class="method-args">()</span>
347
- </a>
348
- </div>
349
-
350
- <div class="method-description">
351
- </div>
352
- </div>
353
-
354
- <div id="method-M000132" class="method-detail">
355
- <a name="M000132"></a>
356
-
357
- <div class="method-heading">
358
- <a href="DOSDisk.src/M000132.html" target="Code" class="method-signature"
359
- onclick="popupCode('DOSDisk.src/M000132.html');return false;">
360
- <span class="method-name">find_catalog_slot</span><span class="method-args">(filename)</span>
361
- </a>
362
- </div>
363
-
364
- <div class="method-description">
365
- <p>
366
- iterate through the CATALOG to find either the named file or (if nil is
367
- passed in) an empty slot
368
- </p>
369
- </div>
370
- </div>
371
-
372
- <div id="method-M000143" class="method-detail">
373
- <a name="M000143"></a>
374
-
375
- <div class="method-heading">
376
- <a href="DOSDisk.src/M000143.html" target="Code" class="method-signature"
377
- onclick="popupCode('DOSDisk.src/M000143.html');return false;">
378
- <span class="method-name">find_catalog_slot</span><span class="method-args">(filename)</span>
379
- </a>
380
- </div>
381
-
382
- <div class="method-description">
383
- <p>
384
- iterate through the CATALOG to find either the named file or (if nil is
385
- passed in) an empty slot
386
- </p>
387
- </div>
388
- </div>
389
-
390
- <div id="method-M000144" class="method-detail">
391
- <a name="M000144"></a>
392
-
393
- <div class="method-heading">
394
- <a href="DOSDisk.src/M000144.html" target="Code" class="method-signature"
395
- onclick="popupCode('DOSDisk.src/M000144.html');return false;">
396
- <span class="method-name">free_sector_list</span><span class="method-args">()</span>
397
- </a>
398
- </div>
399
-
400
- <div class="method-description">
401
- <p>
402
- iterate through the sector usage bitmap, return a list of [track,sector]
403
- for sectors marked available
404
- </p>
405
- </div>
406
- </div>
407
-
408
- <div id="method-M000133" class="method-detail">
409
- <a name="M000133"></a>
410
-
411
- <div class="method-heading">
412
- <a href="DOSDisk.src/M000133.html" target="Code" class="method-signature"
413
- onclick="popupCode('DOSDisk.src/M000133.html');return false;">
414
- <span class="method-name">free_sector_list</span><span class="method-args">()</span>
415
- </a>
416
- </div>
417
-
418
- <div class="method-description">
419
- <p>
420
- iterate through the sector usage bitmap, return a list of [track,sector]
421
- for sectors marked available
422
- </p>
423
- </div>
424
- </div>
425
-
426
- <div id="method-M000134" class="method-detail">
427
- <a name="M000134"></a>
428
-
429
- <div class="method-heading">
430
- <a href="DOSDisk.src/M000134.html" target="Code" class="method-signature"
431
- onclick="popupCode('DOSDisk.src/M000134.html');return false;">
432
- <span class="method-name">get_track_sector_list</span><span class="method-args">(ts_list_track_no,ts_list_sector_no)</span>
433
- </a>
434
- </div>
435
-
436
- <div class="method-description">
437
- <p>
438
- given a track and sector, treat it as a track/sector list and return an
439
- array containing track/sector pairs
440
- </p>
441
- </div>
442
- </div>
443
-
444
- <div id="method-M000141" class="method-detail">
445
- <a name="M000141"></a>
446
-
447
- <div class="method-heading">
448
- <a href="DOSDisk.src/M000141.html" target="Code" class="method-signature"
449
- onclick="popupCode('DOSDisk.src/M000141.html');return false;">
450
- <span class="method-name">make_file</span><span class="method-args">(filename,contents,file_options={})</span>
451
- </a>
452
- </div>
453
-
454
- <div class="method-description">
455
- <p>
456
- default file type is <a href="TextFile.html">TextFile</a> Tokenisation not
457
- currently implemented
458
- </p>
459
- </div>
460
- </div>
461
-
462
- <div id="method-M000130" class="method-detail">
463
- <a name="M000130"></a>
464
-
465
- <div class="method-heading">
466
- <a href="DOSDisk.src/M000130.html" target="Code" class="method-signature"
467
- onclick="popupCode('DOSDisk.src/M000130.html');return false;">
468
- <span class="method-name">make_file</span><span class="method-args">(filename,contents,file_options={})</span>
469
- </a>
470
- </div>
471
-
472
- <div class="method-description">
473
- <p>
474
- default file type is <a href="TextFile.html">TextFile</a> Tokenisation not
475
- currently implemented
476
- </p>
477
- </div>
478
- </div>
479
-
480
- <div id="method-M000131" class="method-detail">
481
- <a name="M000131"></a>
482
-
483
- <div class="method-heading">
484
- <a href="DOSDisk.src/M000131.html" target="Code" class="method-signature"
485
- onclick="popupCode('DOSDisk.src/M000131.html');return false;">
486
- <span class="method-name">read_vtoc</span><span class="method-args">()</span>
487
- </a>
488
- </div>
489
-
490
- <div class="method-description">
491
- <p>
492
- reads the VTOC, and populate the &quot;files&quot; array with files
493
- </p>
494
- </div>
495
- </div>
496
-
497
- <div id="method-M000142" class="method-detail">
498
- <a name="M000142"></a>
499
-
500
- <div class="method-heading">
501
- <a href="DOSDisk.src/M000142.html" target="Code" class="method-signature"
502
- onclick="popupCode('DOSDisk.src/M000142.html');return false;">
503
- <span class="method-name">read_vtoc</span><span class="method-args">()</span>
504
- </a>
505
- </div>
506
-
507
- <div class="method-description">
508
- <p>
509
- reads the VTOC, and populate the &quot;files&quot; array with files
510
- </p>
511
- </div>
512
- </div>
513
-
514
- <div id="method-M000136" class="method-detail">
515
- <a name="M000136"></a>
516
-
517
- <div class="method-heading">
518
- <a href="DOSDisk.src/M000136.html" target="Code" class="method-signature"
519
- onclick="popupCode('DOSDisk.src/M000136.html');return false;">
520
- <span class="method-name">set_sector</span><span class="method-args">(track,sector,contents)</span>
521
- </a>
522
- </div>
523
-
524
- <div class="method-description">
525
- </div>
526
- </div>
527
-
528
-
529
- </div>
530
-
531
-
532
- </div>
533
-
534
-
535
- <div id="validator-badges">
536
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
537
- </div>
538
-
539
- </body>
540
- </html>