doc/classes/Atr.src/M000046.html in ripxplore-0.17.0 vs doc/classes/Atr.src/M000046.html in ripxplore-0.17.1
- old
+ new
@@ -3,16 +3,17 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>host_system (Atr)</title>
+ <title>sectors_in_track (Atr)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/image_formats/Atr.rb, line 23</span>
-<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">host_system</span>
- <span class="ruby-constant">Atari800</span>
+ <pre><span class="ruby-comment cmt"># File lib/image_formats/Atr.rb, line 30</span>
+<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sectors_in_track</span>(<span class="ruby-identifier">track_no</span>)
+ <span class="ruby-identifier">first_sector</span>=<span class="ruby-identifier">track_no</span><span class="ruby-operator">*</span><span class="ruby-constant">ATR_SECTORS_PER_TRACK</span>
+ (<span class="ruby-identifier">first_sector</span><span class="ruby-operator">..</span><span class="ruby-identifier">first_sector</span><span class="ruby-operator">+</span><span class="ruby-constant">ATR_SECTORS_PER_TRACK</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>).<span class="ruby-identifier">collect</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file