I'm having trouble understanding that code. In particular, when is irq_rambo1 called? Every M2 cycle, with ppuflag set when at the end of a scanline? Then why is the //IRQ reset part in there, when according to the updated wiki, the IRQ reload business should be happening at the end of a scanline, not every M2 cycle.

As far as a glitch-free performance is concerned, here are a few things to look out for in Skull & Crossbones:

Look for a rogue scanline above the status bar in the left picture, a garbled "CONTINUES" lettering in the middle picture, and the level selection rectangle being one scanline off in the right picture. I have never seen an emulator that could get all three right AND run Hard Drivin' glitch-free (This video shows that at least during Hard Drivin's title screen, the top scanline of the lower part of the screen should be cut off.) Does your emulator manage to do that?

Here is a real-machine-captured video of the two-player mode, and what glitches should be expected (none, except some jitter at the far right side of the screen in the scanline directly below the status bar).

FWIW, for S&C there is a garbage scanline in both of the flash carts, but the item and level selection screens are correct. Hard Drivin is a glitchy mess below the driving portion of the screen in both.

At every CPU cycle, or 3 PPU cycles (NTSC), like you do with any other PPU IRQs, such as MMC3.

Quote:

Every M2 cycle, with ppuflag set when at the end of a scanline? Then why is the //IRQ reset part in there, when according to the updated wiki, the IRQ reload business should be happening at the end of a scanline, not every M2 cycle.

Correct, read it again. Once the IRQ counter is zero, wait for 4 CPU cycles, then trigger an IRQ. This isn't an hack, as it was already confirmed.

Quote:

(...)during Hard Drivin's title screen, the top scanline of the lower part of the screen should be cut off.) Does your emulator manage to do that?

The current public version has broken IRQs for mapper 64. The unreleased version has fixed such issue.

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum