add rules, guidelines, fix HTML code, move compressed tarball in inventory
By changing the _inventory_order_ of the compressed tarball from
**100000** to **1415926535**, the compressed tarball will land at
the top of the secondary file list and remain still easy to find.
Updated the `manifest.numbers` spreadsheet and rebuilt
the `.entry.json` files.
Added `next/` directory to hold the next IOCCC rules and guidelines.
Added `next/README.md` that `bin/gen-top-html.sh` uses to form
the `next/index.html` file.
Added _Rules and Guidelines_ link to the sidenav bar to link to the
`next/index.html` file.
Added _IOCCC Rules_ as `next/rules.md` that `bin/gen-top-html.sh`
uses to form the `next/rules.html` file.
Added _IOCCC Guidelines_ as `next/guidelines.md` that `bin/gen-top-html.sh`
uses to form the `next/guidelines.html` file.
Changed `bin/gen-top-html.sh` VERSION from "1.2.4 2024-04-13"
to "1.3 2024-04-14".
Prevent `pandoc(1)` from interpreting the commented out language
of a markdown code block as a code class. So a markdown such as:
````
``` <!---sh-->
...
```
````
that produced HTML of the form:
```html
<pre class="<!---sh-->"><code>...</code></pre>
```
will now produce HTML of the form:
```html
<pre><code>...</code></pre>
```
NOTE: Before when the language of a markdown code block
was not commented, the HTML produced by `pandoc(1)` was
oddly indented with extra whitespace on the first line
of the code block. While commenting out the language
of the code block removed some of the odd intending,
it left a weird class in the HTML pre block that
surrounded the HTML code block. This hack prevents
`pandoc(1)` from assigning a class to the HTML pre block.
Changed `in/md2html.sh` VERSION from "1.2.1 2024-04-13"
to "1.3 2024-04-14".
Added `make gen_sitemap` to end of both `make www` and `make
quick_www` in top level Makefile.
Ram `make www` to test under macOS and to perform the above.
**IMPORTANT NOTE**: The current `next/rules.md` and `next/guidelines.md`
are simply the 2020 IOCCC Rules and Guidelines converted into
markdown form. There are **NOT** the Rules and Guidelines that
will be used the IOCCC MOCK, nor the next IOCCC.
TODO: Improve the `bin/gen-status.sh` tool to modify the top of the
`next/rules.md` and `next/guidelines.md` files to keep them
in sync with the _contest_status_ as found in `status.json`.
TODO: Improve the look and feel of the `next/rules.md` and
`next/guidelines.md` markdown files.
This commit is contained in:
1 parent
a672335d2d
commit
518a6336d0
734 files changed
+7919
-4119
No files matched your search
+13
-12
@@ -88,6 +88,7 @@
|
||||
<div class="sidenav">
|
||||
<a href="../../news.html">IOCCC News</a>
|
||||
<a href="../../status.html">Contest status</a>
|
||||
<a href="../../next/index.html">Rules and Guidelines</a>
|
||||
<a href="../../faq.html#submit">How to enter the IOCCC</a>
|
||||
<a href="../../faq.html">FAQ</a>
|
||||
</div>
|
||||
@@ -141,15 +142,15 @@ Location: <a href="../../location.html#FI">FI</a> - <em>Republic of Finland </em
|
||||
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
||||
|
||||
<h2 id="to-build">To build:</h2>
|
||||
<pre class="<!---sh-->"><code> make</code></pre>
|
||||
<pre><code> make</code></pre>
|
||||
<h3 id="bugs-and-misfeatures">Bugs and (Mis)features:</h3>
|
||||
<p>The current status of this entry is:</p>
|
||||
<pre><code> STATUS: INABIAF - please **DO NOT** fix</code></pre>
|
||||
<p>For more detailed information see <a href="../../bugs.html#2005_sykes">2005 sykes bugs</a>.</p>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
<pre class="<!---sh-->"><code> ./sykes binary_file</code></pre>
|
||||
<pre><code> ./sykes binary_file</code></pre>
|
||||
<h2 id="try">Try:</h2>
|
||||
<pre class="<!---sh-->"><code> ./try.sh</code></pre>
|
||||
<pre><code> ./try.sh</code></pre>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>For those who fondly remember their first
|
||||
<a href="https://en.wikipedia.org/wiki/Commodore_PET">PET</a>, this entry will start you
|
||||
@@ -160,12 +161,12 @@ after the C pre-processor gets finished with it!</p>
|
||||
<p>We downloaded the <a href="https://en.wikipedia.org/wiki/ROM_image">ROM</a> contents to use
|
||||
the <a href="https://en.wikipedia.org/wiki/Emulator">emulator</a> in
|
||||
<a href="https://en.wikipedia.org/wiki/Commodore_PET">PET</a> mode as follows:</p>
|
||||
<pre class="<!---sh-->"><code> wget http://www.zimmers.net/anonftp/pub/cbm/firmware/computers/pet/basic-2-c000.901465-01.bin
|
||||
<pre><code> wget http://www.zimmers.net/anonftp/pub/cbm/firmware/computers/pet/basic-2-c000.901465-01.bin
|
||||
wget http://www.zimmers.net/anonftp/pub/cbm/firmware/computers/pet/basic-2-d000.901465-02.bin
|
||||
wget http://www.zimmers.net/anonftp/pub/cbm/firmware/computers/pet/edit-2-n.901447-24.bin
|
||||
wget http://www.zimmers.net/anonftp/pub/cbm/firmware/computers/pet/kernal-2.901465-03.bin</code></pre>
|
||||
<p>We then created:</p>
|
||||
<pre class="<!---sh-->"><code> dd bs=2k count=1 if=/dev/zero of=nullfill.bin</code></pre>
|
||||
<pre><code> dd bs=2k count=1 if=/dev/zero of=nullfill.bin</code></pre>
|
||||
<p>For your convenience, we have added the above mentioned files to this entry directory.
|
||||
They were used to form the <code>pet.rom</code> file.</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
@@ -180,7 +181,7 @@ to not infringe the rules.</p>
|
||||
<p>Compile the program, then test the
|
||||
<a href="https://en.wikipedia.org/wiki/MOS_Technology_6502#Technical_description">6502</a>
|
||||
<a href="https://en.wikipedia.org/wiki/Emulator">emulation</a> like this:</p>
|
||||
<pre class="<!---sh-->"><code> ./sykes 6502test</code></pre>
|
||||
<pre><code> ./sykes 6502test</code></pre>
|
||||
<p>A basic test is done for each instruction and addressing mode, all tests
|
||||
should pass. At the end of the tests, it loops forever - break out with
|
||||
control-C.</p>
|
||||
@@ -196,15 +197,15 @@ Transactor.</p>
|
||||
<p>Make sure you have a <a href="https://en.wikipedia.org/wiki/Terminal_emulator">terminal
|
||||
window</a> of 40x25 chars or
|
||||
bigger, and then run the emulator like this:</p>
|
||||
<pre class="<!---sh-->"><code> ./sykes pet.rom</code></pre>
|
||||
<pre><code> ./sykes pet.rom</code></pre>
|
||||
<p>You should see the startup message. Try typing in some
|
||||
<a href="https://en.wikipedia.org/wiki/BASIC">BASIC</a> - for instance:</p>
|
||||
<pre><code> PRINT "HELLO, WORLD"</code></pre>
|
||||
<p>There is an optional numeric parameter, which controls the speed. For a
|
||||
slower cursor blink, try</p>
|
||||
<pre class="<!---sh-->"><code> ./sykes pet.rom 6</code></pre>
|
||||
<pre><code> ./sykes pet.rom 6</code></pre>
|
||||
<p>and for faster</p>
|
||||
<pre class="<!---sh-->"><code> ./sykes pet.rom 2</code></pre>
|
||||
<pre><code> ./sykes pet.rom 2</code></pre>
|
||||
<p>The default is 4.</p>
|
||||
<p>The control keys are as follows:</p>
|
||||
<pre><code> ^A HOME
|
||||
@@ -243,7 +244,7 @@ The filenames must be upper case in order to be loaded by the emulator.</p>
|
||||
<p>Supplied as a demonstration is a
|
||||
compiled-for-<a href="https://en.wikipedia.org/wiki/MOS_Technology_6502#Technical_description">6502</a>
|
||||
version a chess program (heh, I found a use for a previous losing entry :) ). Try:</p>
|
||||
<pre class="<!---sh-->"><code> ./sykes chess</code></pre>
|
||||
<pre><code> ./sykes chess</code></pre>
|
||||
<p>It works as you would expect (it plays very badly). There’s no castling
|
||||
or en-passant, and to win you must actually take the opponent’s king.</p>
|
||||
<p>You can write your own programs too, any <a href="https://en.wikibooks.org/wiki/6502_Assembly">6502
|
||||
@@ -327,7 +328,7 @@ course, the <code>pet.rom</code> is not my work. So I ask the user to download i
|
||||
from the Internet. This is to avoid directly infringing any copyright.</p>
|
||||
<h3 id="finally">Finally</h3>
|
||||
<p>What does this do?</p>
|
||||
<pre class="<!---sh-->"><code> ./sykes pet.rom -1</code></pre>
|
||||
<pre><code> ./sykes pet.rom -1</code></pre>
|
||||
<p>Have fun!</p>
|
||||
<!--
|
||||
|
||||
@@ -357,10 +358,10 @@ from the Internet. This is to avoid directly infringing any copyright.</p>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/sykes/sykes.orig.c">sykes.orig.c</a> - original source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/sykes/test.sh">test.sh</a> - test tool</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2005/sykes/try.sh">try.sh</a> - how to run</li>
|
||||
<li><a href="2005_sykes.tar.bz2">2005_sykes.tar.bz2</a> - download entry tarball</li>
|
||||
</ul>
|
||||
<h2 id="secondary-files">Secondary files</h2>
|
||||
<ul>
|
||||
<li><a href="2005_sykes.tar.bz2">2005_sykes.tar.bz2</a> - download entry tarball</li>
|
||||
<li><a href="index.html">index.html</a> - this web page</li>
|
||||
<li><a href="6502test">6502test</a> - 6502 test utility</li>
|
||||
<li><a href="DEMO">DEMO</a> - demo for Commodore PET</li>
|
||||
|
||||
Reference in new issue
Block a user