9 Jan 2001 Wazm   » (Journeyer)

Started classes yesterday. One class, Introduction to System Software, uses an 8-bit imaginary computer. The emulator was written by Leland L. Beck. Sadly, it's in Pascal. Ick.

The emulator for this imaginary computer is called SIC. (Amusing pun..) Frankly, I don't like using the University system when a project is due, and it's far too slow during these instances. A search for SIC yielded a rewrite of it in C, along with what appears to be a fairly nice X interface.

So I attempt to build it, and it dies. Apparantly it's using a good number of proprietary Sun libraries, produced by a program called devGuide. Another search yields some dated libraries that *might* work with Linux, and *could* work with FreeBSD, but sadly I'll probably have to port it myself.

There's something about computer scientists and icky code.

system(strcat(remove, foo));

remove is a global character array, the initial compile failed because it conflicted with an external function in stdio.h. Let's not talk about why strcat() and system() are dumb to use either. (Further note, it's mildly humorous this program is setuid'd root on the University system.)

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!