RockNES - NES emulator for Windows [5.54] 09/23/2017
Moderator: Moderators
Re: RockNES - A NES emulator for Windows [5.41] 2017
I'm aware of It.
Re: RockNES - NES emulator for Windows [5.50] 07/07/2017
New version. Check the first post to download it.
I've figured out how RAMBO-1 IRQ timing works. The wiki (discussion page) has been updated.
I've figured out how RAMBO-1 IRQ timing works. The wiki (discussion page) has been updated.
-
- Posts: 1510
- Joined: Thu May 19, 2005 11:30 am
Re: RockNES - NES emulator for Windows [5.50] 07/07/2017
Rolling Thunder (U.S. version) glitches badly in the latest RockNES, and also uses RAMBO-1.
Re: RockNES - NES emulator for Windows [5.50] 07/07/2017
Untested game, as far as I know... Shinobi, Klax, Skull&Crossbones and Hard Drivin'.
I'll check it out. That's why I didn't make these changes official in the wiki.
Thank you.
(EDIT: strange, a copy floating the net brings mapper 4 in the header, which is incorrect according to the database).
EDIT2: Found the problem, it's a bug setting a 2K CHR page (should be value >> 1).
I'll check it out. That's why I didn't make these changes official in the wiki.
Thank you.
(EDIT: strange, a copy floating the net brings mapper 4 in the header, which is incorrect according to the database).
EDIT2: Found the problem, it's a bug setting a 2K CHR page (should be value >> 1).
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
New version released.
-
- Posts: 1510
- Joined: Thu May 19, 2005 11:30 am
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Rolling Thunder (U.S.) now works, but the status bar text is partially cut off. Here's a capture from real hardware showing how it's supposed to look --- some glitches at the right-hand side of the screen are there, but no cut-off status line letters. And this video shows that it's ok for the status bare to shake once when pressing START at the title screen.
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Yes, I know. You should consider a major step of getting RAMBO-1 IRQ timing working for all those games. There's a problem of a scanline which I couldn't figure out yet (probably IRQ_latch+1), and the lack of interest in more people helping me. ^_^;;NewRisingSun wrote:Rolling Thunder (U.S.) now works, but the status bar text is partially cut off. Here's a capture from real hardware showing how it's supposed to look --- some glitches at the right-hand side of the screen are there, but no cut-off status line letters. And this video shows that it's ok for the status bare to shake once when pressing START at the title screen.
On other side, my gfx engine might glitch a few games (see Mega Man 3' scanline on ShadowMan), which needs a rewrite to match what's described in the wiki.
-
- Posts: 1510
- Joined: Thu May 19, 2005 11:30 am
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Attached find a Nintendulator source file that runs both Skull & Crossbones, Hard Drivin', Rolling Thunder (U.S. version) and Xybots like in the various videos I posted. Basically, I am making two assumptions that are not described in the wiki:
- It's not IRQcounter=IRQlatch +1, but IRQcounter=IRQlatch |1.
- The |1 part is only done if the write sequence is C000 C001 E001 (as in Skull & Crossbones). If the write sequence is C001 C000 E001 (as in Hard Drivin'), then the IRQcounter is loaded with the unmodified IRQlatch.
- Attachments
-
- mapper064.cpp
- (4.64 KiB) Downloaded 225 times
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Did you read the discussion page?
-
- Posts: 1510
- Joined: Thu May 19, 2005 11:30 am
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Yes, and your proposal does not run all games glitch-free (->Rolling Thunder's status bar) while mine does. The "AND $FE" seems to break Rolling Thunder's Status bar.
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Did you test Skull&Crossbones? Did you see the scorebar without any glitched scanline?NewRisingSun wrote:Yes, and your proposal does not run all games glitch-free (->Rolling Thunder's status bar) while mine does. The "AND $FE" seems to break Rolling Thunder's Status bar.
-
- Posts: 1510
- Joined: Thu May 19, 2005 11:30 am
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Well, the first line of the scorebar is still shifted to the left, but that occurs on a real cartridge as well. I assume you're talking about that red/white garbage scanline, which is gone. Here's how it looks right now:
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Thanks a lot to the both of you for your work on this.
I modified Mesen based on the implementation NewRisingSun posted, and it works much better than the hacks that I was using before.
Hard Drivin' is still giving me very minor glitches during gameplay though (e.g I sometimes get a full blue garbage scanline just above the status bar, mostly when crashing into things). Hard Drivin' seems to need tighter timings than all the other games. I noticed you had it trigger the IRQ on cycle 256, but shouldn't that normally be done on clock ~261 (e.g at the time of the first sprite fetch?) - assuming the wiki is correct and the Rambo-1 uses A12 to detect horizontal blank.
I tried keeping the trigger on cycle 260 (like it already was in my code), and reducing the irq delay to 3 or 2 (instead of 4), but that didn't help.
Triggering the IRQ at cycle 256/257 ends up giving me the best results.
I modified Mesen based on the implementation NewRisingSun posted, and it works much better than the hacks that I was using before.
Hard Drivin' is still giving me very minor glitches during gameplay though (e.g I sometimes get a full blue garbage scanline just above the status bar, mostly when crashing into things). Hard Drivin' seems to need tighter timings than all the other games. I noticed you had it trigger the IRQ on cycle 256, but shouldn't that normally be done on clock ~261 (e.g at the time of the first sprite fetch?) - assuming the wiki is correct and the Rambo-1 uses A12 to detect horizontal blank.
I tried keeping the trigger on cycle 260 (like it already was in my code), and reducing the irq delay to 3 or 2 (instead of 4), but that didn't help.
Triggering the IRQ at cycle 256/257 ends up giving me the best results.
Re: RockNES - NES emulator for Windows [5.52] 07/14/2017
Try Klax and look at the bottom.