When programming Commodore 64 we are using different representations of numbers.
Sometimes it is more convenient to use a plain old decimal version, especially when we need to use any arithmetic.
But when we operate on specific bits of a number it is easier to use a binary representation.
Memory addresses, on the other hand, are more natural to read as hexadecimal numbers.
In the source code, we can easily change the representation of a number.
But we don't have any built-in way of printing them on the screen.
Today we will solve this problem.
What is this?
It's an episode of the 64 Bites - Video Tutorials for Programmers,
the series designed to teach you how to program Commodore 64 in small and easy steps.
- The Video - Short, Intense and Focused
- You can stream it on any device
- or download DRM-free
- Full Transcript so you can follow along.
- Source Code for everything you will see on the screen.
- Programming Exercises to do on your own.
You'll need an account to access this in our app. Please create a password to continue.
Download from the App Store or text yourself a link to the app
Good news! Since you already have a Gumroad account, it's also been added to your library.Tweet Share