Thanks for the memory

When Hyperion Entertainment announced in a 2014 blog article that AmigaOS4 was going to get support for accessing memory beyond the 2 GB limit, the reactions were mixed. Predictably, the most abrasive comments came from people who had never owned an OS4 system; but the camp of supporters didn’t seem over the moon, either. Perhaps the title of the article (“Breaking the Memory Barrier”) sounded too promising, and the reality couldn’t live up to the raised expectations. But there would likely have been less disappointment if people didn’t read too much into the title and, instead, took the feature for what it actually is. Because Extended Memory Objects – or ExtMem, as the feature is popularly called – was never advertised as more than a stopgap. Or did anyone seriously expect that AmigaOS would somehow miraculously adopt 64-bit memory addressing?

However, stopgaps in AmigaOS have a tendency to silently become permanent features (take AHI, for example), so eight years after the Hyperion announcement, we still don’t have a better solution. Worse, the adoption of the feature appears to have been quite slow: the system RAM Disk (adapted for ExtMem by Colin Wenzel) and Andy Broad’s SketchBlock are the only real-world applications of the feature that I’m aware of. The main reason why programmers don’t rush to use it is probably the inherent limitations because, as the critics like to reiterate, ExtMem is basically a return to the old practice of bank switching we know from the microcomputer era. Corny and technologically inane, right?

Like most audio software, my Rave sound editor can get quite memory-intensive. Popular compressed formats such as MP3 and the practice of streaming have taken our attention away from the fact that today’s audio data can easily take hundreds of megabytes when you decompress it into the computer’s memory. This may be a problem on a 32-bit system such as the Amiga. So I was naturally curious if ExtMem could help me with some of the challenges I was facing. And it didn’t take me long to start looking in one particular direction.

After I released the first version of Rave, the user feedback I received showed quite clearly that the number one wanted feature was Undo – the possibility to revert changes you’ve made to the waveform. Not a great surprise: honestly, if I were in my users’ shoes, I’d be among the first to point out the omission of such an important feature! But it’s interesting to see how much we’ve now come to take Undo for granted because, believe it or not, an Amiga sound editor with such functionality is far from being a given. I recently fired up a number of audio manipulation programs that were popular back in the day. I was curious how my new-born baby Rave compares with them, and I specifically wanted to see how they implement Undo, hoping to find some inspiration.

Aegis Audiomaster and Digital Sound Studio were my go-to sample editors in the 1990s.

The results of my little research were surprising, to say the least. Of the ten programs I looked at, only three featured a dedicated Undo – and only one of the undo implementations I’d call useful. To cut a long story short, I’ve summarized my findings in a table:

Aegis Audiomaster IV1.01991No undo.
Megalosound1.351993Single-step undo, the data is stored in RAM.
GVP Digital Sound Studio3.0d1994No undo.
Samplitude Opus3.5 R9-51997No undo.
SoundProbe2.111998Single-step undo, the data is stored in RAM.
SampleE4.082000No undo.
SoundFX4.32004No real undo: modified samples are stored as new projects (which is memory-intensive and increases screen clutter).
Samplemanager1.62005Unlimited undo, the data is stored on disk as temporary files.
AmiSoundEd0.122009No undo.
SampleZ0.15 alpha2021No undo.
Undo implementation in various Amiga sound editors.

And the winner is (drum roll): Samplemanager by Thilo Köhler!

While I don’t feel like showing this table to my PC friends, the results cheered me up because I’ve realized that many of my predecessors scratched their heads over the same thing as me. They also confirmed my little theory that the implementation of Undo is not actually straightforward from the developer’s point of view. The user may think that all you have to do is dump the sample data into a memory buffer and recall it when needed, but it’s really not as easy as that, especially if you want to do it right.

On the other hand, I knew that I was in a different position with the next-generation hardware possibilities. I was thinking: if it worked for Samplemanager on a Classic Amiga seventeen years ago, why should I be worried on an OS4 system with a much faster memory and disk access?

Thilo Köhler’s Samplemanager, a companion to the author’s HD-Rec sequencer.

Preliminary tests on both of my Amiga systems, an X5000 and a Sam440ep-Flex, showed that a disk-based solution would be more than adequate, so I decided to go that way. I ruled out the idea that the Undo function would store data in regular system memory. Imagine a session with ten high-definition audio projects opened, each keeping a separate editing history, each eating a chunk of RAM every time you make a destructive change. Just thinking about the memory footprint makes me shudder! (Of course I could limit the history to, say, ten steps to prevent things getting out of hand. Surely a great improvement compared to having no Undo at all, but as I try to make a strong case for AmigaOS4 and its software, I have little mercy for half-baked solutions.)

Still, with 4 GB of RAM installed in the X5000 I was intrigued to try out ExtMem because what I had read in the documentation sounded encouraging, despite the “ugly” limitations that spoil the party for the purist. What are they, actually? By nature, AmigaOS cannot address more than four gigabytes of RAM, leaving roughly 2 GB of addressable space for application use. The ExtMem framework allows applications to store more data than that, by dividing the data into blocks (ExtMem Objects) that are stored in the physical memory beyond the addressing limit. The trade-off is that not all of the memory blocks will be available at one particular time. This is because such a block first needs to be mapped in the system memory, acquiring an address within the 2 GB range for the time the block is being used. If there’s not enough RAM to map the other blocks, they have to remain unmapped (and inaccessible) in the electronic void.

I wasn’t really bothered by this limitation because due to the way Undo works, only one piece of data is needed for each step back. In fact, as Andy Broad explained to me, the key to using ExtMem efficiently is to make sure that a memory block is never mapped unless it’s immediately needed for reading or writing. So the programmer must think ahead and keep memory things organized and prioritized.

Knowing this I had all the information I needed to write two analogical pieces of Undo code, one for ExtMem and the other involving disk storage. The result is a dual system, which brings several advantages. Above all, AmigaOS4 users with more than 2 GB of RAM installed in their computer can make use of the extra memory, which would otherwise remain a dead place. They also gain some speed increase because although mapping an ExtMem Object comes with an overhead, it is still faster than writing to disk. At the same time, the disk-based solution is good enough and provides unlimited Undo even on low-end systems such as the Sam440. It also works as a fallback in situations when saving into extended memory fails because there’s not enough free RAM to map the block: in such a case Rave will simply store the data on disk.

So now with version 1.3 out in the wild, I wish you all happy undo-ing! Also, I hope that the ExtMem framework will get more real-life use to prove its potential, and that OS4 programmers will find ways to usefully adopt it in their programs. I think it’s time to dispel the fallacy that there’s no software to make use of the extra power and resources found in machines such as the AmigaOne X1000 or X5000. Now there is, and I’m sure more will be coming in the future.

The question of motivation

Shortly after I released the first version of the Rave audio editor I received an e-mail from a fellow user, Daniel Reimann of the team. He asked me where I find motivation for my Amiga projects. We exchanged a few rather general words about things that give you drive and energy in life, and then we went on to discuss other topics such as the family or holiday destinations. But the more time passed since our little conversation, the more I wondered myself: “Why do I keep doing the things I do, spending time with a computer system that only has a few hundred users?”

It’s a well-known fact that different people get motivated by different things. And it’s probably good to know what these things are: not only because they ask you at job interviews but, more importantly, to avoid making efforts that won’t give you the necessary spark anyway. Really, expecting motivation from things that motivate others (but not you) is a waste of time. So I sat down and came up with a short list of what typically makes me engaged – and as I was getting through a particularly fine bottle of Pinot Noir my wife gave me for Father’s Day, the list ultimately turned into this blog post.

For starters, I do things because I enjoy the process. Yes, I’ve realized that I’m a process-oriented person, rather than a goal-oriented one. My harddrive can testify to this. If you look into my development drawer you’ll see that it contains a lot of abandoned projects. Similarly, my old Protracker drawer has a good deal of material that are mere sketches of ideas for music. Many people would say that I’m not a finisher, that I need to set my eyes on the prize and see the ultimate result. But I can’t help it: I simply love it when I start my computer, make a cup of coffee, put on some music, and get cracking on whatever my current project is. I believe that “enjoying the creative process” is a perfectly valid reason why we do things, and in fact, it’s often a prerequisite to achieving other goals. Trying to produce a result in frustration because the creative process feels like a burden can’t come to any good.

