The easiest way to start programming Commodore 64

Learn BASIC and 6502 Assembly with bite-sized video tutorials.
Watch your first episode today!

Episode #094 - Counting Cycles

Aren't you tired of counting cycles in your routines by hand?

Looking up specifications of every single instruction gets old soon.

It's especially hard if your code contains branches and loops.

Not to mention page crossing.

Wouldn't it be great to have the cycle-count computed automatically?

In this tutorial, we are going to create a library.

You'll be able to include it in any project.

It will automatically compute how many cycles your routine takes.

We won't need to look up specifications of every single instruction.

We will also make sure the library works well by using Test Driven Development to create it.


Watch this Video Today

just one Episode

  • Immediate access to the episode
  • Online streaming
  • DRM-free download
  • Full Transcript
  • Source Code
  • Exercises
  • One-time payment
Price per episode: $3.99

with an Ongoing Subscription

(or $9.08/month with an annual payment)
  • Immediate access to 15 latest episodes!
  • Online streaming
  • DRM-free download
  • New video every week!
  • Full Transcripts
  • Source Codes
  • Exercises
  • The most cost-efficient option
  • One payment per month (or year)
  • You can cancel it anytime
Price per episode: ~$2.06

See what others are saying!

I learned assembly the hard way, with only limited documentation. Although part of the fun is in discovering all these things yourself, I think such screencasts could have helped me in getting up to speed faster. They do contain some nice bits of information :)

- Paul Koller

Game Developer, Creator of C64anabalt, Super Bread Box and Micro Hexagon

64bites brings me closer to understanding a computer I learned to love long ago, and still do. More than anything, it is really fun to follow the lessons and I always look forward to the next episode with great anticipation. It is the best thing since chocolate.

- Sebastian Kostka

Online Marketing Wizard at MeMyselfAndUs

I enjoyed both narration and realisation.
Actually, I was really shocked to have so much fun watching a programming screencast!

- Robert Lapinski

CEO of Idea Head, Mastermind behind the Pixel Magazine

How much time did you spend playing games on your Commodore c64? 64bites is more than 8-bit childhood memories, its a way to keep your beloved C64 alive, let's make our own game with it.

- Andrzej Śliwa

Polyglot Programmer, Lead Developer at bonusbox GmbH

This is really cool. I don't know exactly how popular it will end up being, but there is always room online for things like this.

- Peter Cooper

Founder at Cooper Press, Chair of O'Reilly Fluent Conference

Having watched a few episodes, I reiterate my original position: sooooooo coool. And Michal have really done a top-notch job on writing, production, audio, everything.

- Avdi Grimm

Creator of the best selling programming screencast series - RubyTapas