From eef68cf5ecdf54c5c46bfb0c72218ac79ac40d9c Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Wed, 21 Sep 2022 01:10:28 -0700 Subject: [PATCH] Reformat 1984/mullender in same style as 1984/anonymous --- 1984/mullender/hint.html | 46 ------ 1984/mullender/{hint.text => hint.txt} | 0 1984/mullender/index.html | 201 +++++++++++++++++++++++++ years-spoiler.html | 10 +- years.html | 10 +- 5 files changed, 211 insertions(+), 56 deletions(-) delete mode 100644 1984/mullender/hint.html rename 1984/mullender/{hint.text => hint.txt} (100%) create mode 100644 1984/mullender/index.html diff --git a/1984/mullender/hint.html b/1984/mullender/hint.html deleted file mode 100644 index d45e0476d..000000000 --- a/1984/mullender/hint.html +++ /dev/null @@ -1,46 +0,0 @@ -

The Grand Prize

- -

Sjoerd Mullender

- -

Robbert van Renesse

- -

To build:

- -
make all
- -

NOTE: This entry is likely to fail and/or dump core on modern computers.

- -

Judges' comments:

- -

NOTE: This entry is likely to fail and/or dump core on modern computers.

- -

Without question, this C program is one of the most obfuscated -C program that has ever been received! Like all great contest -entries, they result in a change of rules for the following year. -To prevent a flood of similar programs, we requested that programs -be non machine specific.

- -

This program was selected for the 1987 t-shirt collection.

- -

NOTE: If your machine is not a Vax-11 or pdp-11, this program will -not execute correctly. In later years, machine dependent -code was discouraged.

- -

The C startup routine (via crt0.o) transfers control to a location -named main. In this case, main just happens to be in the data area. -The array of shorts, which has been further obfuscated by use of -different data types, just happens to form a meaningful set of PDP-11 -and Vax instructions. The first word is a PDP-11 branch instruction -that branches to the rest of the PDP code. On the Vax main is called with -the calls instruction which uses the first word of the subroutine as a -mask of registers to be saved. So on the Vax the first word can be anything. -The real Vax code starts with the second word. This small program -makes direct calls to the write() Unix system call to produce a -message on the screen. Can you guess what is printed? We knew you -couldn’t! :-)

- -

Copyright © 1984, Landon Curt Noll. -All Rights Reserved. Permission for personal, educational or non-profit use is -granted provided this this copyright and notice are included in its entirety -and remains unaltered. All other uses must receive prior permission in writing -from both Landon Curt Noll and Larry Bassel.

diff --git a/1984/mullender/hint.text b/1984/mullender/hint.txt similarity index 100% rename from 1984/mullender/hint.text rename to 1984/mullender/hint.txt diff --git a/1984/mullender/index.html b/1984/mullender/index.html new file mode 100644 index 000000000..ceec02042 --- /dev/null +++ b/1984/mullender/index.html @@ -0,0 +1,201 @@ + + + + + + + hint + + + + +

The Grand Prize

+

Sjoerd Mullender

+

Robbert van Renesse

+

Judges’ comments:

+

NOTE: This entry is likely to fail and/or dump core on modern +computers.

+

Without question, this C program is the one of the most obfuscated C +program that has ever been received! Like all great contest entries, +they result in a change of rules for the following year. To prevent a +flood of similar programs, we requested that programs be non machine +specific.

+

This program was selected for the 1987 t-shirt collection.

+
+

NOTE: If your machine is not a Vax-11 or pdp-11, this program will +not execute correctly. In later years, machine dependent code was +discouraged.

+
+

The C startup routine (via crt0.o) transfers control to a location +named main. In this case, main just happens to be in the data area. The +array of shorts, which has been further obfuscated by use of different +data types, just happens to form a meaningful set of PDP-11 and Vax +instructions. The first word is a PDP-11 branch instruction that +branches to the rest of the PDP code. On the Vax main is called with the +calls instruction which uses the first word of the subroutine as a mask +of registers to be saved. So on the Vax the first word can be anything. +The real Vax code starts with the second word. This small program makes +direct calls to the write() Unix system call to produce a message on the +screen. Can you guess what is printed? We knew you couldn’t! :-)

+

Copyright (c) 1984, Landon Curt Noll. All Rights Reserved. Permission +for personal, educational or non-profit use is granted provided this +this copyright and notice are included in its entirety and remains +unaltered. All other uses must receive prior permission in writing from +both Landon Curt Noll and Larry Bassel.

+ + diff --git a/years-spoiler.html b/years-spoiler.html index 55d702b16..2a587d458 100644 --- a/years-spoiler.html +++ b/years-spoiler.html @@ -3717,11 +3717,11 @@ that works for both traditional K&R and ANSI C preprocessors.

mullender - hardcoded vax and pdp-11 code to move :-) across the screen


(all years) (ALL)

diff --git a/years.html b/years.html index 4d230c9f4..e60e6047b 100644 --- a/years.html +++ b/years.html @@ -3700,11 +3700,11 @@ a summary description of all of the winners.

mullender


(all years) (ALL)