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:
1 parent
7d28c7eec4
commit
93963607f3
9 files changed
+107
-54
No files matched your search
@@ -449,6 +449,21 @@ without a newline after the `\`. This is not a bug.
|
||||
This entry will very likely crash or do something else if you run it without an
|
||||
arg. It likely won't do anything at all if the arg is not a positive number.
|
||||
|
||||
## [1984/mullender](1984/mullender/mullender.c) ([README.md](1984/mullender/README.md)
|
||||
### STATUS: INABIAF - please **DO NOT** fix
|
||||
|
||||
Although there are two alt versions added by Cody that will work in modern
|
||||
systems, if you do not have a [VAX-11](https://en.wikipedia.org/wiki/VAX-11) or
|
||||
[PDP-11](https://en.wikipedia.org/wiki/PDP-11) to run the original entry on it
|
||||
will not work. See the README.md for details on the alternate versions.
|
||||
|
||||
Cody added and fixed the [gentab.c](1984/mullender/gentab.c) which is from the
|
||||
author's (or one of them, Mullender) remarks found by Cody. Cody fixed this to
|
||||
compile and work (as best as he can determine: he has no VAX-11 or PDP-11 or
|
||||
emulator to test it) but running the code on the binary itself produces a
|
||||
`short[]` that can compile in modern systems.
|
||||
|
||||
|
||||
# 1985
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user