Sha256: 65182400e32f1239b67a5403a703b7b77f7dae6e54e41feacc4173809e1f8ab9

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>load_address (AppleHiResPic)</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/native_file_types/apple2/AppleHiResPic.rb, line 73</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">load_address</span>
  <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">file_system_image</span>.<span class="ruby-identifier">file_system</span><span class="ruby-operator">==</span><span class="ruby-constant">AppleDos</span> <span class="ruby-keyword kw">then</span>
    <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">contents</span>[<span class="ruby-value">0</span>]<span class="ruby-operator">+</span><span class="ruby-identifier">contents</span>[<span class="ruby-value">1</span>]<span class="ruby-operator">*</span><span class="ruby-value">256</span>
  <span class="ruby-keyword kw">else</span>
    <span class="ruby-keyword kw">return</span> <span class="ruby-value">0x2000</span>
  <span class="ruby-keyword kw">end</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ripxplore-0.0.2 doc/classes/AppleHiResPic.src/M000085.html
ripxplore-0.0.1 doc/classes/AppleHiResPic.src/M000085.html