Get 2000/schneiderwent to compile

It uses trigraphs so it needs the -trigraphs option at the compiler.

As well the README.md was format fixed.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-20 09:07:17 -07:00
1 parent ff19726e39
commit e2b2a83f05
2 files changed
+26 -18

No files matched your search

+4
View File
@@ -181,6 +181,10 @@ all: data ${TARGET}
love haste waste maker easter_egg sandwich \
supernova deep_magic magic charon pluto
# FORCE use of -trigraphs
#
CFLAGS+= -trigraphs
${PROG}: ${PROG}.c
${CC} ${CFLAGS} $< -o $@ ${LIBS}
+22 -18
View File
@@ -53,21 +53,25 @@ deficiency.
Obfuscation in this entry consists of:
> printfing console messages stored as EBCDIC character values - this
is not an attempt at encryption, but rather at cross platform
compatibility
> ASCII character values are calculated from the EBCDIC in a
particularly ugly abuse of the '?' operator
> detection of whether to print the ASCII or EBCDIC values is done by
taking the remainder of dividing the character 'J' by 2 - the ASCII
value of the character is even, the EBCDIC value is odd
> the messages to be printfed are determined via multiple table
lookups and bitmasked values
> for minutes, the bit position turned on is multiplied by two
to determine the message to be printfed
> for hours, the straight bit position is used
> this entry mostly eschews function calls for the often overlooked
setjmp/longjmp combination
> the trigraphs are not there as obfuscation nor are they there to
annoy the judges - it's just the easiest way to get around the
absence of square brackets in a normal 3270 environment
* printfing console messages stored as EBCDIC character values - this is not an
attempt at encryption, but rather at cross platform compatibility
* ASCII character values are calculated from the EBCDIC in a particularly ugly
abuse of the '?' operator
* detection of whether to print the ASCII or EBCDIC values is done by taking the
remainder of dividing the character 'J' by 2 - the ASCII value of the character
is even, the EBCDIC value is odd
* the messages to be printfed are determined via multiple table lookups and
bitmasked values
* for minutes, the bit position turned on is multiplied by two to determine the
message to be printfed
* for hours, the straight bit position is used
* this entry mostly eschews function calls for the often overlooked
setjmp/longjmp combination
* the trigraphs are not there as obfuscation nor are they there to annoy the
judges - it's just the easiest way to get around the absence of square brackets
in a normal 3270 environment