doc/classes/ScreenDumps.src/M000500.html in ripxplore-0.15.1 vs doc/classes/ScreenDumps.src/M000500.html in ripxplore-0.16.1

- old
+ new

@@ -3,20 +3,33 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>save_screendump (ScreenDumps)</title> + <title>test_screen_dumps (ScreenDumps)</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 test/tc_screen_dumps.rb, line 8</span> - <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save_screendump</span>(<span class="ruby-identifier">bytes</span>) - <span class="ruby-identifier">filename</span>=<span class="ruby-node">&quot;#{IMAGE_TEST_DIR}//#{@@counter}.png&quot;</span> - <span class="ruby-identifier">file</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;wb&quot;</span>) - <span class="ruby-identifier">file</span><span class="ruby-operator">&lt;&lt;</span><span class="ruby-identifier">bytes</span> - <span class="ruby-identifier">file</span>.<span class="ruby-identifier">close</span> - <span class="ruby-ivar">@@counter</span><span class="ruby-operator">+=</span><span class="ruby-value">1</span> + <pre><span class="ruby-comment cmt"># File test/tc_screen_dumps.rb, line 26</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_screen_dumps</span> + <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span>(<span class="ruby-constant">IMAGE_TEST_DIR</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-constant">IMAGE_TEST_DIR</span>) + <span class="ruby-comment cmt">#~ save_screendump(Apple2.to_screendump(&quot;test&quot;)) </span> + <span class="ruby-comment cmt">#~ save_screendump(Apple2.to_screendump(&quot;test2 &quot;*1024)) </span> + <span class="ruby-comment cmt">#~ save_screendump(Trs80.to_screendump(&quot;TRS 80&quot;)) </span> + <span class="ruby-comment cmt">#~ save_screendump(Trs80.to_screendump(&quot;test2 &quot;*1024)) </span> +<span class="ruby-comment cmt"># save_screendump_for_file(&quot;c64seq.d64&quot;,&quot;antidote.seq&quot;) </span> +<span class="ruby-comment cmt"># save_screendump_for_file(&quot;c64seq.d64&quot;,&quot;params.seq&quot;) </span> + + <span class="ruby-identifier">save_screendump_for_file</span>(<span class="ruby-value str">&quot;http://www.robohara.com/temp/d64/OKK-098B.d64&quot;</span>,<span class="ruby-value str">&quot;rad wars&quot;</span>) + <span class="ruby-identifier">save_screendump_for_file</span>(<span class="ruby-value str">&quot;http://commodorefiles.zapto.org/Commodore%20Software/Zimmers/cbm/plus4/magazines/Synergy/Signals%2007-1.d64.gz&quot;</span>,<span class="ruby-value str">&quot;-g.mail&quot;</span>) + <span class="ruby-identifier">save_screendump_for_file</span>(<span class="ruby-value str">&quot;http://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Interface%20Cards/Accelerators/Zip%20GSX/Disk%20Images/Zip%20GSX%20Utility%20and%20Install%20Disk.po&quot;</span>,<span class="ruby-value str">&quot;ZIPGS.SDK.TXT&quot;</span>) + <span class="ruby-identifier">save_screendump_for_file</span>(<span class="ruby-value str">&quot;http://www.atariarchives.org/oldhackers/OHAMJ00A.ATR&quot;</span>,<span class="ruby-value str">&quot;JOYSTCK.TXT&quot;</span>) + <span class="ruby-identifier">save_screendump_for_file</span>(<span class="ruby-value str">&quot;http://mirrors.apple2.org.za/landover.no-ip.com/Applications/Amdos%20V3.5%20(1986)(Gary%20B.%20Little).dsk&quot;</span>,<span class="ruby-value str">&quot;AMDOS.DOC&quot;</span>) + <span class="ruby-identifier">save_screendump_for_file</span>(<span class="ruby-value str">&quot;http://mirrors.apple2.org.za/landover.no-ip.com/Applications/Cat-Fur%202.0%20(19xx)(-).dsk&quot;</span>,<span class="ruby-value str">&quot;DOCS.FUR&quot;</span>) + <span class="ruby-identifier">save_screendump_for_file</span>(<span class="ruby-value str">&quot;http://disk-images.jamtronix.com/trs80/D411.DSK.gz&quot;</span>,<span class="ruby-value str">'MD3GAM01/TXT'</span>) + <span class="ruby-identifier">save_screendump_for_file</span>(<span class="ruby-value str">&quot;http://disk-images.jamtronix.com/trs80/D420.DSK.gz&quot;</span>,<span class="ruby-value str">'JCL/DOC'</span>) +<span class="ruby-comment cmt"># save_screendump_for_file(&quot;http://www.zimmers.net/anonftp/pub/cbm/c64/magazines/Ahoy/1986-01.d64.gz&quot;,&quot;sketcher.s&quot;) </span> +<span class="ruby-comment cmt"># save_screendump_for_file(&quot;ftp://ftp.whtech.com/emulators/pc99/games/games23.dsk&quot;,&quot;4AFLYERDOC&quot;) </span> <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file