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:
1 parent
ff19726e39
commit
e2b2a83f05
2 files changed
+26
-18
No files matched your search
@@ -181,6 +181,10 @@ all: data ${TARGET}
|
|||||||
love haste waste maker easter_egg sandwich \
|
love haste waste maker easter_egg sandwich \
|
||||||
supernova deep_magic magic charon pluto
|
supernova deep_magic magic charon pluto
|
||||||
|
|
||||||
|
# FORCE use of -trigraphs
|
||||||
|
#
|
||||||
|
CFLAGS+= -trigraphs
|
||||||
|
|
||||||
${PROG}: ${PROG}.c
|
${PROG}: ${PROG}.c
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||||
|
|
||||||
|
|||||||
@@ -53,21 +53,25 @@ deficiency.
|
|||||||
|
|
||||||
Obfuscation in this entry consists of:
|
Obfuscation in this entry consists of:
|
||||||
|
|
||||||
> printfing console messages stored as EBCDIC character values - this
|
* printfing console messages stored as EBCDIC character values - this is not an
|
||||||
is not an attempt at encryption, but rather at cross platform
|
attempt at encryption, but rather at cross platform compatibility
|
||||||
compatibility
|
* ASCII character values are calculated from the EBCDIC in a particularly ugly
|
||||||
> ASCII character values are calculated from the EBCDIC in a
|
abuse of the '?' operator
|
||||||
particularly ugly abuse of the '?' operator
|
* detection of whether to print the ASCII or EBCDIC values is done by taking the
|
||||||
> detection of whether to print the ASCII or EBCDIC values is done by
|
remainder of dividing the character 'J' by 2 - the ASCII value of the character
|
||||||
taking the remainder of dividing the character 'J' by 2 - the ASCII
|
is even, the EBCDIC value is odd
|
||||||
value of the character is even, the EBCDIC value is odd
|
|
||||||
> the messages to be printfed are determined via multiple table
|
* the messages to be printfed are determined via multiple table lookups and
|
||||||
lookups and bitmasked values
|
bitmasked values
|
||||||
> for minutes, the bit position turned on is multiplied by two
|
|
||||||
to determine the message to be printfed
|
* for minutes, the bit position turned on is multiplied by two to determine the
|
||||||
> for hours, the straight bit position is used
|
message to be printfed
|
||||||
> this entry mostly eschews function calls for the often overlooked
|
|
||||||
setjmp/longjmp combination
|
* for hours, the straight bit position is used
|
||||||
> 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
|
* this entry mostly eschews function calls for the often overlooked
|
||||||
absence of square brackets in a normal 3270 environment
|
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
|
||||||
Reference in new issue
Block a user