The easiest way to start programming Commodore 64

Learn BASIC and 6502 Assembly with bite-sized video tutorials.
Delivered to you every week.

Weekly Video Subscription

Always wanted to write a game or a demo for Commodore 64?

But when you will find time for that?

You can't afford to waste it on reading twenty-year-old-books, trying to understand outdated tutorials, or begging for help on hostile forums.

Get short, condensed lesson every week

Imagine that:

  • Every week, new video is delivered straight to your inbox.
  • You can watch each episode online on any device,
  • or download for your convenience DRM free.

And each video comes with:

  • detailed complete transcript of the episode,
  • plenty of source code examples to follow along,
  • additional exercises to solve on your own,
On top of that you will get
  • access to private and inclusive forum, where you can ask for help.
  • all episodes released in the current season

Make progress with little effort

With the 64 Bites Subscription you will level up consistently.

Every week you will learn a new thing and advance toward your goal without much effort.

You can get the subscription for $10.99/month or $109/year (two months for free).

I want a new episode each week!

Get 11 latest episodes now and a new one each week.
All with detailed transcripts, source code examples and programming exercises.

You will get 11 latest episodes immediately

Episode #092 - Sprites on the border IV - Four on a bad line

In the previous episode, we've found a way to display sprite-zero while also having the side border open. In this video we will figure out if that's possible on a bad line.

Episode #091 - Sprites on the border III - Eight sprites

In this episode, we will learn how to display sprite zero while the side border is open. This allows us to draw all eight sprites on the top and the bottom part of the border where there are no bad lines.

Episode #090 - Sprites on the border II - Seven sprites

In the previous episode, we have learned that if the sprite is to be displayed on a next raster line the graphical chip steals five cycles from the processor. That's not the whole story, though. Not all of those five stolen cycles are equal. The number changes depending on which sprites are currently active. Today we will try to figure out the required delay for up to seven sprites.

Episode #089 - Sprites on the Border I

Now that we have the border open around the whole screen, we can finally use that space to draw something. We can use sprites to do that. But having them enabled with the side border open is actually quite hard. Today we will see how to display them on separate raster lines.

Episode #088 - Hyperscreen

In this episode we will learn two methods of opening all borders around the screen. The effect is also know as hyperscreen because it allows to expand the drawable area and increase the screen resolution.

Episode #087 - Opening Borders III - Almost There

In the previous episode, we've started opening side-borders. It went fine until weencountered a bad line, which left us with fewer cycles to spare. Today we will tackle that problem and try to open the rest of the border.

Episode #086 - Opening Borders II - Left & Right

In the episode sixty-one, we've learned how to use the vertical border expansion to remove parts of the border that are above and below the drawable area. Opening side borders can be accomplished in a similar fashion, but it is significantly harder. Not only the timing has to be spot-on, the process has to be repeated on each raster line.

Episode #085 - Raster Stabilization IV - Pitfalls

We've been working on a raster stabilization routine for three episodes already. We ended up with an optimized code that does the job quite well. But I've also been warning you about difficulties in writing timing specific code. Today we will explore the topic, and try to break our routine deliberately.

Episode #084 - Raster Stabilization III - Optimization

Once we have our stable raster routine working it's time to optimize it. Let's see if we can minimize its memory footprint and shave off few cycles here and there.

Episode #083 - Raster Stabilization II

In this episode we continue stabilization of the raster. All we need to do is solving two problems: * find out a way to detect if we are one cycle early and then * delay the execution by just one cycle only in this situation. The former can be solved by comparing current rasterline register value at the right moment. Once we know that we need to just find an instruction that can take a variable amount of cycles. But how to do it in practice?

Episode #082 - Raster Stabilization I

Because of the way the 6510 processor works the raster interrupt handlers might experience a random delay in execution. The variance is usually called the jitter and it can take up to seven or even eight cycles. In this episode we will learn how to reduce the jitter to only one cycle consistently using two nested interrupts.

You can get the subscription for $10.99/month or $109/year (two months for free).

I want a new episode each week!

Get 11 latest episodes now and a new one each week.
All with detailed transcripts, source code examples and programming exercises.