Close

Command line stopwatch

A project log for Silly software wishlist

Motivation to do some software projects by writing them down.

lion-mclionheadlion mclionhead 07/08/2020 at 19:590 Comments

https://cdn.hackaday.io/files/1380505906331200/stopwatch2.c

This was a revival of the lion kingdom's very 1st programs on the commodore 64.  Printing large characters out of 8x8 blocks was the goal, but it took some time to figure out what petscii character was an 8x8 block.  It was an inverted space & the way to print an inverted space in BASIC was ctrl-9 (reverse on) then spacebar.  

Nowadays, we have VT100 codes for inverting the space.  

<0x1b>[7m to print inverted spaces & <0x1b>[7m to print normal spaces

A bit of elementary school character printing yielded a stopwatch in giant letters.  The lion kingdom had an earlier stopwatch program which printed a single line of text, but it was found inadequate.  Perhaps the single line will become an option.

Discussions