The second item on my personal list of motivation factors is learning. While I may have decades of Amiga experience to rest on, I always learn something new when I work on a program or a piece of music. Heck, I could write a full book about what I’ve learned in the past few years working on Rave! Programming in particular may seem a mundane and repetitive activity but in fact, you rarely get the “been there, done that” feeling. The creative process always makes you face new challenges, bringing in return deeper insight and new skills.

By nature I’m not a noisy person, so I wouldn’t find it appropriate to express my inner self like the guy in Edvard Munch’s famous painting The Scream. Instead, I use creativity as an outlet. Not that I fire up MilkyTracker to compose a brooding song every time I feel a bit on the low side, or a club banger when I need to let off steam! But the various psychological aspects of creative work can also act as great motivators. I personally like the idea that we leave a bit of ourselves in the things we make; a personal imprint if you will. It’s obvious in music and other artworks, which often stem from emotions and thoughts of a very private nature. But it doesn’t stop with art: I strongly believe that programming is a form of expression too, and as such it bears traces of your thinking, attitude, decision-making and solution-finding. I don’t care that the end user most likely can’t see them: knowing that the software will contain something that is uniquely mine helps me see my efforts as worthwhile and rewarding.

And of course, speaking of psychological aspects, we all know that work can be a great way to take your mind off things. The activities I like to do on the Amiga require a lot of patience and concentration, so when I start working on a software project or a tune, I soon realize that my mental capacity is fully occupied with what I’m doing. This often feels very relaxing, paradoxical as it may sound. So I don’t find it particularly hard to jog myself into working on an Amiga project, because I know that I’ll be in fact taking a little break from the troubles and pressures of the world.

Next on my list is what I think psychology calls social approbation: the notion of being valued by the community. Between the years 2000 and 2009 I was a normal Windows user, and I tried to build on my Amiga hobby by running a small home studio for music production. Far from a professional affair but still, some ten thousand euros sank into it over the years, so I was able to do things I wouldn’t have imagined in the old Amiga days. But nobody seemed to care what I was doing because there were thousands of people like me. Thousands of bedroom composers trying to reach an audience! The situation was no less frustrating in programming. Whenever I thought of a project I could do, I found out that a similar piece of software already existed, with a dozen competing alternatives.

On the PC, I got very little feedback on my work, which ruined my sense of achievement. In the end I didn’t get any joy from my hobby because I felt I wasn’t making any contribution to anybody. And so I realized that I need to feel that I’m useful to get motivated. The Amiga gives me that feeling: the community is small, so it’s much easier for your work to get noticed and appreciated. It doesn’t take ages to establish a reputation if you’re good enough. Unlike on Windows, a lot of software is still missing, so as a programmer you never get short of ideas for new projects. The Rave editor came into existence because I felt there was a gap to be filled, and that AmigaOS4 was losing to its Classic counterpart in the music department. I wanted to change that and give people one more reason to use their system. I wanted OS4 to have something unique.

Which takes me to the last item on my list: bringing innovation. I know that the word “innovation” is somewhat relative on our platform, but still, my motivation levels run high when I know I can bring something new to the old Amiga table. Although still in its infancy, Rave can already boast a number of “Amiga firsts”, and not only because it’s the first native AmigaOS4 sample editor in thirteen years. The program’s I/O module is based on industry-standard libraries, providing the widest range of audio formats ever supported by an Amiga editor. For the latest version, I went to some trouble to introduce preview playback in the file requester – something I always missed on the Amiga. I have a massive library of samples (we’re talking several dozen gigabytes), and looking for the right sound has become a tedious process, much like seeking the proverbial needle in a haystack. There’s still room for improvement, but I can honestly tell you that the new feature really improves workflow and saves a lot of time.

Now all we need is more AmigaOS4 musicians and sound tinkerers. Oh, that would send my motivation levels right through the ceiling! 🙂

The last five per cent

In management circles, there is a running joke that the last five per cent of a project takes 95 per cent of the entire completion time. If you’re a software developer, this funny paradox may ring some bells because it is in fact well rooted in experience. Your project proceeds quickly until it reaches a point where it is almost finished, save for a few little things that make it unsuitable for release. These “few little things” can turn the final phase of the project into a nightmare that will drag for months, if not years.

I learned my own lesson when I was working on my first AmigaOS4 application, the WordNet dictionary, back in 2009. I had only recently rediscovered the Amiga passion after nine years of solely using a PC, and I was very excited about developing for a community where every new piece of software seemed to make a difference. I had a rough version of the program going in about two weeks, with GUI and all – and then I spent two more months polishing WordNet and getting it to release state! One of the reasons was that I had to learn some OS4 specifics as well as brush up on things I had forgotten. But in all honesty, it was my poor planning that caused most delay. The notion of the minimum viable product completely escaped me at the time, and I kept adding feature after feature until I was overtaken by fatigue and frustration.

It may appear that I fell into a similar trap with the Rave project, especially if you remember that in my previous blog post I was hoping to be able to release the program before the end of March. But the reason was different this time, and I can honestly say that the release would have happened if only things didn’t get the better of me again.

While stress-testing Rave in early spring I realized a design flaw in the program’s project management system that made it difficult to reliably and safely abort an operation in progress. As re-designing the inner workings of Rave would take a considerable amount of time (which I didn’t have), I thought I’d release the program as it was and improve it later. However, towards the end of March the school I work for informed me that I’d be supervising a group of students during their internship in Germany, which was supposed to take place in May. The idea of spending a whole week free of parenting pressures clicked with me in an instant, because it smelled like an opportunity to have a closer look at the problem.

The internship was in Chemnitz, a city in Saxony formerly known as Karl-Marx-Stadt. It soon became obvious that my students’ training was organized with the proverbial German thoroughness and efficiency, which rendered me virtually useless as a supervisor because everything had been taken care of. So I had even more time on my hands than I had expected, and (with the exception of an occasional sightseeing stroll) I spent most of the week in my room chasing bits and bytes on my trusty laptop.

With Karl Marx and my students.

The ability to concentrate on Rave for several hours a day made a world of difference, compared to my weary late-night sessions at home. I remember a forum post in which a well-meaning Amiga user tried to motivate developers by telling them to try and sit down to programming every day, even if for five minutes only. But this is not how it works, unfortunately. In reality a programmer can do little work in an hour, let alone five minutes – especially when working on a large project. In this regard the week in Chemnitz turned out to be a heaven sent. Diving in with full focus allowed me to completely rewrite the project management system including the plugin API and the I/O module; something that otherwise might take months to achieve. The result is a simpler design that is more reliable and requires less communication between the individual program components.

Among other things, it is now easier to create a plugin because the main program and the plugin master module have newly been entrusted with certain common chores. The plugin architecture surely needs more work: currently only processing plugins are supported, i.e. ones that take audio data and modify it. This is suitable for applying effects, but I’d also like to introduce plugins that generate sound, or simply analyze the data and display information about it. It’s going to take quite some time before the architecture becomes good enough, but when it does I’ll open it up so that other people can develop plugins for Rave if they feel like it.

And of course: the problem that started it all is now gone, so as I’ve already told people who follow me on Facebook or Ko-fi, any operation in progress – that includes loading, saving and processing – can now be safely aborted by pressing the Escape key. I actually think that Rave handles aborting better than SoundForge Audio Studio 16, which is my go-to editor on the PC. When you abort an operation in SoundForge, the program displays a confirmation requester but the operation continues uninterrupted. So if you take your time and don’t click on the “OK” button right away, the operation may have already finished in the meantime. I don’t find this very useful (or logical), to be honest. In Rave, the operation waits until you deal with the requester, and then it either continues or stops. This, I believe, is the expected behaviour, and it’s one of the benefits of my rewrite.

Aborting in the middle of a level change operation.

Most importantly, the program is now ready to hit the world. During the past year there were moments when I seriously doubted I’d ever be able to say it, but: I’m happy to report that the last five per cent of the project have been completed, and that the initial version of the Rave editor can finally be downloaded from OS4depot. Saying it feels so great that I’m tempted to say it again, which is plain silly but you can imagine how happy I am now that the weight is off my chest. It feels like dropping a stone the size of the Karl Marx head in Chemnitz!

Raving on: Part 3

Christmas 2021 was approaching fast and it was clear to me that I’d miss the magic release date again. Sigh. I had been working on the Rave audio editor for well over two years, and you can imagine how frustrated I was that I still wasn’t ready to put out a working version, with all the features I had envisioned for the initial public release. Worse: I began to fear that – despite documenting the development process on this blog and posting screenshots on Facebook – some of my followers might have got sceptical enough to believe that the program is nothing but vaporware! Luckily, around the same time I got an e-mail from Roman ‘kas1e’ Kargin, one of the driving forces behind several exciting AmigaOS4 developments. Roman’s message read along the lines of “Hey, how about you send me a demo and I’ll make a video of it, showing the program in action?”

I hadn’t thought about making a video myself because, first, I lack the skills and experience to do so and, second, such a task would only eat more of my precious time for Amiga programming. But I knew that a video is worth a thousand screenshots, so I gladly accepted Roman’s offer and waited eagerly for the outcome. He released the video on Boxing Day, and as it appears now, I couldn’t have hoped for better timing. The festive period always brings a lot of expectations in the Amiga camp, so there was a chance that some big news would steal all the attention. But last year’s Christmas was rather short on major OS4 releases, so I was happy to see that the video got noticed all right. In case you haven’t seen it:

Now that Roman’s video has shown that Rave is alive and well, you may be wondering what the actual hold up is. In all honesty, the main culprit is my perfectionist self. I know the advantages of the “release early and improve later” approach, but that’s not how I work. I hate to release something that I don’t consider good enough, and while I understand that the notion of “good enough” is relative and subjective, this is simply how I felt about Rave towards the end of the year. Not that the program suffered from major quirks, but there was one missing feature that – if the editor got released – would surely attract negative comments, making Rave look worse than it is. That missing feature was MP3 support.

“No MP3 you say? Unthinkable!” The reason why Rave wasn’t ready to handle the popular format is that it wasn’t supported by libsndfile, the audio library used by my editor’s I/O module. At that point, Fraunhofer’s MPEG audio patents had already expired but although the main obstacle was gone, the author of the library didn’t seem to care. I was contemplating writing my own MP3 handling routines when a forum post mentioned that one of the new libsndfile maintainers had finally started looking into it. This sounded like good news! A new public version was finally released in January 2021, and guess what – MP3 support was still missing. “Never mind, it’ll come later in the year,” I thought. And then suddenly Christmas was around the corner, and it was clear that Rave would unfortunately have to stay on the back burner a little longer.

Nevertheless, the positive feedback I received after Roman’s video appeared on his YouTube channel gave me a little push. Shortly after New Year’s Day I contacted Fredrik Wikstrom and asked if he could port the latest non-public version of libsndfile for me. I estimated my chances as rather slim because Fredrik, on top of being a core AmigaOS4 developer, is busy working on his own projects. Well, he got back to me three days later and didn’t even bother to say “yes” – he sent me the ported library right away! It wasn’t the first time Fredrik had helped me, so I didn’t hesitate to visit his website again and use the Donate button at the bottom of the page. Really, it’s people like Fredrik who embody the wonderful Amiga spirit, and I’m eternally grateful to them for keeping the boat afloat.

Using a non-public, under-tested version of a library written for a different operating system was, naturally, a bit of a gamble. But I’m happy to say that things went smoother than I had expected. Now that the last missing piece was in place, adding MP3 support in the editor was just a matter of a few lines of code. One great thing about using a library like libsndfile is that when a new audio file type is added, Rave will automatically benefit from the addition. The version sent by Fredrik also came with an unexpected bonus: the Opus format (a relatively new member of the Ogg family), and MP3’s less successful predecessor MPEG Audio Layer II, better known as MP2. So after a simple re-compile of my I/O module, Rave added three new audio formats in one go! The current number of supported file types is nineteen – I wonder if there’s an Amiga editor that could top that?

The file requester showing the current list of supported audio formats.

So what’s left to be done, and how far are we from getting the thing out of the door?

There are a few things I’m working on at the moment. First of all, saving needs configuration code and GUI for the individual formats, which I’ve been adding one by one. Only major audio formats are going to be supported in the initial versions of the program; saving in less common formats will come at a later point if there’s interest. Tracker musicians will probably be pleased to hear that saving in the legacy IFF-8SVX format is already implemented, though only in mono for the time being. (Given the cherished image of the Amiga as “the world’s first multimedia computer”, it is hard to believe that Electronic Arts’ original IFF specification didn’t consider stereo waveforms – support for them was only added later by a third party. Unfortunately, IFF files store stereo data in a non-standard way that libsndfile doesn’t support, so I need to write my own saver. Oh bother!)

To add insult to injury, one of my testers has reported certain memory-related problems on his Sam460, which we’re currently looking into. To this end I’ve dug up my old Sam440ep-Flex from storage and re-installed it so that I have one more machine for testing; I really want Rave to work plausibly across the OS4 hardware range. With its low specs the Sam is more suitable for simulating dire memory conditions (you simply run out of RAM more quickly) compared to my X5000, and I’ve already fixed an out-of-memory problem that my trusty old computer helped reveal. So things are looking up and if no more roadblocks come in the way, the Rave editor should hit the wild in a couple of weeks. As usual: stay tuned and watch this space.

Amigas on the lake

Sitting at my old demo group’s 30th anniversary party (which I mentioned in this blog post), I had no inkling that we were in fact reviving a tradition. I’m happy to say that since that first reunion, we’ve been meeting on a fairly regular basis to compare notes, play with our machines and discuss all things Amiga. We’re now a mixed bunch consisting of retro hardware collectors, next-gen enthusiasts (yes, me) and occasional emulation users, but the meetings are always great fun!

Although the hotel that hosted our anniversary get-together was great, we felt that for future meetings we had better look for a less formal venue. And it didn’t take much brainstorming to come up with one. High on our mental list was a cabin at the shore of the Vranov Lake, a place near the border with Austria where we last stayed in mid-1990s. At that time, the Czech Amiga demoscene was having its finest moments, and the poor cabin saw the leading scene groups coming down for annual summer parties (which we now like to present as legendary). “Is the cabin still available for hiring?” we asked Lagya of the Guru Team, who used to organize the parties. He promised to find out with the owner, and in a few days the answer came that we got the green light. This was last September, and our very laid-back revival weekend at the cabin left no one doubting that we’d hit the lakeside again this year.

An aerial view of the Vranov lake, town and chateau. (Photo by Lagya)

I took a day off work so that I could arrive on Thursday evening, because weekends in the countryside always feel too short. Erm… okay, I’ll own up: the real reason was that Human Factor (our group’s graphic artist and co-founder) offered to drive me in his Tesla. As a non-driver I don’t care about cars very much, but I must admit that the Model S is a slick and comfortable vehicle – and more importantly, the rides with Human Factor are always good value because of the talks we have. The two of us really go way back! In the Amiga days we tried to make a name in the game development business, and like many other sceners dreamed of turning our creative skills into a paid job. But while I chickened out after a few unsuccessful projects (and instead pursued a safe, salaried career), Human Factor didn’t give up trying, and after a few bumpy years his company Krieg Games started making some serious bucks on mobile platforms. I’m really happy for him – especially as he never hesitates to acknowledge that the Amiga played a key role in his professional upbringing.

Upon arriving at the lake, I realized to my horror that in the hustle of packing (combined with the darkness of the storage room) I had grabbed the wrong monitor stand, which wouldn’t hold my 24″ screen. The ugly DIY that I performed to make it fit would surely cause some raised eyebrows at Hewlett-Packard, but at least the situation was saved and I could finally hook up my X5000. The Classic section was represented by two MiSTer FPGA computers – a new thing at the party but one that quickly won us over. The sheer number of systems this little box can emulate is very impressive, and the level of Amiga compatibility is so high that nobody seemed to miss the two genuine A500s we had there last year. At one point I was seriously considering putting the MiSTer on my Christmas wish list, but second thoughts crept in as I pictured the look on my dear wife’s face. You know, the look that says “Is this power brick really a computer?!”

Human Factor’s white MiSTer FPGA computer.

None of my pals in our group owns a next-generation Amiga system, and I’ve never tried to coax them into buying one. They haven’t experienced the turbulent excitement of Amiga’s PowerPC transition, so they might not see a point in getting a toy to which – unlike to the Classic Amiga – they have no emotional attachment. Still, I always like to take the opportunity to demonstrate OS4 and the latest developments on the platform. One reason is that when my X5000 boots up and shows the Workbench screen, people often tend to regard it as little more than a prettied-up, high-resolution version of AmigaOS running on PowerPC. It’s good to show them that despite its troubled history and uneven development, OS4 brings more than just eye candy. So at last year’s Vranov party I previewed the Emotion media player with hardware-accelerated video playback, put the finishing touches to my Mindsurfin’ demo tune in the OS4 version of MilkyTracker, and played some games that had recently been ported to the platform thanks to the new 3D enhancements.

This year I didn’t have any heavy-hitting stuff to surprise with, so my system got less focus than it normally would (also thanks to the heavy competition from the two MiSTer machines). But it was heard all right, for during meal times and talks I streamed various online radios with the help of George Sokianos’ new tuner application MediaVault. The SID Station, a chip music-oriented radio based in Holland, became an instant favourite, so there was a lot of bleeping in the room. The incredible works of Matt Gray, Rob Hubbard or Chris Huelsbeck cannot hope for much airplay at home when your wife’s around, but among computer geeks with 8-bit roots, the music always reaches the right ears.

Anyway, back to MediaVault. It really is one of those under-appreciated little programs that spice up your computing life – and I’m very proud to have contributed a small bit of code to it in its early stages. MediaVault is also one of the things I’ll want to show next time somebody asks, “So what can your glorious OS4 machine do that my Classic Amiga can’t?” George has recently updated his freeware program to cover podcast support, which brings a whole new level of fun and makes MediaVault a perfect solution for your online listening. He has also set up a page on, a Patreon-like website where he frequently posts news and development progress updates. We all know that talented AmigaOS4 programmers don’t grow on trees, so why not buy George a nice cup of coffee to support his efforts and show your appreciation? Hell yeah, let’s turn him into a caffeine addict!

Oh, the smell of fresh brew, the smell of morning! I’m an early riser, which gave me about two hours of peace and quiet before the other guys crawled out of their beds. I made good use of this solitary time (and the coffee) to further work on my Rave audio editor, specifically, on the new Process menu, which is shaping up very nicely. At the cabin I was able to add a Fade plugin, which at this point is still very basic, but as it sits on top of Rave’s object-oriented plugin framework, new functionality can easily be added without touching the main program code. My very short-term goal is to add support for logarithmic fading. Essential in professional audio, this feature is in fact a rare find in the Amiga world. Now that I think of it, of all Amiga sound editors I’ve ever used, Stefan Kost’s SoundFX is the only one that can do logarithmic fades – but like everything else in SoundFX, they’re rather complicated to set up there. I’m sure AmigaOS4 composers and sound designers will find them a welcome addition once my Fade plugin gets updated. Other Process menu functions I’ve recently finished include audio channel swapping and conversion, the latter featuring 64-bit floating-point precision mixing for stereo-to-mono conversions.

Me showing the latest development version of the Rave audio editor.

But the morning time I spent tickling the Rave code was just a nice little extra, a few private hours in which I deliberately allowed work to prevail over fun. There were many great moments at the party – and not just because we had beer on tap and you could self-service yourself to oblivion. Or because you didn’t need to feel awkward watching quirky demos you made quarter a century ago. Thanks to the emulation capabilities of the MiSTer, I was able to correct some of my Amiga-centric views of what other historical computer platforms had to offer, which was an illuminating experience. With quite some trepidation I watched Lagya’s efforts to bring a dead A500 back to life, and I felt a lot of relief that my X5000 saves me from this kind of hardware voodoo; an illuminating experience again. I made a lasting impression on my mates by cooking my trademark goulash, which some of them had the opportunity to see one more time after a bumpy car ride; this experience was not illuminating at all.

Party attendees (still digesting my goulash; left to right): Snappy, Jofa, Defor, Lagya, me, and Human Factor.

But the high-point of the party was our Saturday afternoon visit to the Terra Technica Time Travel Museum in Hatě. I hadn’t heard of the place or visited a similar one before, which added to the power of my experience and turned our trip into an unheralded gem of the weekend. Located just a few kilometers from the Austrian border (and owned by an Austrian guy called Ronnie Seunig), the museum presents itself as “the world’s largest museum of jukeboxes and pinball machines”. Such a description would leave me perfectly cold if, in fact, the place weren’t much more than just that. While the jukebox and the pinball halls were cool with their flashy, deliberately overdone American feel, we preferred to spent more time in the Pixelworld. This video games section of the museum had all the retro computers we love, plus over a dozen machines we had never seen in real life. There were several Amigas including two rare A500 models from Commodore Germany’s 1989 “New Art Limited Edition”, featuring trendy cases designed by the late Stefanie Tücking. I bought my first Amiga in Germany, and I remember I almost went for the ball design A500 because the computer shop was eager to drum up the sales of the Limited Edition, but after some internal struggle I bought the regular one. Silly me. If only my visual taste had been less conservative: I could have a collector’s item now!

The ball design Amiga 500 on display at the Pixelworld.

When it comes to video games, I must not forget a battery of arcade cabinets they had in a separate hall. Some of these were very old, predating the late 1970s/early 80s arcade game boom, and you simply had to marvel at the resourcefulness of the people who were able to design such wonderful machines through purely electro-mechanical means. Many (if not all, I didn’t check) cabinets were token-operated and playable, just like the pinballs in the other hall. How could we possibly pass up on such an opportunity to relive a bit of our childhood days? I can tell you that a lot of hard-earned cash fell into the token dispenser before we moved on to the last (and newest) section of the museum. The Sound & Vision room, while much lower on the hands-on factor compared to the games hall, was a great place to round off our visit. As the name suggests, this section is dedicated to the history of audio-visual technology. And as if the museum owner thought we hadn’t seen enough interesting gadgets, we found ourselves surrounded by a plethora of historical devices, tools and media, from Edison’s phonograph through shellac discs to early digital recorders. You bet that my audiophile heart bounced with joy!

With Laurel and Hardy in the jukebox hall.

And then it was Sunday and it was time to put our computers back into their transport boxes, finish the keg, and wrap the party up. Interestingly enough, although we extended our lakeside weekend by one day this year, we were still in the mood for more. Must be some kind of Amiga paradox because this is a feeling I get from almost any Amiga-related event I attend. Another paradox is that I needed almost two months to cover our four-day party, but this is because family matters got in the way unfortunately. I nevertheless hope you’ve enjoyed this belated report as much as we enjoyed our geeky get-together. There’s every indication that it will turn into an annual fixture, so Amigas on the lake are there to stay!

Raving on: Part 2

It’s six weeks into the summer holidays – although this year, the word holidays rings a bit ironic to me because I don’t remember ever being so busy during summertime. Thank goodness, my current workload is not related to my day job, so paradoxical as it may sound, I’m getting a lot of enjoyment from sweating my guts out in this hot weather. Yes yes yes, I’m finally back on track, trying to catch up with my Amiga projects! And because I last published a progress report four months ago, I think it’s now time to take a little break from programming and bring my readers up to speed. So what’s the latest on the Rave audio editor?

The majority of work I did in the past weeks related to the sample editing functions and improving clipboard support. What I see as my main achievement is that all editing operations are now asynchronous. So when you, for example, copy a large chunk of audio data into the clipboard (which can take some time, especially on low-end systems), you can continue working on another sample. Sounds easy but in a multi-project environment, making things asynchronous involves much more than just disengaging the window’s busy pointer! As each project runs on a separate DOS process, you need to design an underlying system that manages the operation of the program components and synchronizes access to shared resources. Rave has had such a system from Day 1, but asynchronous editing required making it more sophisticated and robust. Think of building a house: you really want it to stand on solid foundations, otherwise things will start falling apart as the construction continues!

In a program where certain functionality is provided by components running on separate processes, the first thing you need to ensure is that no “stray” processes are left running when the program ends. AmigaOS4 makes this easier thanks to certain new features in the DOS Library. One of the many great additions brought by the OS4 DOS is that processes can be put in a parent–child relation. In other words: when you start a sub-process that serves the main program process, you can identify the sub-process as a “child” that is resource-dependent on its “parent”. Unlike in older AmigaOS releases, the parent process cannot quit while its children are still running about. To help synchronize process ending, the OS4 DOS has introduced “death messages”, through which child processes can notify their parent that they’re about to quit. Implementing death messages in Rave represented one step towards solidifying the program’s project management system.

Other steps were aimed at better organizing project activity and safeguarding access to shared program resources. To that end, Rave utilizes a simple but effective message-passing mechanism that boils down to the following. Whenever some kind of interaction takes place between the main program and a child component (a module or a plugin), the one that initiates this interaction sends a message and waits for a reply confirming that everything is OK: an operation has started, data has been received, and so on. Only after receiving the confirmation message is the main program or the component allowed to continue. This helps keep things in line and avoid all sorts of potential collisions and race conditions. A welcome “side effect” is that, by imposing order on what the individual program parts do and when they do it, the confirmation messages also help in arbitrating access to shared resources. Together with mutex protection (another new feature brought by OS4), they represent an additional layer of robustness contributing to a greater stability of the program.

I got a little technical here to give you an idea of what kind of work has been done under the hood, and I’ll now focus on things that are hopefully more “visible”, or at least less abstract to describe.

Asynchronous editing quite logically led to another improvement: support for multiple clipboard units. I say logically because Cut, Copy or Paste operations wouldn’t really be asynchronous if the project needed to wait for another project to finish using the clipboard. I’ve mentioned above that a clipboard operation involving a large portion of data can take quite some time on the Amiga. (Ever tried copying 20 minutes of high-definition audio? Be my guest!) During this time the current clipboard unit is busy, but Rave now allows you to switch between units 0-2 on the fly, making it possible to have up to three operations accessing the clipboard concurrently if needed. The default unit can of course be configured in the settings. During program runtime, unit selection is done from the main menu, or through keyboard shortcuts which – as the screenshot below shows – cannot possibly be more mnemonic:

Selecting clipboard units from the menu.

Speaking of this, I should probably explain – at the risk of getting technical again – how Rave stores the clipboard data. AmigaOS specifies that data in the clipboard needs to comply with the Interchange File Format (IFF). However, this specification is not good enough for modern audio applications because the original IFF standard only accounts for 8-bit audio data. Unlike MorphOS, which said goodbye to this legacy and wisely adopted the much more versatile AIFF container for sound clips, AmigaOS4 hasn’t dared to go this far yet. Without an updated official specification clearly saying how to put 16-, 24- or 32-bit sounds in the clipboard, the actual implementation is pretty much left up to the developer. Which is never a good thing, considering the legendary creativity of Amiga programmers.

To be on the safe side, I have used the same hybrid solution that Fredrik Wikstrom devised for his AmiSoundEd editor: 8-bit audio data is stored in the old IFF-8SVX format to make clipboard exchange backwards compatible, whereas anything above 8 bits is formatted as AIFF. To be honest, I’d much rather go the MorphOS route and do away with 8SVX altogether (especially as there is practically no audio software worth striving for compatibility with). My code is perfectly ready for the change, but unless OS4 adopts a new standard, things will stay this way.

Because in real use it’s easy to lose track of what you’ve put in the clipboard, I have implemented a simple information window that displays the properties of the data stored in each clipboard unit. The images below show the current contents of the three supported units:

The Clipboard Information window.

And as you will no doubt find it useful to have similar information about the projects you are working on, I have added a window that shows detailed project properties. The Project Information window is accessible from the menu as well as from the program toolbar. The window also incorporates a Metadata section, in which you can view and edit some common metadata strings to be stored together with the audio file:

The Project Information window.

Well, that’s about all I can share at this point – I think I’d better get back to work now. I’ll post another progress update in a few weeks, during which I hope to revisit and update Rave‘s plugin framework (or whatever will call for attention). Stay tuned and watch this space!

The Polish lesson

Cieszyn is a quiet border town in Silesia, a historical region that now spans parts of Poland, Germany and the Czech Republic. It is in fact two towns, for fate and politics had it that after World War I and the collapse of the Austro-Hungarian Empire, Cieszyn got divided between Poland and the newly formed country of Czechoslovakia. It wasn’t a very fair split and it’s quite understandable why: with the majority of the local population being Polish, the larger part of the town including the nice historic centre went to Poland, while Czechoslovakia acquired the industrial suburbs in the west.

I remember that at the end of the 1980s, Czech Cieszyn was a run-down place where apathy and despair could be sold in quantity. Grey suburban ugliness shook hands with the communist town-planning butchery, and the ubiquitous feeling of decline was augmented by the grim border guards who, armed to the teeth, patrolled the two bridges separating the town from its Polish sibling. Far off the sightseeing map, the place gave you little reason to come for a visit. Yet I found myself travelling to Czech Cieszyn on an almost monthly basis, and so did many home-computing fans from my area. There was one particular reason why we would happily suffer two hours on a slow train and two hours back – and it certainly wasn’t the snack in the salmonella-infested railway station bistro. The reason was that the bookshops in Czech Cieszyn sold Polish books and magazines.

Now, that probably needs some explanation. At that time, Czechoslovakia was ruled by an authoritarian communist gerontocracy that neither welcomed nor understood modern technology. While in the West the home-computer revolution was in full swing, Czechoslovakia literally sneaked into the new era along the sidelines, thanks to enthusiastic individuals and local communities that found ways, often illegal, to fill in for the non-existent computer market. Surprisingly enough, obtaining hardware wasn’t the biggest problem (although the Iron Curtain was still firmly in place); in fact, by the end of the decade many Czech households owned a Sinclair, an Atari or a Commodore. But information was a precious commodity. The country’s only off-the-shelf magazine devoted to computer technology, Elektronika, largely focused on industrial applications in the Soviet Bloc, and provided little material on home computers. As a teenager with a shiny C64 on your desk, you really didn’t want to read about a bulky mainframe from Bulgaria.

Things were very different in Poland, where computerization was taken more seriously. While also ruled by communists, the country actually had adopted a nationwide computer literacy programme, which went under the official slogan “The Game for Tomorrow.” The Polish government believed that encouraging young people to use computers productively would bring, at a later point, highly skilled workforce that would make an impact on the country’s ailing economy. Among the results of the official policy were two computer magazines that made us Czechs green with envy: Bajtek (which was mainly home-computer oriented) and Komputer (which focused on users from the professional sphere). Compared to our puny Elektronika, both magazines contained far less ideological fluff, and happily covered the latest technological developments in the West. And as a Slavic language, Polish represented a much lower barrier than the German we found in magazines occasionally smuggled from the neighbouring Austria or West Germany. So Bajtek and Komputer provided a good reason to hop on the train and take the lengthy Saturday trip to Czech Cieszyn. The refreshing read made the journey well worth it.

Dusted off: some of my Polish computer mags from the late 1980s.

I know that history makes a point of repeating itself, but I’m still finding it hard to believe that – more than thirty years later – I’ve bought a Polish computer magazine again. Why did I bother, now that I can choose from about half a dozen different titles in my native language? Well, this particular mag has one great thing about it: it’s an active, Amiga-oriented print magazine that focuses on the next-generation branch of the platform. Which came as a surprise because for a long time the post-Commodore systems had, at best, shared pages with the classic Amiga in the remaining few magazines such as Amiga Future. This suggested that things had never been peachy enough in the next-gen quarters to justify a dedicated mag. Well, that’s what I thought before I heard of Amiga NG.

Four years ago in Poland they decided to take the plunge and start a magazine to cover the three NG flavours, that is, AmigaOS4, MorphOS and AROS. More importantly (because starting a mag is easy), they were really serious about it. The brainchild of Adam Mierzwa went from a simple PDF-only pilot publication to a full-colour 64-page printed magazine that, at one point, became a regular quarterly and earlier this year made it to issue #10. (This is the part where you say wow!) The efforts of editor-in-chief Mierzwa and his small team have been supported by the Polish publisher Adam Zalepa, whom you may also know as a prolific author of Amiga-themed books and user manuals. Initially unconvinced, Zalepa gradually warmed to the idea of a new magazine, and Amiga NG became part of the impressive range of computer mags published by Zalepa’s company Bitronic. And although I doubt it brings the publisher any profit (considering the low print run, which doesn’t exceed 100 copies), from the buyer’s point of view Amiga NG is certainly not a let-down.

In your hands, the magazine feels unusually heavy with all of its pages printed on thick glossy paper. Very thick in fact – the paper weight surely exceeds that of Amiga Future or Amiga Addict. One cannot help asking if such luxury material is really necessary for a hobby mag, and whether a bit of money could have been saved here to spend it on something else. For example, on page design and typesetting, which is a little crude and basic in Amiga NG. Because quite predictably, the project cannot afford to employ a regular graphic designer, leaving the chief editor responsible for graphic chores on top of his editorial, writing and organizing duties. Someone really ought to come and take the load off the back of that busy Mr. Mierzwa!

Is your Polish a bit rusty? Time to brush it up!

As for the magazine content, Amiga NG brings the usual: news, hardware and software reviews, tutorials, reports, interviews, and of course the occasional ad. The 64-page format is rather generous and provides plenty of room for screenshots; it also allows the interviews to go into greater depth. Indeed, I’ve found it is the interview section that is my favourite. The magazine team makes good use of their podcasting experience, so the interviews are well-conducted and bring a lot of interesting information, often spanning several pages. What I especially like is that zeal and optimism do not choke the critical mind. Instead of painting a rosy picture, the mag is often very blunt about the various problems that plague the next-gen Amiga world. I appreciate this realistic mindset, which I think is more beneficial to the platform than self-delusion.

All right, so shall we all now start learning Polish to be able to read Amiga NG? Is that what I’m trying to say here?

No, of course not: the lesson mentioned in the title of this article is purely metaphorical, and has nothing to do with language learning. The educational point is in something else. I’m writing this text because I realize that, for the second time in my life, my Polish neighbours have shown me that a can-do attitude is the perfect recipe for bad times. I can see that whether your computing fun is spoilt by the communist grip or by the frustrating legal mess that is currently ruining the AmigaOS4 ecosystem, you can still have your way if you put in hard work and enthusiasm. From this viewpoint, it appears rather ironic that the international next-generation Amiga scene hasn’t even started contemplating a dedicated periodical to represent itself through – now that we know that users in Poland have had one for several years. Some food for thought perhaps. At any rate, the Polish lesson teaches us that things can be done if the rope is pulled in one direction. Thanks for the reminder, Amiga NG!

Raving on

“April is the cruelest month,” says T. S. Eliot in the opening of his most famous poem, The Waste Land. Well, I sincerely hope this year will be an exception because I’d say that March was tough enough. The Covid-19 pandemic got a little out of hand here in the Czech Republic, resulting in another hard lockdown, so I really wouldn’t like to see April compete in cruelty with its predecessor!

I had every intention to release a beta preview of the Rave audio editor before the end of the month, as I had announced in my December post. But given the circumstances, I just couldn’t get to the finish line. With daycare facilities closed as of 1 March, my wife and I became full-time teachers, activity leaders and cooks on top of our daily jobs, and although our five-year-old is a great little fellow, having him around 24/7 doesn’t leave one with much time and energy for programming. I normally enjoy my late-night Amiga sessions, but with so much to do during the day I often struggled to stay awake past 8pm. So, quite understandably, March has seen much less progress than I had planned and hoped for. To add insult to injury, at the time of this writing I still haven’t got the foggiest idea when the lockdown will be lifted and I’ll be able to pick up speed again.

Ironically enough, March was an exceptionally good month for AmigaOS4, with some major releases seeing the light of day. The cross-platform multimedia-oriented programming language Hollywood went up to version 9, bringing the biggest update in six years (see this link for a non-exhaustive list of new features). A few days later we saw the much-anticipated Release 2 of the Enhancer Software pack, the undisputed high point of which is hardware-accelerated video playback and various improvements to the graphic subsystem. My favourite media player AmigaAmp also got updated in March, and as if it were not enough, on the very last day of the month Harald Kanning made a surprise release of a new AHI driver. Amiga platforms (classic or next-gen) don’t see AHI drivers released very often, so the choice of OS4-compatible sound cards has until now been rather limited. What Harald’s driver brings to the party is cards compliant with the Intel HD Audio specification, which are cheap and easy to come by. This means that one no longer has to resort to older models, which often can only be sourced second-hand.

So it’s not that AmigaOS4 users have no new toys to play with at the moment – quite on the contrary. But given my inability to add to the string of happy releases I feel it would at least be fair to give some news on Rave. So this is a brief development progress report and a summary of what I managed to do in the past month or so.

First, my old friend Jan designed a logo for Rave and also provided me with some additional graphics for the program. Jan and I have collaborated on various projects since the early 1990s when we both were in the demoscene, and although he’s now a busy professional lad (and probably looks upon my continuing Amiga passion with a benevolent smile), he has never turned me down when I needed his skills. Thanks to his contribution I was able to implement a simple splash screen that indicates the progress of the program start-up:

I also found some spare time to extend the program’s Edit menu and add several new functions to control sample range selection and manipulation. On top of the usual Cut, Copy and Paste combo, I have implemented the highly useful Trim (only keeps the selected range and removes everything else) along with Clear (sets the selected sample data to zero), Delete (same as Cut but does not copy the data into the clipboard) and Grab (creates a new project containing data copied over from the selected range). The new Paste Special sub-menu extends your pasting options with some handy functions for specifying the position at which the clipboard data should be inserted. Furthermore, in order to make range selections easier, a few related commands have been added to the Edit menu as well. All this means that although the initial version of Rave will be relatively basic and limited (especially as regards the number of effect plugins), it should at least get you covered for reasonably comfortable waveform editing.

The Edit menu.

Nevertheless, the program component that has lately received the most attention is the file requester module. One of the early screenshots I published shows that Rave utilizes a custom file requester, instead of the standard one provided by the system via the ASL Library. While this may sound unnecessary, there are good reasons why I decided to go to such lengths. Above all, the ASL requester falls very short when it comes to customizing it for the needs of more complex software. For example, in a modern audio editor you will expect to be able to enquire about sample properties, possibly even preview your sounds before you load them. Similarly, when you save audio files you’ll want to configure the output format from the file requester rather than via a separate configuration window (as is typically the case in Amiga sound editors). This leaves the ASL requester out of the question: you need to develop your own.

In Rave, file selection is handled by a separate program module implemented as a private BOOPSI class. The initial idea was to make it streamlined for audio use, focusing particularly on the features my editor needed. The result was a requester that did its job (except for audio preview, planned to be implemented later) but lacked some of the ASL features. Certain properties such as file display order were not configurable, the requester did not support DOS links (because audio files are rarely linked), and there were no functions for file management such as Create New Drawer or Rename. But after some time, second thoughts crept in. I realized that with the ASL requester being so ubiquitous in AmigaOS, many users would take its features for granted and might consider my custom replacement half-baked. Therefore I took to adding more functionality, as the March situation permitted, to get closer to the original. And I think the current result is a very good compromise: it retains a lot of the ASL look and feel, while being tailored for the program’s needs and closer to what you see in professional audio software on other platforms.

The file requester (with the Control menu open).

So the good news is that although the plan to march on in March kind of fell through and the beta version will need some more time to get completed, Rave has still received quite a lot of love and the development is certainly going on. Which reminds me of the old I Ching that says: “Going on means going far” – I really like the sound of that!

Demoscene: The Amiga Years, Volume 1

I had barely finished my January blog post when – THUD! – something rather heavy fell through the mail slot. I had been buying a lot of stuff online because of the Covid pandemic, so I had somewhat lost track of my orders: I knew it could be anything from frozen pizza to a framed picture of a disappointed horse. After unpacking, it turned out to be a book!

I’m not a great fan of crowdfunding but I have supported a few campaigns, mainly those aimed at documenting the history of the home computer era. As it coincided with my formative years, I now feel very strongly about things that help preserve the legacy of this wonderful technological age. So when it became known that an independent French publisher, Éditions 64K, had started an Indiegogo campaign for an extensive book about the Amiga demoscene, I was sold immediately. Considering how large and busy the scene had once been, it didn’t come as a surprise that the book got successfully funded in only two weeks.

Yet I wasn’t really expecting it when the book was delivered, mainly because the planned publishing date sounded a wee bit optimistic to me. Let me see: the campaign started in June 2020, with shipping expected for December. The publisher promised a mighty 450-page hardback covering approximately 90 demos from 1984 to 1993, in full colour print on quality paper. It was supposed to contain not only visual material but also a great deal of text describing the demos as well as giving interesting background on their development. I had previously worked for the publishing industry, so I knew you could easily deliver such a book in six months if your source material was more or less ready. But there were certain signals that the hay was nowhere near the barn. First of all, well into the campaign the publisher decided to change the title: the book was originally meant to be called – and was even promoted as – Demomaker, which admittedly was a major misnomer. Why’s that? Back in the early 90s, the Demomaker was an infamous Amiga program that allowed noobs and lamers to build simple demos from a set of ready-made effects and routines. Because such a program embodies a perfect antithesis of what the demoscene stands for, giving the book the same name would have been highly ironic.

Left: Demomaker by Red Sector Inc. Right: The original book cover mock-up.

Having chosen a much more appropriate title, the publisher then went on to announce a string of new sceners joining in and contributing their productions and stories. Which is great of course, but any such addition naturally inflates the project and adds to the production time. Given the ultimate number of contributors, combined with the fact that the demoscene is international and not all sceners are native speakers, it was clear the publisher would have a hell of a time organizing, editing, translating and proofreading the text content on top of all the graphic and typesetting work. I had a strong hunch that unless some corners were cut, Santa’s reindeer sleigh would end up short of cargo in December. So yes, the January delivery came as a nice surprise to me.

Upon unpacking I could immediately see that no expense was spared on the materials and binding. Chunky and substantial, the book presents itself as a formidable volume that will deserve a prominent position on your bookshelf. There is no dust jacket, but the cover is sturdy and very nice to the touch. It features pattern coating of glossy varnish and the book title is made in silver finish, which adds to the impression of a luxury item. Even just holding the book and flipping through its pages will make you feel that money has been well spent here.

As for the contents, I need to start with a small caveat. The book is called Demoscene, and the title may suggest that some kind of comprehensive account or analysis of the demo-making community is offered here. This is not the case, and let’s make it perfectly clear that such a thing was not the intended scope of the project. (If it were, the book would surely have to provide a more systematic coverage of two vital elements of scene life: diskmags and demoparties.) Instead, the book was conceived as a demo showcase right from the start, and indeed this is what you get in the first volume: ninety influential Amiga demos from the years 1984–1993. Although we need to add that the first three items were included mainly for historical reasons rather than for being actual demoscene productions.

If you followed the scene in the late 80s and early 90s, chances are high that you’ll be more than happy with the selection. I for sure can say that all of my personal favourites are there: the RSI Megademo by Red Sector – a demo I ran for weeks on end until the two disks developed serious read errors. Both megademos by Budbrain, showing that the scene didn’t lack a sense of humour and was not only about fame and competitiveness. The quirky Mental Hangover by Scoopex, a technological milestone that ushered us to the new dynamics of the trackmo era. Enigma by Phenomena with its phenomenal soundtrack. Digital Innovation by Anarchy, an unbelievable 30 minutes of graphics, effects and music squeezed on just one floppy disk. Hardwired by Crionics & The Silents and Desert Dream by Kefrens, epic demos that employed elements of film-inspired storytelling. And of course State of the Art by Spaceballs, a frantic visual performance that could easily be mistaken for a video taken from MTV. I could go on and on.

Left to right: Enigma by Phenomena, Revelations by Cryptoburners, and Voyage by Razor 1911.

I’m glad the demos are presented in chronological order rather than alphabetically or sorted by group. An obvious advantage of this arrangement is that you can clearly see how the scene, its techniques, skills and aesthetics developed over the said period. You won’t fail to notice certain ugliness that is intrinsic to the early “megademo” phase, and the growing artistic aspirations of the post-1991 production. Better than any sociological study the book captures the predominantly adolescent male character of the scene, which reflects in demo themes (often inspired by the sceners’ reading lists of science fiction and fantasy) as well as in graphic artwork (obsession by the feminine, an element that the scene noticeably lacked). The visual material alone provides great insight and serves as a valuable document of the times.

But it was the text content I mainly bought the book for, and as far as new information is concerned, the volume certainly doesn’t disappoint. I have seen (and yawned over) retro-oriented publications that merely rehash well-known facts and then quote people with rose-tinted glasses on how great the Amiga was. This is not one of them: the book brings a look behind the scenes in the true sense of the phrase. Although the copyright page names Christophe Boucourt as author, the text is apparently not a systematic account written by one person; it was in fact co-authored and largely collected or adapted from various contributors directly associated with the demoscene. This makes the text content rather varied and somewhat lacking in coherence as a whole, but on the other hand it adds to authenticity because you know the information comes right from the horse’s mouth. The parts where sceners introduce their computing background may come across as a bit repetitive because the stories tend to be quite similar (“I had a Commodore 64 before I got an Amiga”), but otherwise the book is packed with interesting trivia and sheds a lot of light on scene life. Group wars and animosities, membership changes, rise to fame and fall to oblivion, the challenge of technology, creativity and the spirit of competition, long nights up getting things ready for the next day’s demo contest, parties raided by the police… it’s all there, testifying to the fact that the Amiga demoscene at the turn of the decades was a vibrant and a thoroughly unique subculture.

My only gripe about Demoscene: The Amiga Years, Volume 1 is the language quality of the book. As I hinted above in one of the opening paragraphs, corners had to be cut somewhere if such an ambitious project was to meet the no less ambitious deadline. I’m sorry to say that much as I appreciate the text content of Demoscene, the proofreaders really did a sloppy job here. I understand that the text incorporated pieces sent by a multitude of different people (sometimes in different languages) and that it wasn’t easy to unify the whole thing, so I’m fine with the style being sometimes a bit rough around the edges. Similarly I don’t get offended by the occasional factual mistake: the musician Moby could hardly have bought an Oric-1 computer in 1993 (p. 421); Cryptoburners’ demo wasn’t exactly called Hunt of 7th October (p. 92); there was no member of Kefrens called “Mellican” (p. 362), etc. However, what I cannot pass over in silence is the grammar and spelling errors, the number of which is beyond acceptable. I have no idea how much the proofreaders were paid for their work, and I’m sure the book was a labour of love and won’t make the publisher rich. But a project of such magnitude and of such immense documentary value certainly deserved better. I would have easily lived with a delay if only it had resulted in a more polished text, making the reading experience even more enjoyable.

Here’s hoping that the planned second volume will receive more love in the language department, and that this much-needed project will continue to cover other periods and areas of the demoscene. I’ll be eagerly waiting in line to chip in!

Boucourt, Christophe (ed.) Demoscene: The Amiga Years. Volume 1 (1984–1993). English edition. Biarritz: Éditions 64K, 2020. 447 pages. ISBN: 978-2-9575080-0-6.

A word on project synergy

Outlining my programming activities in the previous blog post I also mentioned that I had been involved with the Amiga Developer project for quite some time. After the post went live a few people asked me whether it meant that I would work less on the project now that I develop my own software. The answer is no, not really. In fact, there is a good deal of synergy between Rear Window and the work I do for Amiga Developer, and the two efforts have benefited from each other.

I for sure am biased because of my personal stake, but I’ll say that one of the better things the Amiga Developer initiative has produced is the Enhancer Software Core classes: a free collection extending the standard GUI toolkit provided by the operating system. Indeed, the main reason why I like to promote the Core is because it brings new possibilities to Amiga GUI programming. So when I started working on my Rave audio editor, I knew I wanted to use the new classes on top of the traditional ones. What I didn’t know was that Rave would soon become an important test bed, a trial of fire in which the Core classes would have to prove themselves.

Regardless of how thoroughly you design it, a software component only reveals its true colours when used in real software. By which I mean not only that real-life use exposes bugs and drawbacks that went unnoticed at design stage or during beta testing. Actual use in software also tends to throw new light on how the component could work and what features might be missing. I’ll hazard a guess that a lot of the AmigaOS gadgetry has seen progress because a developer working on particular software was short of a particular feature. Or is it pure coincidence that the GUI toolkit received major updates while Simon Archer, one of the key OS developers, was working on his CodeBench IDE suite? I don’t think so. And that’s just one case in point.

Having access to the Amiga Developer source code repository I was, similarly to Simon, in the lucky position that I could shape the classes I’d decided to use in my software. As a matter of fact, all of the recent updates I have made to the Select Gadget (originally written by Massimo Tantignone) and the InfoData Gadget (Mark Ritter) were motivated by something that cropped up while I was working on Rave. And it won’t come as a surprise that my audio editor is also directly responsible for the very fresh addition to the Enhancer Software Core: the ToolBar Gadget class, which I have recently covered for the Amiga Developer Blog. Here’s how it all came about.

I have a habit of starting my projects by designing the GUI. Although in the end it usually bears little resemblance to the original version, I prefer to do it this way because seeing something tangible on the screen jogs my creativity. (It also tricks me into feeling a sense of accomplishment, despite the fact that the program doesn’t do a thing yet.) So I was sitting there designing an early toolbar for Rave when I once again realized how much I hate the standard SpeedBar Gadget, because it takes ages to set up. In an ensuing act of bravado I decided to put the work aside and write a custom toolbar gadget class: one that would be basic in features but extremely easy to get going. I thought, few programs use their toolbar for more than triggering action, so why not focus on the primary function? It turned out to be a relatively quick job, and it would have remained a one-off affair (and I would have no article to write now) if I hadn’t made a classic mistake: I shared my work with others.

In a way, I shot myself in the foot by offering the ToolBar Gadget as a contribution to the Enhancer Software pack. I fell prey to semantics, not realizing that if something is called “Enhancer”, people will invariably expect more features from it. Well, my gadget class didn’t have more features than the SpeedBar, it just represented a simpler alternative – which apparently didn’t come across as added value. The subsequent reactions ranged from indifference to downright scorn, and they were a painful lesson to learn. One fellow developer kindly sent a list of features my class absolutely needed to have before he even bothered to use it; isn’t team spirit great? But we Amiga programmers are renowned for our resilience (on top of the fact that we can cook a decent curry, which puts us in constant demand at registry offices), so I didn’t give up that easily and continued working on the class alongside the Rave project. This turned out to be a very sensible decision because as the program evolved, so did the ToolBar Gadget in response to my growing needs. Thus one feature led to another until one fine day (whew!) I finally felt that my dear little creation could no longer be blamed for not enhancing the Enhancer enough.

My Workbench screen showing various configurations of the ToolBar Gadget.

A brief look at the screenshot above may suggest that there is little visual difference between the ToolBar and the old SpeedBar. And yes, when the ToolBar Gadget saw its first public release, a few users seemed disappointed that the two classes didn’t look any different. On closer inspection, however, you’ll notice certain details that go beyond the default look and hint at the advanced configurability of the ToolBar. Most prominently, the new class features a borderless mode, which arguably looks more modern and helps reduce clutter in crowded GUIs. There are also smaller and less conspicuous improvements such as support for multiple image sets (and easy switching between them), adjustable inner padding of the toolbar buttons, or configurable style of the separator bars.

One feature I’m really proud to have implemented is overflow handling. What is that? Well, some toolbars can be quite long and take up a lot of space in the program window, which may complicate use (especially where screen estate is limited). Therefore, toolbar classes are typically designed as “collapsible” GUI elements, to allow shrinking the window to a smaller size. When the window becomes too small to fit all of the toolbar members, we get a situation called overflow. How this situation is handled depends on the particular class. For example, the SpeedBar Gadget employs a scrolling mechanism that is triggered by holding the SHIFT key and then dragging the mouse left/right (or up/down if the gadget is vertically oriented). I’ve always found this behaviour rather quirky and unintuitive, so I preferred a smarter solution. As the image below shows, the ToolBar Gadget reacts to overflow by displaying a selector button on the right. Clicking on the selector invokes a pop-up menu the individual items of which correspond to the toolbar members that are currently out of view. So even in a minimum-sized window it’s really quick and easy to access the program functions. (Potential naysayers will be happy to know that overflow handling is optional, so if you prefer to have a “static” toolbar that is always displayed in full, you simply don’t turn the feature on.)

Toolbar overflow in MultiEdit.

Having finally released the updated ToolBar in October 2020 I though I’d give the Enhancer classes a rest for a while and fully concentrate on my audio editor, but as every seasoned programmer knows – man proposes, software disposes. Soon after I got down to business, working on Rave provoked another idea. Now, unlike in other spheres of human activity, ideas in programming can be really dangerous because they often lead to feature creep and, ultimately, projects that never get finished. Large software companies even hire professional hunters to locate staff programmers with ideas and shoot them on the spot. But as a humble freelancer I didn’t need to worry, and because the Christmas period promised some extra free time, I decided to have one more go at the ToolBar Gadget. So, what was this idea about?

Well, the main program toolbar in Rave contains a section with buttons that control the zoom of the waveform display. Originally I had the current zoom level indicated in the status bar at the bottom of the GUI, which was OK but somehow didn’t feel right. From the viewpoint of user interface design, I believe that if a GUI element controls a particular value, the value should preferably be displayed in the proximity of the controlling element, to have clear visual correspondence between them. So I started thinking: what if the zoom level value were displayed in the same toolbar section, i.e. next to the zoom buttons, rather than somewhere far below in the status bar? Of course, the ToolBar Gadget wasn’t exactly up to this: you could create a text-only button, you could even change the text on the fly, but it would still look and act as a button. What I needed was a new type of toolbar member, a read-only display area streamlined for dynamic text content. Luckily, the internal design of the gadget allows me to add pretty much anything (as long as it’s a BOOPSI object), so before the New Year chimed in I had the textbox member type ready and on the job. This is what it looks like in the current development version of Rave:

Notice the zoom section in the toolbar that now shows the zoom-in level.

For good measure I also threw in support for colours and text styles, because it was clear to me that someone would ask for these features sooner or later. Now that I’m thinking about it, in the end I must have made the ToolBar one of the most versatile and configurable classes of the entire AmigaOS4 BOOPSI set. Why do I suddenly feel so tired?

All right, it’s getting long (and late), so time for some closing words. An old Slavic proverb says that you can’t sit on two chairs at the same time. And there’s a good deal of truth in it: working on two simultaneous projects often means that one will rob the other of your time and focus. On the other hand, projects can also inspire each other, grow together and produce a synergistic effect between them. This has worked very well for me: both the Enhancer classes and the Rave audio editor have greatly benefited from the synergy. I’m quite sure there will be more in the future. And I’ll be here to tell you, so keep an eye on the Rear Window!