From the collection

BASIC CODE - LASER BARS

BASIC CODE - LASER BARS
From the personal collection

About this item

This oneliner shows the use of the screen memory and color memory in combination with the poke command to put a character and color on a certain location on the screen. The position is calculated from top to bottom. This is all done in just one single line of code. This is done by entering the commands using the shortcodes as mentioned before.

1fOc=0to39:l=rN(1)*24+1:fOx=0tol:pO1984+c-40*x,97:pO56256+c-40*x,l:nEx,c:gO1

Collection details

PlatformCommodore 64 BASIC
← Back to BASIC Programs