Curiosities

Findings

What turned up when the cartridge was taken apart. Everything is read in the code; what has not been checked by playing is said.

Three words in the pause, with Q*bert alongside

F1 stops the game and lets you type (p03:BD7C), but only if the Q*bert cartridge is in the other slot (0xF0F5 bit 0). RETURN compares what was typed with three words (p03:BEB0):

The other cartridge matters

At start-up the game checks the four slots and their subslots (p03:BCB1):

Three secret stages

Stages 3, 6 and 10 hide an entrance at a fixed column (p03:BF3A). Touching it stops the scroll for 64 frames, destroys every enemy and then runs at double speed into stage 9, 10 or 11. They are made of blocks that break (the 0xA0 character, p02:8481) and their list carries capsules (p01:7248). At the end the game goes back to the stage that was due (p01:7AC2).

You have to go into the boss

Beating it is not enough: if the ship does not go through its mouth within 300 frames, there is no interior and no captured weapon (p11:A95B).

The text marks the ending

Beating the stage 7 boss brings DR.VENOM IS FAST APPROACHING NEMESIS, RETURN IMMEDIATELY! (p14:94D1) and the way back begins. The real ending comes after the stage 0 core (p10:BBAC): OPERATIONS TO ERADICATE VENOM WERE ACHIEVED BY METALION.

A jr z that looks at something else

At p03:B72E the jr z follows an ld, which does not touch the flags: what it looks at is the earlier cp 028h. That is why class 1 has 10 hits only if its Y is exactly 0x28, and 7 in every other case.

Japan or not

BIOS byte 0x002B decides between GRADIUS and NEMESIS in the title (p01:6173), and between the Japanese and English texts in the story and the ending (p10:A0A7).

Two checks in Nemesis 2 that cannot be met

They come from reading the code and are logical proofs inside each block.

Boss 2's limit. Going down, the boss reaches 0x80 and boss 2 only 0x68 (p11:AB41). But the question "is it boss 2?" (p11:AB44) compares with A, which there is H and is 0, and the boss type is read afterwards (p11:AB4A). It is never equal: boss 2 goes down to 0x80.

The right-edge clipping. An object at p01:6C19 clips its width when it reaches the right edge: it subtracts 0x20 from the column (and 0x1F, sub 0x20). But the column is always below 32, the subtraction always borrows and the clipping (neg, ld b,a) never runs. What happens on screen when an object touches the right edge has not been measured.

Open questions

What is not settled, said as such.

The check against the emulator

Every picture comes from the ROM, but none has yet been compared byte for byte with the openMSX VRAM.

The way back

The code goes from stage 7 to 6 and then down to 0 (p01:7C59). It has not been checked by playing.

The enemy drawings

Each type comes out with the drawing from its record, or with the first one of its animation when its routine changes it on coming out. The animations are not drawn. The beams, columns and growing tongues (0x23, 0x24, 0x39-0x3C, 0x41) have no fixed drawing and are not on the sheets.

Data with no reader

The 2PLAYERS text at p10:B92B is only written because p01:61E7 jumps without loading DE. Drum hits 0xB0 and 0xC0 read outside their table (p04:6AAA).

The SCC after the pause

When the pause ends, the SCC channels are switched on with the value of 0xE1C0, which is the game state (p04:65B7).

The shots of each weapon

Their types and what they do are known (p03:ABC2), but they are not drawn.