Many fixes and additions to 1984/mullender

Swap order of alt and original code in build/try sections so that the
original code is suggested second, after alt code, with the bugs and
(mis)features added to the README.md file, pointing out that it'll only
work on VAX-11 / PDP-11 machines. This is added in the bugs.md (it was
actually missing from the bugs.md file).

The alt code (both versions, see below) now have a lower limit on the
microseconds at 500 (still defaults at 10000). This is because anything
much lower and it's nigh impossible to see and in some cases it won't
work at all (at least in the MacBook Pro with the M1 chip).

Added second alt code which is like the first except that once it times
out it starts over.

Running make alt will compile both alt versions.

The gentab.c file that I added (found from the author) and fixed to
compile could not always create code that would compile due to some
characters needing to be escaped like ' and \. These are now escaped if
they are encountered but there certainly could be more that I did not
think of that would have to be escaped.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-27 03:51:17 -07:00
1 parent 7d28c7eec4
commit 93963607f3
9 files changed
+107 -54

No files matched your search

+4 -1
View File
@@ -241,9 +241,12 @@ can enjoy this entry. Try:
```sh
make alt
./mullender.alt [microseconds]
./mullender.alt2 [microseconds]
```
The microseconds defaults to 10000.
The microseconds defaults to 10000 but has a minimum value of 1000. The
`mullender.alt2` is like the first alt except that it will start over once the
program times out.
Thank you Cody!