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