So, who knows what’s happening above? Come on, it’ll come back to you if you look at the screenshot! I found a great tutorial on C64 demo coding. Unfortunately it’s a 404 now, but Google cached it and I downloaded it here for safe keeping: intro-to-programming-c64-demos.html
Look for the part on $d012
$d012 might be the most important address of them all, when it comes to demo programming on the C-64. $d012 has two different functions:
* When read, it returns the number of the current raster line.
* When written, it is used to set the number of the line where the next raster interrupt will occur.
We’ll get back to raster interrupts later. You need to know about $d012 to understand them, so pay attention to the stuff in this section! The first item above is interesting, but it may not be obvious why it is interesting.
The current raster line is the line that is currently being redrawn on your screen. The whole screen is redrawn 50 times per second. Each time it is redrawn from top to bottom, from the left to the right. So, if you want something to happen 50 times per second, all you have to do is to check the current value of $d012, and when it reaches a certain value, call the routine that performs the desired task. When finished, go back to checking $d012.
That blew me away when I found out about that. You could literally change the background colour of the screen halfway down the screen, have multiple text and graphics modes, use more than the default 8 hardware sprites. The PC was disappointing in comparison.
That code above is for Justin who reminded me that Vice has an ASM monitor!
I used to go by the handle, “Xeer”. It’s under that name that I coded Commodore 64 demos many years ago. There’s even an entry for me on the C64 Scene Database! Exciting times then, but I’ve often been asked where the name Xeer came from. Now I can reveal it’s very obscure origins.
You may have heard of a space trading game called Elite that was released in 1985. If you haven’t, then don’t worry. You’re a youngster aren’t you? It made serious waves in the games scene for many years and even spawned an awful sequel on the PC a couple of years ago.
Anyway, I came across the game a few years after, probably in 1988 or ’89 and was hooked! I have to be honest, I preferred the shoot-em-up parts to the dry and boring trading bits. Games never lasted very long but it made a lasting impression on me.
One thing led to another, and I became interested in the C64 demo scene, but I needed a handle. Luckily I came across a few cheats for Elite that gave me infinite fuel or some such other nonsense and went looking around the galaxy. Here’s what the galaxy looked like back in the late 80’s.
While exploring, I came across the little planet under the cursor above. Can you guess what it’s called? Yup, Xeer. Here’s the info sheet on it.
I haven’t seen any large yellow bug-eyed frogs about anywhere but I expect they’ll show up sooner or later.
With no money to build thousands of Apple II machines, Wozniak and Apple co-founder Steve Jobs both approached Commodore with the Apple II. “Chuck Peddle from Commodore came to the garage and he was one of about three people we showed the Apple II prototype ever,” Wozniak said.
PS. almost forgot, Alan Whelan of Trocaire emailed to ask me to mention their ethical Global Gift campaign to help, “poor families around the world this Christmas.” While we’re on the topic of Christmas charity, by supporting Bothar you can help send cows to needy families. A bizarre item on the radio a few days ago involved a reporter accusing Bothar of keeping poor people poor. He reasoned that Bothar need poor people to operate. Weird stuff.
Mark reminded me to check out the The High Voltage SID Collection as I haven’t looked it up for several months! It’s a huge collection of Commodore 64 music all organised neatly for nostalgic types!
I note that my old friend Merman/Andrew Fisher is mentioned in the release notes for the latest update. Looks like he’s been very busy for the last few years!
I’m stuck in work late, yet again, and plouging through a long list of things when I get an email titled, ‘remember me?’ from Andrew Fisher. Andrew was a member of the c64 demo group ‘Ozone’ that I formed with Ciaran Langford many a year ago.
I haven’t heard from Andrew in a long time so I took the opportunity to call him and we had a great chat catching up, and reminising about the ‘good ol’ days’ 🙂
Prompted by a visit to his homepage I searched for mention of the demo I worked on for Ozone and found it nestled away in a C64 demo archive. Thanks Andrew for submitting it there!
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.