Karnov MD: the simpler one?
As it seems I can’t sit still, out of curiosity I started a new port: Data East’s Karnov, from 1987, to the Mega Drive. Part of the motivation was knowing that an unofficial port of the arcade already exists for the Neo Geo, and part was thinking it would be less problematic to adapt than Tiger Road: fewer levels, fewer music tracks and, on the surface, a less advanced game. I may be wrong, as we’ll see in future updates.
Like Tiger Road, the arcade board runs on a 68000, so this is another binary port: the original program runs on the Mega Drive, and a layer of glue code translates what it asks of the arcade hardware into Mega Drive graphics, palettes and sound. The differences are still there, though. The arcade shows 256×240 pixels and the Mega Drive 224 lines, so 8 lines are cropped from the top and 8 from the bottom. Its sound runs on a separate board with its own 6502 and two Yamaha FM chips (a YM2203 and a YM3526), so the music and effects are converted for a player of my own on the Mega Drive's Z80, using its FM and PSG channels, with a few effects played as the arcade's own samples through the DAC.
The first steps were analysis tools and a comparison of the different versions of the game, which ended with the Japanese one as the base. Soon the port was booting to the title screen and playing the first stage with its scrolling background. Then came the sprites and colours for each stage, the map screen between stages, a side-by-side comparison of all nine stages with the arcade, and finally the sound. Along the way, no more INSERT COIN, no more FREE PLAY label in the demo. In their place there’s a PRESS START prompt, a pause with its own PAUSE label, a difficulty selector on the title screen and a start-up notice with the build name.
The first builds had their share of bugs: black stripes on the background after dying, a GET READY message drawn in black, almost-black pieces left over the stage when switching to the map, half the frames going black during screen changes, music slowing down on the console whenever its Z80 was paused for DMA transfers, Karnov freezing at the start of a new stage, and pieces flickering on the map screen because too many sprites shared the same line. All of them are fixed now, and work continues on cutting dropped frames.