Remarks: One-Liners
From Maze
(Difference between revisions)
| Line 1: | Line 1: | ||
| + | One-liners such as 10Print are curt, minimal BASIC programs written to illustrate, imitate, or express an idea. Due to their brevity, they must often exploit resources which exist in the underlying platform. For example, 10Print relies on graphical images called PETSCII contained in the ROMs of the Commodore computers. The single line of code itself contains no data pertaining to the curvature or pixels comprising the / and \ images, it merely uses the numbers 205.5 and .5 to refer to characters number 205 and 206. Therefore 10Print relies on the existence block graphics sets. | ||
| − | One-liners such as 10Print are curt, minimal BASIC programs written to illustrate, imitate, or express an idea. Due to their brevity, they must often exploit resources which exist in the underlying platform. For example, 10Print relies on the PETSCI graphics system contained within the ROMs of the corresponding Computers. The one-liner itself contains no data pertaining to the curvature or pixels comprising the / and \ images. | + | Block graphics sets - including the non-typographic / and \ symbols used in 10Print - have collectively produced a vocabulary capable of representing emotions, stick-figures, balance sheets, graphical window systems. In one-liners, sometimes symbols are interpreted as the subject of the story. For example, in this variation on 10Print, one of the slanted symbols represents an icicle. The impression of movement and space-filling are inherent features of the platform. Specifically, the slow, ruthless instantiation of symbolic icicles mimics the dynamics of a mounting storm. Although the one-line simulation represents the accumulating energy of a storm well, it will never, like a real storm, die out and warm up. After completely filling the screen, the action ceases, so the one-liner can only tell one part of a story. |
| − | Block graphics sets - including those non-typographic / and \ symbols used in 10Print - have collectively produced a vocabulary of emoticons, stick-figures, balance sheets, windows, | + | In addition to relying upon the existence of the graphics in operating system, this one-liner also relies on the default colors of the BASIC environemnt to be light blue on dark blue: |
| + | |||
| + | *Icicle Storm | ||
| + | 10 poke 1024+rnd(0)*1000,78: goto 10 | ||
| + | |||
| + | |||
Commodore 64 users have experienced so many different system crashes that they can be aesthetically categorized. For example, the following one-liner pr | Commodore 64 users have experienced so many different system crashes that they can be aesthetically categorized. For example, the following one-liner pr | ||
| Line 9: | Line 15: | ||
10 poke 53248+24,timeand255: goto 10 | 10 poke 53248+24,timeand255: goto 10 | ||
| − | |||
Also, this one-liner imitates a particular set of crashes, those involving complex writes to the video hardware, which took place often. | Also, this one-liner imitates a particular set of crashes, those involving complex writes to the video hardware, which took place often. | ||
*Crashes I Have Known and Loved. | *Crashes I Have Known and Loved. | ||
| Line 15: | Line 20: | ||
| − | Some one-liners take advantage of symbols to present a part of a story. | ||
| − | |||
| − | *Icicle Storm | ||
| − | 10 poke 1024+rnd(0)*1000,78: goto 10 | ||
These one-liners make good use of the print and poke commands. We know that PRINT was inherited from the earliest Dartmouth BASIC implementation. Did Bill Gates invent the POKE command? | These one-liners make good use of the print and poke commands. We know that PRINT was inherited from the earliest Dartmouth BASIC implementation. Did Bill Gates invent the POKE command? | ||
