Waking For Lunch

June 8, 2008

You’ll be pleased to hear that I finally made my first true Windows application today. Albeit, one that did nothing whatsoever other than exist, and then, exit. But at least it did those things properly. Oh, but it also turned out that it works only on my system.

Damn.

I also managed to finish Okami (Oh-kami) about a week ago, at the end of (a stunning game) which, it gleefully reported that I’d spent 56 hours at the controller, over a period of 95 days. That’s an average of a little over half hour a day. See! There’s proof that my mum’s allegations of “Oh, he’s always playing games” are totally, irrefutably baseless.

I’m also contemplating investing in a spanking new X-Fi XtremeGamer (yuk! that sounds so cheezy) sound card, to replace both my worthless onboard sound, and the 500 rupee(s) stand-in Yamaha… something… that I’d hoped would be better (it wasn’t). This particular X-Fi is the cheapest hardware accelerated X-Fi card available on the market, and at over Rs. 6000 online, it is still over 2000 bucks dearer than in the states. Ah well, that’s the price you pay for living in India. At least this way, I’ll have some justification for the 1.5k I dropped on the Zalmans… well, MM-Gear, really.

So that’s it for tonight. 3:23 seems like a nice time to sink into the pillow. See ya tomorrow for lunch.

Assemblers

March 28, 2008

Looks like I did complete those god-awful-time-consuming programs. Here they are, for future reference or whatever…

Mind you, they’re not perfect, nowhere close to it, in fact. The instruction set isn’t complete (bleh) and I’ve used short cuts where it just didn’t make sense to waste time on some feature. There are a few obvious mistakes in the output too, but the damned thing works. So there!

All three programs are written in C Language and are based on the algorithms for the same, provided in “System Software: An Introduction to Systems Programming“, by Leland L. Beck. They’re only sparsely documented, so you’ll probably have trouble reading. Do I look like I care? Oh, and it’s been written for Turbo C++ 3.0 :D

One Pass Assembler

Two Pass Assembler

Absolute Loader

You may also need these files, especially the assemble.txt, which is the source file both the assemblers use (and are equipped to handle).

assemble.txt - Source SIC program

objcode.txt - Output of Two-Pass Assembler

objcod1p.txt - Output of One-Pass Assembler

machcode.txt - Output of Absolute Loader

And no, I don’t mind if you use it partly or in its entirety for whatever purpose you can think of. ^_^

Have fun, people!