F-1 Grand Prix (J) bug (in 1.42 as well as all wip...)

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
geoslake
Rookie
Posts: 16
Joined: Tue Jun 28, 2005 1:33 pm

F-1 Grand Prix (J) bug (in 1.42 as well as all wip...)

Post by geoslake »

hi

Seems theres a bug in zsnes (for this game), which results in a weird display of the info panels (race info, and speed/gear etc)

It works perfect in snes9x

thanks
Last edited by geoslake on Mon Oct 16, 2006 9:13 pm, edited 1 time in total.
Firon
Trooper
Posts: 361
Joined: Fri May 05, 2006 4:37 pm
Contact:

Post by Firon »

Read how to report a bug properly: http://board.zsnes.com/phpBB2/viewtopic.php?t=3821
byuu

Post by byuu »

This bug also affects Sink or Swim. When VIRQ is enabled and fires on a scanline, writing the same VIRQPOS into $4209-a on the same scanline will cause the IRQ to fire again. It is currently blocked by ZSNES, causing the screen skipping.

Example of correct behavior:
VCOUNTER=8, VIRQPOS=9
... run one scanline ...
VCOUNTER=9, -> Fire IRQ #1
... write #$0009 into $4209-a while VCOUNTER still=9 -> Fire IRQ #2
...

Example of ZSNES behavior:
VCOUNTER=8, VIRQPOS=9
... run one scanline ...
VCOUNTER=9, -> Fire IRQ #1
... write #$0009 into $4209-a while VCOUNTER still=9 -> nothing happens
...

It has not been 100% verified if HCLOCK must be >= HIRQPOS when HIRQs are also enabled, but I believe that is the case. Nevertheless, these two games only use VIRQs.
geoslake
Rookie
Posts: 16
Joined: Tue Jun 28, 2005 1:33 pm

Post by geoslake »

ehehe well, far beyond my knowledge :-)
thanks byuu, we may see a fix soon then
Post Reply