VIC20 DEV Tutorials

Commodore VIC20 Assembler Tutorials


1 - Clear Screen

In this tutorial you will learn the basics of using the VICMON cartridge to write Assembler instructions. You will learn how to load information into the accumulator and run system sub-routines. You will use these skills to write a simple program that clears the screen of your VIC20.
link

2 - Change Screen Color

In this tutorial you will learn how to save the value set in the accumulator to a memory location. By setting a value into the memory location for the color of the screen you will be able to change the color of the border and main part of the screen.
link

3- Print Character on Screen

In this tutorial you will learn how to position the screen cursor to the desired row and column coordinates and print a letter at that cursor position. You will print the letter W in the lower-left corner of the screen.
link

4- Print a line of Characters on Screen

In this tutorial you will learn how to create a loop that will print an entire line of W characters before terminating the program.
link

5- Move a Character on a line from Left to Right

In this tutorial you will learn how to move a character from left to right, by clearing the screen, update coordinates and print the character in a loop.
link

6- Move a Character on a line from Right to Left

In this tutorial you will learn how to move a character from right to left, by clearing the screen, update coordinates and print the character in a loop.
link

7- Move a Character on a line from Left to Right and back to the Left

In this tutorial you will learn how to move a character from left to right and back to the left. This will be achieved by clearing the screen and print the character in a loop. The key aspect of this tutorial is that we will store a value into a memory location to remember whether we are moving to the left or to the right and conditionally execute the respective instructions.
link

8- Move a Character on a line from Left to Right and back to the Left in an infinite PingPong loop

In this tutorial you will learn how to move a character from left to right and back to the left in an infinite PingPong loop. This will be achieved by clearing the screen and print the character in a loop. The key aspect of this tutorial is that we will store a value into a memory location to remember whether we are moving to the left or to the right and conditionally execute the respective instructions. We will use the JMP instruction (instead of JSR) to jump to known memory locations without saturating the return stack.
link

9- PingPong Left to Right a Vertically Scrolling Character on Screen Until it Reaches Bottom Row

In this tutorial you will learn how to move a character from left to right and back to the left while scrolling vertically downward. This will be achieved by clearing the screen and print the character in a loop. The key aspect of this tutorial is that we will store a value into a memory location to remember whether we are moving to the left or to the right and conditionally execute the respective instructions. You will also learn how to manage the row coordinate to print information on the screen and use this coordinate information to add a conditional termination to the program when the character reaches the bottom edge of the screen. We will use the JMP instruction (instead of JSR) to jump to known memory locations without saturating the return stack.

No comments:

Post a Comment