<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Move-to-Github :: Tag :: JP&#39;s Domain</title>
    <link>https://www.jpsdomain.org/tags/move-to-github/index.html</link>
    <description></description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="https://www.jpsdomain.org/tags/move-to-github/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Black Page</title>
      <link>https://www.jpsdomain.org/source/blacksrc/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://www.jpsdomain.org/source/blacksrc/index.html</guid>
      <description>Description Programs to print a BLACK page to an HP LaserJet. I plan to move this to https://github.com/vossenjp/ at some point…&#xA;C Source #include &lt;stdio.h&gt; /* Program to print a BLACK page to an HP LaserJet */ main() { /* begin of main */ printf(&#34;\n\n\nBlack PC Computing October 1991&#34;); printf(&#34;\n\nNow printing black page...\n&#34;); fprintf(stdprn,&#34;%c%s&#34;,&#39;\33&#39;,&#34;&amp;l0E&#34;); fprintf(stdprn,&#34;%c%s&#34;,&#39;\33&#39;,&#34;&amp;l0L&#34;); fprintf(stdprn,&#34;%c%s&#34;,&#39;\33&#39;,&#34;*p0x0Y&#34;); fprintf(stdprn,&#34;%c%s&#34;,&#39;\33&#39;,&#34;*c2400a3300B&#34;); fprintf(stdprn,&#34;%c%s&#34;,&#39;\33&#39;,&#34;*c0P&#34;); fprintf(stdprn,&#34;%c%s&#34;,&#39;\33&#39;,&#34;E&#34;); } /* end of main */ BASIC Source 10 REM Program to print a BLACK page on an HP LaserJet 20 PRINT : PRINT : PRINT &#34;BLACK PC Computing October 1991&#34; 30 PRINT : PRINT &#34;Now printing Black page...&#34; 40 OPEN &#34;lpt1&#34; FOR OUTPUT AS #1 50 PRINT #1, CHR$(27) + &#34;&amp;l0E&#34; 60 PRINT #1, CHR$(27) + &#34;&amp;l0L&#34; 70 PRINT #1, CHR$(27) + &#34;*p0x0Y&#34; 80 PRINT #1, CHR$(27) + &#34;*c2400a3300B&#34; 90 PRINT #1, CHR$(27) + &#34;*c0P&#34; 100 PRINT #1, CHR$(27) + &#34;E&#34; 110 CLOSE #1</description>
    </item>
    <item>
      <title>Perl Source Code</title>
      <link>https://www.jpsdomain.org/source/perl/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://www.jpsdomain.org/source/perl/index.html</guid>
      <description>Description I plan to move all of this to https://github.com/vossenjp/ at some point…&#xA;When saving, rename from *.pl.txt to *.pl or whatever you use for Perl. If using on Unix, you may need to convert CRLF to LF, and modify the “shebang” line (e.g. #!/usr/local/bin). “CleanUp” can fix the line termination. Or find a good dos2unix and unix2dos program like those found in the UNXUtils.</description>
    </item>
    <item>
      <title>Reboot Source Code</title>
      <link>https://www.jpsdomain.org/source/rebt-src/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://www.jpsdomain.org/source/rebt-src/index.html</guid>
      <description>Source Source Code for programs that reboot your PC. I plan to move this to https://github.com/vossenjp/ at some point…&#xA;Reboot.c #define MAGIC 0 /* for cold restart */ /* #define MAGIC 0x1234 /* for warm restart */ #define BOOT_SEG 0xffffL #define BOOT_OFF 0x0000L #define BOOT_ADR ((BOOT_SEG &lt;&lt; 16) | BOOT_OFF) #define DOS_SEG 0x0040L #define RESET_FLAG 0x0072L #define RESET_ADR ((DOS_SEG &lt;&lt; 16) | RESET_FLAG) main() { void ((far *fp)()) = (void (far *)()) BOOT_ADR; *(int far *)RESET_ADR = MAGIC; (*fp)(); return 0; /* never gets here, but keeps compiler happy */ } Reboot.bas REM From PC Mag, Vol11 Number 5 DECLARE SUB ReBoot (Warm%) CALL ReBoot(1) &#39;be sure to save this program before running it! SUB ReBoot (Warm%) STATIC IF Warm% THEN &#39;if they want a warm boot DEF SEG = 0 &#39;assign the value 1234 Hex POKE &amp;H473, &amp;H12 &#39;to address 0000:0473 Hex POKE &amp;H472, &amp;H34 END IF DEF SEG = &amp;HFFFF &#39;either way call the BIOS CALL Absolute(0) &#39;routine at FFFF:0000 Hex END SUB Assembly To use these “scripts” cut&amp;paste the source into a file, then issue the following command “debug &lt; cldboot.scr”.</description>
    </item>
    <item>
      <title>Old BASIC, C and other source code</title>
      <link>https://www.jpsdomain.org/source/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://www.jpsdomain.org/source/index.html</guid>
      <description>Old Content This content is old! It’s still useful, but it’s old, and there may be bit rot, newer/better tools or ways to do things. Sanity check and do your research.&#xA;Source Code I plan to move all of this to https://github.com/vossenjp/ at some point…&#xA;Batch Files See my Windows Shell Scripting page.</description>
    </item>
  </channel>
</rss>