I finally got the hang of LISP (and found out that expressing a loop in Scheme as tail recursion makes my head hurt more than a simple (while) function), to some extent. I'm also feeling a lot less pessimistic, although I'm not quite sure why. (could be more exposure to daylight, or something...)
Got back to hacking assembly on the C64 I mentioned in an
earlier entry. Now the ROM is copied over to RAM cleanly and
removed from the address space so I can take the machine
over cleanly and install my own interrupt handling routines
(not sure what to do about the NMI interrupt though; it's
probably not of much use for what I'm going to do).
Good thing that I don't need disk or tape access, the BASIC
interpreter or any of the standard KERNAL services, but I
still have to write that damn keyboard routine. Funny how
when you're writing stuff for a 8-bit computer with a 16-bit
address space that the 64 kilobytes of memory just doesn't
seem to fill up at all. The current compiled binary uses
about 1.5K of ram, including the code (or at least that's
what ld65 tells me).
Now I just need to hook the computer to my TV card and sound card line in, with a pc<->C64 cable in between, and I could start running my little experiments with the actual hardware instead of just VICE. I wonder where my soldering iron is.
Work sucked for a week, then got better. Funny what it does when the suits actually start listening to what you think...