Rename 2013/runme to cable3.sh
This is to be consistent with other entries that have wrapper scripts for the entry which are named winner.sh.
This commit is contained in:
1 parent
3419e33e97
commit
3319013864
4 files changed
+9
-7
No files matched your search
@@ -119,7 +119,7 @@ ENTRY= cable3
|
|||||||
PROG= ${ENTRY}
|
PROG= ${ENTRY}
|
||||||
#
|
#
|
||||||
OBJ= ${PROG}.o
|
OBJ= ${PROG}.o
|
||||||
DATA= bios fd.img runme sc-ioccc.terminal screenshot_autocad.png \
|
DATA= bios fd.img cable3.sh sc-ioccc.terminal screenshot_autocad.png \
|
||||||
screenshot_flightsim4.png screenshot_lotus123.png screenshot_qbasic.png \
|
screenshot_flightsim4.png screenshot_lotus123.png screenshot_qbasic.png \
|
||||||
screenshot_simcity.png screenshot_win3_on_macosx.png
|
screenshot_simcity.png screenshot_win3_on_macosx.png
|
||||||
TARGET= ${PROG}
|
TARGET= ${PROG}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ available. See the [Alternate code](#alternate-code) section below.
|
|||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./runme
|
./cable3.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
NOTE: to quit the program type `QUITEMU`. You might have to be at the top level
|
NOTE: to quit the program type `QUITEMU`. You might have to be at the top level
|
||||||
@@ -211,7 +211,7 @@ stty cbreak raw -echo min 0
|
|||||||
stty cooked echo
|
stty cooked echo
|
||||||
```
|
```
|
||||||
|
|
||||||
See the [runme](runme) script.
|
See the [cable3.sh](cable3.sh) script.
|
||||||
|
|
||||||
## To use the emulator - floppy mode only
|
## To use the emulator - floppy mode only
|
||||||
|
|
||||||
@@ -221,7 +221,7 @@ the `fd.img` provided, which is a FreeDOS boot disk.
|
|||||||
Before running the emulator on a Unix-type system, `stty` needs to be used to
|
Before running the emulator on a Unix-type system, `stty` needs to be used to
|
||||||
put the keyboard into raw mode (and afterwards it needs to be put back to
|
put the keyboard into raw mode (and afterwards it needs to be put back to
|
||||||
cooked). So, run the emulator using something like this script (provided as
|
cooked). So, run the emulator using something like this script (provided as
|
||||||
[runme](runme)):
|
[cable3.sh](cable3.sh)):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
stty cbreak raw -echo min 0
|
stty cbreak raw -echo min 0
|
||||||
|
|||||||
File renamed without changes.
+5
-3
@@ -3903,9 +3903,11 @@ Later on in an updated macOS (problem discovered in macOS Sonoma) the entry
|
|||||||
failed to compile again also due to `localtime()` so he removed the prototype
|
failed to compile again also due to `localtime()` so he removed the prototype
|
||||||
entirely to solve the problem.
|
entirely to solve the problem.
|
||||||
|
|
||||||
Cody also slightly improved the `runme` script to not assume that the program has
|
Cody also slightly improved the `runme` script (renamed to
|
||||||
been compiled by running `make clobber all || exit 1` and he also made it pass
|
[cable3.sh](/2013/cable3/cable3.sh) for consistency with other entries that have
|
||||||
`shellcheck` (using `[[ .. ]]` over `[ .. ]`).
|
wrapper scripts) to not assume that the program has been compiled by running
|
||||||
|
`make clobber all || exit 1` and he also made it pass `shellcheck` (using `[[ ..
|
||||||
|
]]` over `[ .. ]`).
|
||||||
|
|
||||||
As well, based on the author's remarks, Cody added the [alternate
|
As well, based on the author's remarks, Cody added the [alternate
|
||||||
code](/2013/cable3/cable3.alt.c) which should be compilable for Windows/MS Visual
|
code](/2013/cable3/cable3.alt.c) which should be compilable for Windows/MS Visual
|
||||||
|
|||||||
Reference in new issue
Block a user