In my previous posts, I was able to make the Sega Genesis / Mega Drive compute the Fibonacci number sequence on it’s CPU and pass the TMSS check. In this post, I’m going to focus on making the Visual Display Processor draw images on the screen.
I will be ignoring steps performed by most other people writing on the subject: I’m not clearing the RAM, checking the Reset button, or initializing the Z-80 co-processor, controller ports, and the sound chips. I would rather add code for each subsystem as I need it. However, it’s possible that an actual Genesis will require all of these steps before it will work. I don’t know. I’m far from testing on real hardware, and I see no reason to complicate things early on. Code that works in my emulator is sufficient for learning. Continue reading