3
\$\begingroup\$

This is a throwback challenge. You will choose an old computer system and an old language created for that system.

The challenge

Pick an old computer system that was made before the year 2000. In a programming language that was created to run on that system, print said system's logo.

Example systems, their languages, and their logos:

The rules

  • You may not download the logo/icon from the internet or read it from the filesystem.
  • You must use graphics to print the logo - no ASCII art.
  • The icon's size must be at least 20 pixels by 20 pixels.
  • Your program will not take any input and will clear the screen, print the logo, and exit normally.
  • If the logo includes colors, your program must print the logo in the same colors, unless your system does not have a color display.
  • The computer must not shut down.
  • Your system must have a logo.
  • If the logo includes text (e.g. the Apple ][ in the Apple logo), you only need to print the image part (e.g. the actual colored Apple).

The winner

As with , the submission with the least bytes wins!

\$\endgroup\$
1

2 Answers 2

9
\$\begingroup\$

GFA BASIC on Atari ST, 27 bytes

This is a manually edited source code in .LST format. It contains unprintable characters: [SO] and [SI] stand for ASCII characters #14 and #15 respectively. Both lines ends with CR.

DEFTEXT,,,32
TEXT0,28,"[SO][SI]"

This will draw a 28x26 Atari logo, which is part of the Atari ST system font.

output

\$\endgroup\$
1
  • \$\begingroup\$ I've cropped the output to the logo in the corner and Google's Search by image thinks it's a keyboard. While I'd consider this a flaw of the challenge spec rather than your answer, it still means that your answer doesn't comply with the current state of the rules. \$\endgroup\$
    – Dennis
    May 30, 2017 at 19:02
3
\$\begingroup\$

Applesoft BASIC on the Apple ][, 365 361 bytes

1GR:POKE-16302,0:I=0:O=15:P=1:Q=1:FORY=7TO47:I=I-1:IF(I<=0)THENI=7:READC:COLOR=C
2IF(Y<21)THENO=O-((21-Y)/12):GOTO4
3O=O+P-1:P=P*Q:Q=Q+0.002
4HLINO,39-O ATY:NEXT:DATA12,13,9,1,3,6:COLOR=0:HLIN16,22 AT7:HLIN18,20 AT8:HLIN16,22 AT47:HLIN18,20 AT46:VLIN14,34 AT32:VLIN15,33AT 31:VLIN16,32 AT30:VLIN18,30 AT29:VLIN22,26 AT28:COLOR=12:FORA=0TO3:VLINA,A+4 AT22-A:NEXT

Output and actual logo:

      

\$\endgroup\$
5
  • \$\begingroup\$ According to your own rules, this is invalid, as Google's Search by image fails to identify it as an Apple logo. \$\endgroup\$
    – Dennis
    May 30, 2017 at 18:54
  • \$\begingroup\$ @Dennis Crud... yet it's clearly the logo. So I need a better validity check than that. Any suggestions? \$\endgroup\$
    – MD XF
    May 30, 2017 at 18:56
  • \$\begingroup\$ I don't; fuzzy image comparison is hard. While a human observer might see what you're going for, the colors are wrong that the original logo doesn't consist of huge pixels. \$\endgroup\$
    – Dennis
    May 30, 2017 at 19:04
  • \$\begingroup\$ @Dennis Well not necessarily a better image comparison than Google's Search by Image, that's more or less the best out there IME. I mean a better validity check as in a clear description of the boundaries between a valid submission and an invalid one - to prevent people from printing a big red box and saying "It looks like the Apple logo without my glasses on" and complete-cheat submissions like that. \$\endgroup\$
    – MD XF
    May 30, 2017 at 19:06
  • \$\begingroup\$ You won't get an objective validity criterion unless the test can be performed by a computer. \$\endgroup\$
    – Dennis
    May 30, 2017 at 19:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.