News — Video Studio, plugins and printer driver

Tagan News #08

24 January 2005

Well, damn! More than four months have passed since the previous version of the system came out and, accordingly, since the previous issue of the newspaper. I’ve been terribly busy again :)

In mid-September I released a new version of Video Studio, and that was it. On the bright side, I joined Fido and started chatting with people there.

Not long ago I got the urge to write plugins. The result was three plugins for BGE and two for Total Commander. One reads Alasm source files; the other handles graphic files in various formats (Spectrum ones, naturally). A third plugin is being written at the moment, but what it does is a secret. I’ve only been working on it for two days and I’m already worn out for the week ahead :)

While looking for ideas to add to the system, I suddenly decided to implement printer-driver support. First I had to give Scorpion a bit of a nudge: he’d already forgotten how to run an assembler on the Spectrum. He brought me a printout from his program, and I got to work. The first test ended with remote debugging: I told him over the phone what to fix and where, while Scorpion made the changes and tested it again. Once a week I’d send him an image with a new version of the program, and on Sunday he’d bring a printout of the results to the market.

For a long time I couldn’t get printing at double horizontal scale working—the printer was dropping bytes. Once I introduced a new, smart driver that prints as much as it needs to, everything worked. A temporary glitch then cropped up: printing at double vertical scale produced some strange gaps between lines. I sat down to find the bug. In a fit of incredible inspiration, I wrote a virtual printer driver that takes the data bytes and commands and displays on screen, as if on paper, everything sent to print. It even emulates text mode! The funny thing was that the vertical-density glitch showed up there too. In short, an idea that came at just the right time saved me a lot of effort and debugging time.

While I was waiting for the test results, as well as an article, some guy called Rasmer started pestering me again, trying to get me to work on something. He says, “Come on, put the system aside for now—give us Studio!” I tell him, “Leave me alone, I have a schedule.” He says, “Forget the schedule.” In the end we reached a compromise: I got Studio practically ready for release, and just then the printer test results came in. So I’m releasing the system, and then, after a little while, Studio. Alongside that, there are two plugins for Total Commander (the Fido folks already got them ages ago :) ). The BGE plugins come with the system.

A new forum for Spectrum users has opened at zx.pk.ru. It’s a great place: there are already loads of people hanging out there, and someone to talk to. You feel right at home :)

I wrote a rather massive system for testing programs over the Internet for my website. The idea is that an archive containing a program to be tested is put online; anyone can download and test it, then fill the guestbook with curses and other constructive suggestions for the author. As they say, I combined business with pleasure: it’s useful (to me, at least) and also serves as my coursework for the subject “Internet Programming.”

The trouble began after I installed it on a live website. Before that, the testing process had been running on a local machine using a server. In the end, I never figured out what the problem was—or rather, I figured out what it was, but not how to fix it—so I left everything as it was and wrote to the hosting provider’s support team describing the situation. Now we wait...

That’s basically all the news I could remember that might be of interest. I hope the newspaper has other material you’ll find interesting.

Share your thoughts about the article