in reply to Templating Systems
10POKE53280,A:POKE53281,A 20?"C64 RULES "; 30A=A+1:IFA=16THENA=0:GOTO10
Tragically, I remember too much from my time on the Commodore 64 - These memory locations on the Commodore 64 controlled the background and border screen colours. Although there is no need to roll the value of A back to zero when you hit 16 as only the low nibble of these registers are interpreted (although you would still need to do so when the value of A hit 256) - The colour of the text and cursor could similarly be controlled by poke-ing similar values into memory location 646 (the memory is a little rusty on this one).
And of course, the ? is simply shorthand for the PRINT key word - Note however that this differs from the shorthand for PRINT# for printing to output channels which is P<shift-R> - This is because PRINT# is interpreted as a separate and unique token by the interpreter. Entering the combination of ?# generates a syntax error ...
Shoot me now ... please ... :-)
perl -le 'print+unpack"N",pack"B32","00000000000000000000001001110001"'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (OT) Re: Templating Systems
by markexpjp (Novice) on Jul 15, 2003 at 13:15 UTC |