Ah, this takes me way back in time… Just wanted to test the speed of C64’s basic with a simple program of controlling a worm. The video:
It was 1987 when I last coded with Commodore 64. ..and I admit it: I never learned 6502 / 6510 assembly well.. On Amiga I have done 680×0 assembly coding a lot, though…
Let’s see a picture of the source code:
1024 is the starting address of C64’s screen memory and 56320 is the address of joystick port 2.
If you want to download the d64 image with the program, it’s available below: