Download sources for this chapter


This is probably the least exciting chapter in the series. Feel free to skip it, unless you are into random numbers, in which case you can just skip to the final section about random numbers. The first section might be of some relevance as well, where we create a static allocator for RAM, but this tool is not going to be used much in the subsequent chapters. The middle section has almost nothing to do with Megadrive. I just plan for a demo effect and anticipate how many cycles I can spare for its implementation. The effect was never implemented, so feel free to skip this section as well.

Continue reading