Add alt code to 2006/toledo2

The alt code is based on the author's remarks that should allow users
with non-standard systems like DOS/Windows which have conio.h to use
this program, replacing read(2) and write(2) syscalls. It need hardly be
mentioned that I have no way of testing this so it's possible I did
something wrong but it seems not the case (whether anything has changed
since 2006 that might also break it is unknown).

The bug status has been updated both that one bug is not actually a bug
but appeared to be a typo and there also appears to be a missing file
(IMPORT.COM).
This commit is contained in:
Cody Boone Ferguson committed 2023-11-01 07:30:55 -07:00
1 parent 0c4fab88b3
commit 5ffcd2b731
4 files changed
+40 -31

No files matched your search

+7 -15
View File
@@ -1534,28 +1534,20 @@ not crash in macOS (it appeared to work fine in fedora linux on an `x86_64`
architecture but he does not know if it crashed in macOS Ventura due to the fact
it is an `arm64` CPU - the Apple silicon chip). This fix, BTW, is a mix of a fix
by [Yusuke Endoh](/winners.html#Yusuke_Endoh) and Cody's. Nevertheless there are
two features that are not bugs and one bug (see below).
two features that are not bugs.
By design this program is supposed to crash on termination.
You must type in caps (except in strings) and this program is indeed
case-sensitive.
### STATUS: possible bug (possibly depending on system) - please help test and if necessary fix
### STATUS: missing files - please provide them
The author showed something like this in their remarks:
```sh
./toledo2 DDT.COM
A> IMPORT DDT.COM
```
but the `A>` prompt never appears; instead it's just the same as if you
specified no arg which is `>`. It seems like the `A>` might be a typo. That
being said from the description by the author, if the required files exist in
the directory, it seems you can do `HALT` 'so the file is saved, and you can
start the same process with another file'. This does not seem to work but it
might be not enough information or a misunderstanding.
A file is missing from the archive linked to by the author so we have not been
able to add it. Cody tried a few of the other zip files at the website linked to
but no luck. Do you have the proper file? The file is `IMPORT.COM`. If you do
please provide a link or make a pull request, adding it to the repo, after
testing it to make sure it works in the program.
# 2007