How to load a .PRG file in VICE

Usually you’d attach a disk image to the VICE emulator and load one of several files from your virtual disk. Occasionally though you’ll come across single files ending in .PRG – those are the files that are contained on a disk image. Remember those weird three letter abbreviations on the right hand side when you … Read more

How to embed YouTube and Vimeo videos in WordPress

In this screencast I’ll show you how to embed YouTube and Vimeo videos into your WordPress posts. There’s no need to copy and paste code snippets and position them anymore, thanks to a technology called oEmbed (sometimes called auto embed). WordPress parses the URL to your videos and adds the code needed to display those … Read more

Reading and Writing Sequential Data on the Commodore 1541

Sometimes it’s helpful to store large amounts of data on the disk rather than keep in it memory. Consider adventure games for example: you could add room descriptions to your listing and later read it into memory – but this would double the amount of memory you really need to keep the data. Since there’s … Read more

Commodore 1541 DOS Commands

The 1541 Floppy Drive was equipped with its own MOS 6502 chip and was therefore capable of understanding and executing its own commands (to format the disk, copy files, erase files, etc). The idea was that it could operate autonomously without the attached C64 to get involved – revolutionary at the time. They were called … Read more