MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Master O
Yes, Even Parodius Music
Reged: 11/20/06
Posts: 1332
Send PM
Re: Gundam Wing: Endless Duel
09/20/14 07:40 PM


> I had a quick look at this today, based on the SVN comment from David Haywood that
> the decryption is done but it still doesn't start.
>
> It still doesn't start because the entrypoint value is wrong. Right now, it's
> pointing in the middle of an instruction, like this:
>
> BRK #$20
> MVP $22, $CF
> ROL $A3
>
> which makes no sense at all. However, if we shift that by just one byte, we get a
> more meaningful disassembly:
>
> LDY #$00
> JSR $CF44
>
> That aside, the interrupt handler looks like this:
>
> LDX $12
> JSR ($8875,X)
>
> but the first 32 pages are full of #$55, so ($8875,55) points right into code,
> because there are only 12 entries in the table.
> It also appears that there's a REP #$20 that should be active but isn't, because of
> this:
>
> A326: LDA #$FC
> A328: ORA ($85,X)
> A32A: JSR $20E2
> A32D: LDA #$E0
>
> makes much more sense like this:
>
> A326: LDA #$01FC
> A329: STA $20
> A32B: SEP #$20
> A32D: LDA #$E0
>
> especially because $20xx is full of #$A0. The code is interspersed with #$00 which
> look like they're supposed to the high byte for constant loads.
> The disassembler doesn't seem to notice when REP #$20 is active, which complicates
> things a bit.

Why not just go to git.redump.net/mame, download the source code, edit the appropriate spot where that code goes, and commit it to source, then?

You can use git to do that.


"Note to Noobs:

We are glad to help you but simply posting that something does not work is not going to lead to you getting help. The more information you can supply defining your problem, the less likely it will be that you will get smart-alec replies.

C.D.~"







Entire thread
Subject Posted by Posted on
* Gundam Wing: Endless Duel peter ferrie 09/20/14 12:10 AM
. * Re: Gundam Wing: Endless Duel Master O  09/26/14 06:02 AM
. * Re: Gundam Wing: Endless Duel peter ferrie  09/26/14 05:30 PM
. * Re: Gundam Wing: Endless Duel Master O  09/27/14 06:53 AM
. * Re: Gundam Wing: Endless Duel AWJ  09/20/14 09:51 PM
. * Re: Gundam Wing: Endless Duel peter ferrie  09/21/14 04:28 AM
. * Re: Gundam Wing: Endless Duel Master O  09/20/14 07:40 PM
. * Re: Gundam Wing: Endless Duel Sune  09/22/14 03:11 PM
. * Re: Gundam Wing: Endless Duel Master O  09/22/14 11:37 PM
. * Re: Gundam Wing: Endless Duel Anonymous  09/26/14 12:30 PM
. * Re: Gundam Wing: Endless Duel peter ferrie  09/21/14 01:19 AM
. * Re: Gundam Wing: Endless Duel peter ferrie  09/22/14 12:39 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 304 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1958