Fixes/clarifications in 2006/toledo[23]/index.html

This commit is contained in:
Cody Boone Ferguson committed 2024-10-24 10:15:08 -07:00
1 parent 66e0c539d3
commit 31afcfabe8
4 files changed
+24 -16

No files matched your search

+3 -2
View File
@@ -48,8 +48,9 @@ To end the program hit ctrl-z.
## Alternate code: ## Alternate code:
This version, as noted, should work for DOS/Windows. It uses non-standard This version, as noted above, should work for DOS/Windows. It uses non-standard
functions in place of `read(2)` and `write(2)`. functions in place of `read(2)` and `write(2)`, and is based on the author's
remarks.
### Alternate build: ### Alternate build:
+3 -2
View File
@@ -432,8 +432,9 @@ does not seem to happen in macOS or linux in 2023.</p>
RUN</code></pre> RUN</code></pre>
<p>To end the program hit ctrl-z.</p> <p>To end the program hit ctrl-z.</p>
<h2 id="alternate-code">Alternate code:</h2> <h2 id="alternate-code">Alternate code:</h2>
<p>This version, as noted, should work for DOS/Windows. It uses non-standard <p>This version, as noted above, should work for DOS/Windows. It uses non-standard
functions in place of <code>read(2)</code> and <code>write(2)</code>.</p> functions in place of <code>read(2)</code> and <code>write(2)</code>, and is based on the author’s
remarks.</p>
<h3 id="alternate-build">Alternate build:</h3> <h3 id="alternate-build">Alternate build:</h3>
<pre><code> make alt</code></pre> <pre><code> make alt</code></pre>
<h3 id="alternate-use">Alternate use:</h3> <h3 id="alternate-use">Alternate use:</h3>
+9 -6
View File
@@ -9,7 +9,7 @@ compile. For more information see the
FAQ on "[X11](../../faq.html#X11)". FAQ on "[X11](../../faq.html#X11)".
The author provided two alternate versions, one which adds a status bar and The author provided two alternate versions, one which adds a status bar and
another that makes it text only. The author also provided a version that they another that makes it text only. The author also described a version that they
tested with Windows. See [Alternate code](#alternate-code) below. tested with Windows. See [Alternate code](#alternate-code) below.
@@ -29,16 +29,19 @@ tested with Windows. See [Alternate code](#alternate-code) below.
## Alternate code: ## Alternate code:
The author provided two additional versions, [toledo3-sbar.c](%%REPO_URL%%/2006/toledo3/toledo3-sbar.c) The author provided two additional versions,
and [toledo3-txt.c](%%REPO_URL%%/2006/toledo3/toledo3-txt.c). Respectively these create a status bar and [toledo3-sbar.c](%%REPO_URL%%/2006/toledo3/toledo3-sbar.c) and
make the game text only. [toledo3-txt.c](%%REPO_URL%%/2006/toledo3/toledo3-txt.c). Respectively these
create a status bar and make the game text only. Based on the author's remarks,
another version, [toledo3.alt.c](%%REPO_URL%%/2006/toledo3/toledo3.alt.c), was
added that should work with Windows.
### Alternate build: ### Alternate build:
With the exception of the Windows version, these are built by default. To build With the exception of the Windows version, these are built by default. To build
the Windows version, [toledo3.alt.c](%%REPO_URL%%/2006/toledo3/toledo3.alt.c), you will have to figure out the Windows version, [toledo3.alt.c](%%REPO_URL%%/2006/toledo3/toledo3.alt.c),
how to compile Windows code. you will have to figure out how to compile Windows code.
### Alternate use: ### Alternate use:
+9 -6
View File
@@ -414,20 +414,23 @@ Location: <a href="../../location.html#MX">MX</a> - <em>United Mexican States</e
compile. For more information see the compile. For more information see the
FAQ on “<a href="../../faq.html#X11">X11</a>”.</p> FAQ on “<a href="../../faq.html#X11">X11</a>”.</p>
<p>The author provided two alternate versions, one which adds a status bar and <p>The author provided two alternate versions, one which adds a status bar and
another that makes it text only. The author also provided a version that they another that makes it text only. The author also described a version that they
tested with Windows. See <a href="#alternate-code">Alternate code</a> below.</p> tested with Windows. See <a href="#alternate-code">Alternate code</a> below.</p>
<h2 id="to-use">To use:</h2> <h2 id="to-use">To use:</h2>
<pre><code> ./toledo3 [1 | 2 | 3 [b]]</code></pre> <pre><code> ./toledo3 [1 | 2 | 3 [b]]</code></pre>
<h2 id="try">Try:</h2> <h2 id="try">Try:</h2>
<pre><code> ./toledo3 1</code></pre> <pre><code> ./toledo3 1</code></pre>
<h2 id="alternate-code">Alternate code:</h2> <h2 id="alternate-code">Alternate code:</h2>
<p>The author provided two additional versions, <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/toledo3/toledo3-sbar.c">toledo3-sbar.c</a> <p>The author provided two additional versions,
and <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/toledo3/toledo3-txt.c">toledo3-txt.c</a>. Respectively these create a status bar and <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/toledo3/toledo3-sbar.c">toledo3-sbar.c</a> and
make the game text only.</p> <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/toledo3/toledo3-txt.c">toledo3-txt.c</a>. Respectively these
create a status bar and make the game text only. Based on the author’s remarks,
another version, <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/toledo3/toledo3.alt.c">toledo3.alt.c</a>, was
added that should work with Windows.</p>
<h3 id="alternate-build">Alternate build:</h3> <h3 id="alternate-build">Alternate build:</h3>
<p>With the exception of the Windows version, these are built by default. To build <p>With the exception of the Windows version, these are built by default. To build
the Windows version, <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/toledo3/toledo3.alt.c">toledo3.alt.c</a>, you will have to figure out the Windows version, <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2006/toledo3/toledo3.alt.c">toledo3.alt.c</a>,
how to compile Windows code.</p> you will have to figure out how to compile Windows code.</p>
<h3 id="alternate-use">Alternate use:</h3> <h3 id="alternate-use">Alternate use:</h3>
<p>Use <code>toledo3-sbar</code> and <code>toledo3-txt</code> as you would <code>toledo3</code> above.</p> <p>Use <code>toledo3-sbar</code> and <code>toledo3-txt</code> as you would <code>toledo3</code> above.</p>
<p>As for the Windows version, <code>toledo3.alt</code>, we presume you can open it like any <p>As for the Windows version, <code>toledo3.alt</code>, we presume you can open it like any