--- title: "Playing with Colour" id: 77321 type: "computer_media" slug: "playing-with-colour" url: "http://localhost/computer_media/playing-with-colour/" markdown_url: "http://localhost/computer_media/playing-with-colour.md" published_at: "2026-11-15T18:39:07+00:00" modified_at: "2026-11-15T18:39:07+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/playing-with-colour-1.png" excerpt: "Ordinary BASIC versus Larken Extended BASIC: recolour a full screen with a POKE and OVER, or instantly with Larken PAPER and INK." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Bob Mitchell" slug: "bob-mitchell" taxonomy: "indiv" url: "http://localhost/indiv/bob-mitchell/" genre: - name: "Demo" slug: "demo" taxonomy: "genre" url: "http://localhost/type/demo/" media_type: "Program" programmers: - name: "Bob Mitchell" slug: "bob-mitchell" taxonomy: "indiv" url: "http://localhost/indiv/bob-mitchell/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Playing%20with%20Colour%20%281990%29%28Mitchell%2C%20Bob%29%28TS2068%29%28CA%29%28Program%29.zip" tsrun_member: "Playing with Colour (1990)(Mitchell, Bob)(TS2068)(CA)(Program)/Playing with Colour (1990)(Mitchell, Bob)(TS2068)(CA)(Program).tap" mediadate: "1990" images: - url: "http://localhost/wp-content/uploads/2026/11/playing-with-colour-1.png" - url: "http://localhost/wp-content/uploads/2026/11/playing-with-colour-2.png" article_media: - id: 23497 title: "Bob’s Notebook: Larken Extended BASIC example" type: "article" url: "http://localhost/article/bobs-notebook-larken-extended-basic-example/" media_type_tags: "Demo" license: false --- # Playing with Colour Compares two ways of changing the screen colours after something is already on it. The program prints the character set, then asks for PAPER and INK colours; the ordinary BASIC part sets them with a POKE to 23693 and reprints every line with OVER 1. The second part does the same with the Larken Extended BASIC PAPER and INK commands, which change the colours instantly. The second part needs the Larken disk system’s ROM: on a TS2068 without it, RANDOMIZE USR 100 resets the computer. Published in Sinc-Link January-February 1990 ([Bob’s Notebook: Larken Extended BASIC example](https://timexsinclair.com/article/bobs-notebook-larken-extended-basic-example/)). ## Source Code ``` 1 REM playing with colour 5 REM by Bob Mitchell 10 CLS : FOR i=32 TO 255: PRINT CHR$ i;: NEXT i 15 PRINT #0;AT 0,0;"Ordinary BASIC...": PAUSE 120 20 INPUT "paper 0-7 ";p 30 INPUT "ink 0-7 ";i 35 BORDER p 40 POKE 23693,p*8+i 100 OVER 1: PRINT AT 0,0;: FOR i=0 TO 21: PRINT ,,: NEXT i 110 OVER 0 120 INPUT "1=again 0=cont. ";as 130 IF as THEN GO TO 15 140 PRINT #0;AT 0,0;"Press a key": PAUSE 0 200 PRINT #0;AT 0,0;"Larken Extended BASIC...": PAUSE 120 210 INPUT "paper 0-7 ";p 220 INPUT "ink 0-7 ";i 230 BORDER p: RANDOMIZE USR 100: PAPER p: RANDOMIZE USR 100: INK i 240 INPUT "1=again 0=stop ";as 250 IF as THEN GO TO 200 260 STOP 300 RANDOMIZE USR 100: SAVE "colour.B1" LINE 1 ```