Let’s Code MS DOS 0x3A: C Bitfields for Hardware Registers

The C programming language has had one feature for a very long time, which almost nobody uses: bitfields. However they seem to be a great idea for modelling hardware I/O registers. Instead of clunky bitwise manipulations, you can simply address individual bits with names. But what are the downsides, and how can you use it for MS DOS hardware programming?

The C64 goes Internet!

Using a very cheap ESP8266 controller and a simple PCB, we can lift the C64 into the modern era of having internet access. We evaluate two different WiFi modem firmware solutions, and I will show you how to connect to a BBS with gateways to modern websites. You can now read the news, look up things on Wikipedia, and most importantly: download software for your C64!

Let’s Code MS DOS 0x39: Samples on the PC Speaker

The PC speaker is known for loud, harsh beeping noises. However with a little bit of trickery we can coerce it into producing almost arbitrary sounds. By manipulating it with the built in time chip, we can simulate a pulse width modulation, that allows us to play pulse code modulated digitized sounds, such as voice recordings.

Let’s Code MS DOS 0x38: Huge Pointers in Turbo C

In MS DOS you can only access up to one Megabyte of memory easily, on an original PC or XT. This memory in turn is segmented, so accessing more than 64K at a time becomes a bit more tricky. This is why languages like Turbo C and Pascal introduced near and far pointers to the programmer. However there are also huge pointers, which we will investigate in this episode.

FPGATED for C16 and Plus/4

The Commodore 264 line of computers included the C116, C16 and Plus/4. They were build around the TED video and I/O chip. Also known as the MOS 7360 and MOS 8360, the early revisions of the chip were plagued with production issues. Many of the early R1 chips are broken by now. Replacements are hard to come by and often expensive. Now there is a modern replacement: The FPGATED by Istvan Hegedus promises high compatibility, together with additional features. HDMI output for modern screens, as well as ROM replacements and SID emulation in future firmware updates. Let’s test it and see how compatible it is!

New Commodore Branded C64 Power Supply

The old C64 doorstop power supplies and their successors are a bit of a liability if you continue to use them nowadays. The internal voltage regulators like to die, and in the process they can destroy the C64 or worse. There are modern power supplies to replace them, but Individual Computers are now coming out with the “Commodore C64 Smart Supply”, including official Commodore branding! And the sales pitch is that this is the best PSU you can get for your vintage C64. Let’s take it for a test drive!