TUTORIALS
13 lessons. Work through them in order — each one has a program to run and a challenge to try.
- 1HELLO, WORLDYour first program, and why the screen is blue.PRINTCHR$line numbersRUN
- 2VARIABLES AND INPUTRemembering things and asking the user questions.INPUTvariablesstringsnumbers
- 3LOOPSDoing something many times with FOR and NEXT.FORNEXTSTEPnested loops
- 4GOTO, GOSUB AND STRUCTUREJumping around the program, and coming back.GOTOGOSUBRETURNIF THENEND
- 5STRINGSCutting words up and sticking them together.LENLEFT$MID$RIGHT$ASCCHR$+ on strings
- 6RANDOM NUMBERSDice, coins and chance.RNDINTIFcounting
- 7DATA AND READKeeping a table of facts inside the program.DATAREADRESTORETAB
- 8PEEK AND POKETalking directly to the hardware.POKEPEEK5328053281memory map
- 9SCREEN MEMORYDrawing anywhere on the screen without PRINT.screen RAM 1024colour RAM 55296screen codesrows and columns
- 10GET AND REAL-TIME CONTROLReading keys without waiting for RETURN.GETgame loopkey handling
- 11THE FAMOUS ONE-LINER10 PRINT CHR$(205.5+RND(1)); : GOTO 10CHR$RNDPETSCII graphics
- 12SOUNDMaking the SID chip sing with POKE.SID 54272waveformsgate bitfrequency
- 13BUILD A COMPLETE GAMEEverything from lessons 1-12 in one program.putting it togetherreplay loopcolour feedback