Tag Archives: The C Programming Language

Tech Pranks from the MS-DOS 16-bit Era

In the late 1980’s and early 1990’s I worked as a C and 80×86 assembly language programmer in MS-DOS and 16-bit Windows environments. I liked to tinker at a rather low level. I became proficient in writing DOS device-drivers, memory-resident … Continue reading

Posted in Programming | Tagged , , | Leave a comment

A Simple Associative Array Library in C

Originally published on: Thu, 19 Nov 2009 02:35:02 +0000 Please note: I just updated the Github sources (26 Sep 2018).  Apologies to those who tried to make that intermediate release work. I often need to use associative arrays when writing … Continue reading

Posted in Programming | Tagged | Leave a comment

Obfuscated C

Originally published on: Tue, 21 Apr 2009 23:51:27 +0000 I had written a little C program a while back for the 19th annual International Obfuscated C Coding contest. Not only did my code not win … it didn’t even warrant … Continue reading

Posted in Computers, Programming | Tagged , | Leave a comment

A Music Macro Language Player in C

I saw a reference to Music Macro Language on the HackerNews site this morning. https://en.wikipedia.org/wiki/Music_Macro_Language I remember embedding music strings like this in old BASIC programs. Lacking a way to tinker with MML, I first downloaded the free Macrotune libraries from: … Continue reading

Posted in Programming | Tagged , | Leave a comment

The October 10th Bug

Originally published on: Fri, 7 Oct 2011. The Y2K panic was not the first time I had encountered a date-oriented software bug. Years before Y2K problems were even a worry, I ran into a situation where an MS-DOS program written … Continue reading

Posted in Programming | Tagged | Leave a comment

My Tech Magazine Articles From Yesteryear

In the early 1990’s, I began writing for a few of my favorite technical magazines. Here is a mostly-complete list. Windows/DOS Developer’s Journal, September 1992 A Universal EXE-to-BIN Conversion Utility ( Tech Tips ) and More on Copying Large Data … Continue reading

Posted in Computers, Writing | Tagged , , , , | Leave a comment

Update to a Command Line MP3 Player for Windows

In 2009, I was tinkering with the Windows multimedia subsystem and I wrote a short program to play MP3 audio files from the command-line ( cmdmp3.exe ).  I created a second program that was a GUI application ( cmdmp3win.exe ) … Continue reading

Posted in Programming | Tagged | 34 Comments

Fare Thee Well, Dr. Dobb’s Journal

I was a little choked up when I read Andrew Binstock’s post Farewell, Dr. Dobb’s. The articles in the magazine were a powerful influence on the quality of my technical skills. In early 1987, I was in the final quarter … Continue reading

Posted in Books, Computers, Programming | Tagged , | Leave a comment

My Personal Text to HTML Utility

As I find links that I’d like to save to read later, I often copy the URL into a text document with a line below it describing the link.  I’ve used a variety of AWK scripts to convert these text … Continue reading

Posted in Programming | Tagged | 1 Comment

Finding the Beast in Nonpositive Integers

On Facebook, my friend Mike just opined that the percentage of nonpositive integers that contain the number 666 is just below one tenth of a percent. Well, I had to see how close he was … at least how close … Continue reading

Posted in Technology | Tagged , | 3 Comments