Two wallpapers

These two wallpapers were made using a font called "mnicmp" which was purportedly taken from a DecWriter II. I sacrilegiously tidied up the code, formatted it in (more or less) the "Dracula" colour scheme, and then did some subtle smoothing and edge-tracing in GIMP. Disclaimer: I'm in no way an artist neither do I claim to be, I just made these as a kind of therapeutic thing... hope you like them though.
NotExpectedOilWallpaper_small.png
NotExpectedNeonWallpaper_small.png
 
Someone will come along who can explain it.
I suspect half the people on this forum watch videos by opening them in a hex editor and decrypting them mentally in real time.
 
This code seems to predate even K&R, see https://en.wikipedia.org/wiki/C_(programming_language)#K&R_C
  • Compound assignment operators of the form =op (such as =-) were changed to the form op= (that is, -=) to remove the semantic ambiguity created by constructs such as i=-10, which had been interpreted as i =- 10 (decrement i by 10) instead of the possibly intended i = -10 (let i be −10).

So, it indeed means to clear a flag in the code above (and won't work with any of today's compilers).
 
Someone will come along who can explain it.
I suspect half the people on this forum watch videos by opening them in a hex editor and decrypting them mentally in real time.
No. Us old skool ones cat the video to /dev/dsp and listen to the colors making shapes.

Ok, seriously, I expected something like this but I had no idea C was this messed up once. Nice find.
 
These are some really interesting responses - thank you. I realise now my theory that it was "assign address-of" was full of holes. The lexer/parser would expect a space and anyway, you can't take the address of something address-less like the result of a ~.
Ogis, I kind of liked the soft dreamy effect of the blurring but here is an unblurred version:
NotExpectedWallpaper_small.png
 
And here is a link to the original font:
 
The lexer/parser would expect a space
No. Whitespace never had any semantics in C. (Yes, telling this as a fact while seeing this weird syntax of compound assignments in use before K&R's first specification might be a bit brave, but I'm pretty sure about that!)
and anyway, you can't take the address of something address-less like the result of a ~.
Definitely. To put it more generically, you can't take the address of an rvalue.
 
Back
Top