Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ninja Baseball Batman "Fix" IRQ/Raster Issues? #1874

Open
KMFDManic opened this issue Nov 7, 2024 · 10 comments
Open

Ninja Baseball Batman "Fix" IRQ/Raster Issues? #1874

KMFDManic opened this issue Nov 7, 2024 · 10 comments

Comments

@KMFDManic
Copy link
Contributor

@mahoneyt944 @grant2258 @arcadez2003

I am not entirely sure we addressed this before. But, it seems like it should be relatively reasonably feasible to address the slowdown issues present in Ninja Baseball Batman, which appear to be IRQ/Raster Effect related, of which quite a few fixes went into MAME for. Hopefully, the entire driver wouldn't need updated to take advantage of some of these fixes. I always assumed it was just related to protection issues. But, now, seems more so it was slowdown for Raster Effects, and a few other pesky issues, which may be very well possible to fix-up in the 2003 code database...well, hopefully! One can never have enough IREM awesomeness:) Sorry if this has been brought up before. I didn't see much related to it for 2003, in my quick search.

M92 Driver, for Ninja Baseball, which I am certain you all already know:) FBNEO has quite a few fixes, as does MAME.

Bugs:

  • nbbatman, bbatmanu: Effects in Ninja Baseball Batman flicker and display incorrectly. samsho2 (ID 06021)

  • Clone nbbatman2bl: AddressSanitizer: heap-buffer-overflow with -aviwrite. Firewave (ID 05865)

WIP:

  • 0.148u5: Smitdogg replaced bad gfx dumps in clone Ninja Baseball Bat Man II (bootleg).

  • 0.147u1: hap changed description of clone '(bootleg/hack)' to 'Ninja Baseball Bat Man II (bootleg)'.

  • 0.146u5: Smitdogg, The Dumping Union and David Haywood added clone Ninja Baseball Bat Man II (bootleg/hack).

  • 0.146u4: Arzeno Fabrice added Ninja Baseball Bat Man (World). Renamed (nbbatman) to (nbbatmanu).

  • 28th January 2012: Smitdogg - We got a booty of Ninja Baseball Bat Man called Ninja Baseball Bat Man II. Changes: Title screen changed. Overall attack speed might be slightly faster? Button C added, it changes the player's size and attack style if you tap it, sometimes if you hold it it does a weird combo attack where you change around sizes while fighting. Sound seems to be changed to samples and it's a shorter music cut just repeated over and over. Maybe other changes. Not sure which resource you find generally best to try to verify some of the additions or fix-ups!

https://github.com/libretro/FBNeo/commits/master/src/burn/drv/irem/d_m92.cpp?after=a8f500c8819bf33cbdb3f038ac1f981290bcfee4+34

  • 0.143u7: Mamesick fixed sounds freezes or halts after a time in Ninja Baseball Bat Man.

  • 0.142u3: Changed description to 'Ninja Baseball Bat Man (US)'. Fixed maincpu rom loading.

  • 8th June 2009: Guru - Ninja Baseball Batman (1993 Irem) arrived. Thanks to Gp-Lee.

  • 0.128u6: Couriersud fixed raster effects in Ninja Baseball Batman by altering the V33 prefetch timing (just a guess as no documentation has been found).

  • 0.105u4: Twisty added 'Difficulty' dipswitch.

  • 0.99u7: Pierpaolo Prazzoli added missing opcode 0 in leagueman_decryption_table, used in Ninja Baseball Batman (machine\irem_cpu.c).

  • 0.56: Added player and coin slots 3 and 4. Added dipswitches 'Lives', 'Any Button to Start' and 'Demo Sounds'.

  • 21st September 2001: Bryan McPhail added 3rd and 4th player controls to Ninja Baseball Batman.

  • 0.55: Bryan McPhail added Ninja Baseball Batman (US) (Irem 1993) and clone Yakyuu Kakutou League-Man (Japan).

  • 26th August 2001: Bryan McPhail improved the IREM M-92 driver, making Ninja Baseball Batman work.

  • 0.36b6: Bryan McPhail added Ninja Baseball Batman (Testdriver) and clone Yakyuu Kakutou League-Man (Japan). Very picky about interrupts. Doesn't work!

  • 24th September 1999: Oliver Bergmann sent in a NEC V20, V30, V33 cpu core, and Bryan McPhail submitted an Irem M92 driver with support for Blade Master, Gunforce, Lethal Thunder, Hook, Undercover Cops, R-type Leo, Major Title 2 and In The Hunt, but none of the games have sound because of an encrypted sound CPU.

