Previous Thread
Next Thread
Print Thread
Page 92 of 120 1 2 90 91 92 93 94 119 120
Kale #60901 04/06/10 01:48 PM
Joined: Aug 2009
Posts: 1,251
Likes: 171
Kale Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Aug 2009
Posts: 1,251
Likes: 171
The Smurfs 2

85A57E: LDA $002140
85A582: CMP #$bbaa
85A585: BNE 85a5b7 ($30) <- ???


Enables some intense DMA transfers then checks sound port 0x2140, if it isn't 0xbbaa then it goes to an alternative route instead of just recheck the sound port. Timing bug.

Man, SNES programming tools must've been very very very ... very dire --"

Kale #60906 04/06/10 04:01 PM
Joined: Aug 2009
Posts: 1,251
Likes: 171
Kale Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Aug 2009
Posts: 1,251
Likes: 171
Another bug report, Final Fight (J) shows this at the Capcom logo, same issue as Super F1 Circus?

[Linked Image from mamedev.emulab.it]

Sim City (garbage at the top of the title screen):

[Linked Image from mamedev.emulab.it]

Super Tennis (U) / Super Tennis World Circuit (J) (mode 7 gfxs are offset when there's the change court animation):

[Linked Image from mamedev.emulab.it]

Sim Earth has missing gfxs on gameplay (dunno why this was never reported before) and no sound

[Linked Image from mamedev.emulab.it]

Pro Football (J) has flickering background, probably same issue of Daffy Duck and friends

Romancing SaGa (J) has misplaced gfxs just like Ardy Lightfoot:

[Linked Image from mamedev.emulab.it]

Last edited by Kale; 04/06/10 07:12 PM.
Kale #60914 04/06/10 06:24 PM
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
Final Fight and Super Tennis have been like that since a long time (maybe since the beginning). I also thought I listed Super Tennis in the wiki bug page but I probably forgot about it

Sim City is otoh a regression happened after 0.137. I will try to find where it happened...

EDIT: Tin Star appears to have some glitch as well, appeared after 0.137. Give me a couple of days and I will have more time to find when these regressed and hopefully fix them.

btw, I finished going through Tafoid black screen. I will post the few new games which does not even reach title screen tomorrow (I still have to re-test a few of them)

Joined: Jun 2008
Posts: 205
B
Senior Member
Offline
Senior Member
B
Joined: Jun 2008
Posts: 205
Finally, one I can answer.

Sim Earth needs proper vertical mosaic support to work.

Here's how you do it: take two variables, mosaicY and mosaicCounter. At Vcounter=1, reset mosaicY to 1, and mosaicCounter to the size value in MOSAIC ($4106.d7-d4). At each scanline, if mosaicCounter == 0, set mosaicY to the current Vcounter position. Now decrement mosaicCounter. If it's <= 0, reload the counter from MOSAIC's size value again.

Do that for each background independently. Simply writing to MOSAIC again won't reload the internal decrement counter, it'll have to reach zero to fetch in the new value.

Lastly, use mosaicY instead of the Vcounter for all purposes when rendering.

Obviously, you special case when $2106.d3-d0 has mosaic disabled for that BG by using the actual scanline instead.

byuu #60916 04/06/10 08:12 PM
Joined: Aug 2009
Posts: 1,251
Likes: 171
Kale Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Aug 2009
Posts: 1,251
Likes: 171
Super Famista (J) screen selection looks quite bogus:

MESS
[Linked Image from mamedev.emulab.it]

BSNES
[Linked Image from mamedev.emulab.it]

Guess it's some kind of subscreen issue.

Kale #60918 04/06/10 09:11 PM
Joined: Dec 2005
Posts: 443
Senior Member
Offline
Senior Member
Joined: Dec 2005
Posts: 443
That looks like color addition/subtraction, Kale.

As a "quick test", try the pilot selection in UN Squadron. I suspect it is similar.

Suspected cause: color addition or subtraction with halving is not working rcorrectly (possibly only with 0,0,0 blends)

Joined: Aug 2009
Posts: 1,251
Likes: 171
Kale Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Aug 2009
Posts: 1,251
Likes: 171
That works fine, but yeah, that looks like a color addition / subtraction crap.

Kale #60922 04/07/10 12:36 AM
Joined: Aug 2009
Posts: 1,251
Likes: 171
Kale Offline OP
Very Senior Member
OP Offline
Very Senior Member
Joined: Aug 2009
Posts: 1,251
Likes: 171
r7744 /src/mame/machine/snes.c: [SNES]: Basic implementation of the DMA master cycles steals

We started and here's the first results:

http://mamedev.emulab.it/kale/?p=1008

ETA: for some time, please don't report "minor" gfx glitches, just the black scren ones. I have to do many other tweaks to this thing hence it'll require some time. Please be patient.

Last edited by Kale; 04/07/10 01:55 AM.
Kale #60925 04/07/10 03:15 AM
Joined: Dec 2005
Posts: 443
Senior Member
Offline
Senior Member
Joined: Dec 2005
Posts: 443
Did the SNES get changed to a 21.whatever MHz clock?

If not, Kale, then you're stealing way too many cycles smile

8 master cycles is ~1 cycle at 2.68 MHz, or 1.33 cycles of what I thought MESS ran the CPU as (3.57 Mhz-ish)

Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
Originally Posted by byuu
Finally, one I can answer.

Sim Earth needs proper vertical mosaic support to work.

ok I'll look into it, if Kale does not beat me. it's strange though, since we have some vertical mosaic support, but it seems to be not enough

Originally Posted by Heretical_One
That looks like color addition/subtraction, Kale.

As a "quick test", try the pilot selection in UN Squadron. I suspect it is similar.

Suspected cause: color addition or subtraction with halving is not working rcorrectly (possibly only with 0,0,0 blends)

the same color addition/subtraction seem to work fine with other games, though. it might be some edge case, I dunno, or a different reason

in general, if you want to test the various graphical modes and effects, you can simply recompile MESS with SNES_DEBUG_LAYER 1 in snes.h

then you can start to turn on/off modes and BGs (and isolate single priorities) and to enable/disable color math, horizontal mosaic effects and window masks.

of course, if the math/window/mosaic is enabled at the wrong time due to bogus read/write of the cpu, then these debug commands might not help much

Page 92 of 120 1 2 90 91 92 93 94 119 120

Link Copied to Clipboard
Who's Online Now
3 members (AJR, Olivier Galibert, 1 invisible), 319 guests, and 6 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,320
Posts121,944
Members5,074
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com