nesdev.com
https://forums.nesdev.com/

PowerGlove Problem: Famicom with US Cart
https://forums.nesdev.com/viewtopic.php?f=10&t=12447
Page 2 of 2

Author:  rainwarrior [ Tue Mar 03, 2015 7:06 pm ]
Post subject:  Re: PowerGlove Problem: Famicom with US Cart

Do you already have an Everdrive/PowerPak ready?

Author:  ReplayRetro [ Wed Mar 04, 2015 5:12 am ]
Post subject:  Re: PowerGlove Problem: Famicom with US Cart

i've not picked it up off my friend yet but i could easily do so as early as tomorrow, he has the NES everdrive (i think its called the N8 or something like that?)

Author:  rainwarrior [ Wed Mar 04, 2015 9:15 am ]
Post subject:  Re: PowerGlove Problem: Famicom with US Cart

Okay, well, I'll put it on my list of things to do and try to find some time in the next few days to prepare a test patch (unless someone else is interested in doing it, in the meantime).

Author:  ReplayRetro [ Wed Mar 04, 2015 9:25 am ]
Post subject:  Re: PowerGlove Problem: Famicom with US Cart

ok that's brilliant, thanks for your time, hope to hear from you soon :)

Author:  rainwarrior [ Wed Apr 08, 2015 3:21 pm ]
Post subject:  Re: PowerGlove Problem: Famicom with US Cart

I've attached a potential patch for Super Glove Ball. Please test it out and let me know if it works.

I also looked at Bad Street Brawler, but it seems to do the correct thing when it reads the controller. Could you play Bad Street Brawler and tell me if that game works? (No patch should be needed.)

The patch was pretty straightforward, there were only a few places in the code that seemed to be reading the controller, and they were all in the fixed bank.

Code:
; replacements for lda $4016 and lda $4017, placed in unused region at $FFEA
patch2:
        lda     $4017
        jmp     patch_common
patch1:
        lda     $4016
patch_common:
        and     #3
        cmp     #1
        rol     a
        rts

; patch at $DC74
:
        ;lda    $4016
        jsr     patch1
        ror     a
        rol     $2A
        ;lda    $4017
        jsr     patch2
        ror     a
        rol     $2C
        dex
        bne     :-

; patch at $DD03
:
        ;lda    $4016
        jsr     patch1
        lsr     a
        rol     $24
        ;lda    $4017
        jsr     patch2
        lsr     a
        rol     $2C
        dey
        bne     :-

; patch at $DD3D
:
        ;lda    $4016
        jsr     patch1
        lsr     a
        rol     $24
        dey
        bne     :-


Attachments:
File comment: Famicom PAX compatibility patch for Super Glove Ball
Super Glove Ball (J) Patch 0.ips [64 Bytes]
Downloaded 53 times

Author:  ReplayRetro [ Sat Apr 11, 2015 1:00 am ]
Post subject:  Re: PowerGlove Problem: Famicom with US Cart

Excellent work, thanks, it seems to be working, control is a little sketchy but i think that's likely to be the actual glove rather than anything else, i'm going to try it on a smaller TV later and see if that helps.
Also took a look at Bad Street Brawlers and you're right, it seems to work fine so it must just be that Glove Ball was coded for the US market only, i think BSB is a conversion of something else though so that could explain it too as it may already have been designed to work with the expansion socket on the famicom.
The only problem i'm really having is that sometimes the game doesn't seem to load the instructions to the Glove, but i think that's an issue with the flash cart as the glove isn't getting the instructions as soon as the console boots, seems to work 70% of the time though at least.
Thanks for your work, i really appreciate everything you've done for me

Page 2 of 2 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/