Mike Tyson and Jake Paul fight next week on Netflix...Gonna be quite an interesting one to see:)

@grant2258
Copy link
Contributor

I think this only happens at the map screens well I remember it that way in my head.

@KMFDManic
Copy link
Contributor Author

@grant2258 Correct, which appears to be due to Raster Effects at those points. I believe the tilesets are also offset, amongst a few other minor issues. On Lower Spec Platforms, the slowdown at the map junction points can be quite irritating, with how long the game lags for. The fixes appear to be in place for FBNEO, as the Map Loading portions are seamless...But, of course, FBNEO isn't as optimal on Lower Spec for M92 games, unfortunately. Seems like, if we don't actually have to update the driver, itself, could be trivial to just address these hopefully minor to fix conflicts. This could, of course, parlay into fix-ups for a few other games on the same driver.

Hope all is well, by the way!

@grant2258
Copy link
Contributor

grant2258 commented Nov 7, 2024

Yes all is well am in the middle of possibly changing jobs managed to get a job opportunity in the council. Ill officially be employed by the government if everything works out. We all just need to go where the money is these days, ive not completely made my mind up ive passed the usual background checks ect and its multi stages interviews. If it turns out a better deal ill take it. Hope all is well with yourself as well!

@arcadez2003
Copy link
Collaborator

arcadez2003 commented Nov 7, 2024

This is the on;y mention of a fix for the raster effects in the MAME WiP when it comes to the game.......
arcadez2003/mame@4ffa290

From memory i looked into adding the fix here but our NEC CPU is totally different so it was hard
to pindown for me atleast where in the code to splice it in maybe FBN has an easier to implement
fix for this.??

The only other mention on this is an ole post on MAME Testers
https://mametesters.org/view.php?id=1060

@KMFDManic
Copy link
Contributor Author

@arcadez2003 Looking at the fixes in FBNEO, some seem to be related to kludge and NCycles and Vez IRQ? Maybe @dinkc64 could shed some light?

@arcadez2003
Copy link
Collaborator

Aye he's the man to ask alright so why dont ya :)

@dinkc64
Copy link

dinkc64 commented Nov 8, 2024

Heyo arcadez, sorry buddy, I missed ya on ye olde chatter earlier. Damned time change (DST) is messing with me...

Regarding nbbatman: setting up the 8529 pic (programmable interrupt chip) fixed all the problems with nbbatman and got rid of all the kludges regarding messing about with cycles. I recommend doing that, and totally ignore the old kludge-fixes, which were kinda horrible way to do things.

best regards,

  • dink

@dinkc64
Copy link

dinkc64 commented Nov 8, 2024

Addendum:
the pic8529 fixes the map screen issue
a slight overclocking (9.96mhz) will help with the raster effects

@arcadez2003
Copy link
Collaborator

That's for the advice @dinkc64 i'll pop on the chat tomorrow and BTW i came on the say hello not
to bug ya for a fix here as i felt it was @KMFDManic who should ask since he dropped your name
into this conversation :)

@KMFDManic
Copy link
Contributor Author

@dinkc64 Much appreciated, your feedback. Was a pleasure collaborating with ya in the past on Coleco Stuff:) I have been keeping up on all the commits you've done on FBNEO, and Arcade Perfection comes with both FBNEO/2003 Plus Combos, to pretty much cover all the bases:) No need for "Current" MAME, haha:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants