shmups.system11.org

Shmups Forum
 
* FAQ    * Search
 * Register  * Login 
It is currently Sat Aug 24, 2019 2:11 am View unanswered posts
View active topics



Post new topic Reply to topic  [ 291 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Sun Apr 01, 2018 11:27 pm 


User avatar

Joined: 30 Jan 2012
Posts: 25
Here's a little POC IPS patch for Super Street Fighter II - The New Challengers (U) [CRC32: f16d5ce9] (headerless of course):
https://sd2snes.de/files/misc/1chip-dac ... %20fix.ips

The "glitch" occurs because the game changes the brightness DAC value from 0 (to be precise: forced blanking + brightness 0) to the desired brightness mid-screen. The brightness DAC doesn't have enough time to adapt.

The "fix" is to patch it so when it turns on forced blanking during VBlank it doesn't reset the brightness to 0 but retains whatever brightness was set previously by game logic and just sets the forced blanking bit in addition. This way the brightness DAC doesn't have to adapt to any brightness change at the time the screen is turned back on during active display. The forced blanking bit doesn't affect the brightness DAC but just makes the PPU output black pixels.

This works fine for me during the stage select and fights but there might be other occurrences to cover. It's just a POC ;) Would be nice if anybody else could test it. I took a little bit of free ROM space to store the extra code so it might interfere with other patches.

Old:
Code:
C001A9  LDA #$80
C001AB  STA $2100


New:
Code:
C001A9  JSR $C119
C001AC  NOP
C001AD  NOP

...

C0C119  LDA #$80
C0C11B  ORA $C3  <-- variable for brightness in WRAM
C0C11D  STA $2100
C0C120  RTS


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Mon Apr 02, 2018 1:43 am 


User avatar

Joined: 23 Mar 2018
Posts: 76
It works!

Will it be possible to make a small exe tool that patches the roms directly without having to apply IPS patches?
Something similar to this N64 Antialiasing fix (by saturnu):
https://assemblergames.com/threads/is-i ... ost-879966
It searches for the right memory place and patches the rom directly.

If not, Ikari can you please share how to find the proper addresses and save the changed rom?
I use Lunar IPS to patch but how do I change to original rom?

There are enough games plagued by this to bother one man with requests, that's why I want to do it myself.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Mon Apr 02, 2018 4:03 am 


User avatar

Joined: 18 Feb 2015
Posts: 2310
Location: DFW area, Texas
Interesting approach of patching the code of the game itself!

I would love to see this done for all the SF and other Capcom titles affected, and a download of the patches posted here!
_________________
Web Site: http://www.firebrandx.com

Twitter: https://twitter.com/FBXGargoyle?lang=en


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Mon Apr 02, 2018 9:23 pm 



Joined: 14 Jan 2014
Posts: 165
How does one replace the c11 cap? I’m new to soldering. Any videos or guides for this type of cap? is it any harder then replacing typical caps with legs thru the holes?


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Mon Apr 02, 2018 9:40 pm 


User avatar

Joined: 20 Jul 2017
Posts: 452
It's a little bit fiddly but not particularly difficult.

Removing them is easy - heat it from the side so that the iron is touching the solder at both ends, then just slide it off.

What I normally do after that is clean both pads, then put a bit of solder on one pad, position the cap with tweezers and reflow the solder to tack it into place. Then I add solder to the other side to secure it, then properly solder the first side.

There's some information here:

https://etim.net.au/av-driver/pcebars/

and a video with some SMD soldering here:

https://www.youtube.com/watch?v=C-aOu9IO1FU


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Tue Apr 03, 2018 1:30 pm 


User avatar

Joined: 23 Mar 2018
Posts: 76
Been playing with "SNES Professional ASM Development Kit" software which is a very handy tool for this kind of job.

After some fiddling a simply search for "A9808D0021" hex value in "Code" and change the default 80 value.
As a result I found that there are 16 (0-F) values (4 LSB) from 80 to 8F that change the behavior of the fade effect, while the 4 MSB of 80,90,..,F0 are just repetition of the same 16 values.

Please try these IPS for Aladdin (U) [!], and find the most appropriate value.
http://www.mediafire.com/file/ua581d5m5 ... %20IPS.zip

I found that 84 value gave the most accurate fade effect with only the top line slightly darkened.
This is with 470nF Cap.
What's more, this value fits most games that I've tried. :D

Not all games I tried have "filling gibberish" like in SSF2-NC rom, that's why I decided to stay with a simple value change without using the "Jump" command ikari used.

EDIT:
I can see a bright line at the top when Pausing in Yoshi's Island on a 1Chip with 470nF.
So it is not just with Capcom games.

EDIT2:
Stock SFC (fat) 1Chip-02 shows the same darkening in the first few pixels on the top line in all Capcom games.
I can see the uneven fading effect but it is much quicker than with 470nF.

Ghosting is present but very slightly, almost not noticeable with the OSSC, much better than SFC Jr. when stock.
My SFC Jr. had much more ghosting than my SFC 1Chip-02 with stock 47nF cap.

Spoiler: show
Image


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Wed Apr 11, 2018 8:05 pm 



Joined: 26 Jun 2016
Posts: 45
I'm just sharing this in case it ends up being helpful to someone. When I installed the RGB bypass in my 01-CHIP-03, I swapped this capacitor out as a matter of course and without first checking to see if I even had the ghosting problem. That was probably stupid, but I *thought* it would be safe to get the circuit into a known good state.

In my case it actually degraded the picture noticeably. Subjectively the colors and brightness all seemed a little more subdued, but the thing that really brought to my attention was the effect it had on my Super Gameboy. After the SGB splash screen loaded, the top row of pixels flickered between light and dark persistently. When I put the original capacitor back in everything went back to being beautiful. I was unable to detect even a hint of the ghosting issue with the OSSC, so it turns out it was not even really necessary.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Thu Apr 12, 2018 4:30 am 


User avatar

Joined: 18 Feb 2015
Posts: 2310
Location: DFW area, Texas
samson7point1 wrote:
I'm just sharing this in case it ends up being helpful to someone. When I installed the RGB bypass in my 01-CHIP-03, I swapped this capacitor out as a matter of course and without first checking to see if I even had the ghosting problem. That was probably stupid, but I *thought* it would be safe to get the circuit into a known good state.

In my case it actually degraded the picture noticeably. Subjectively the colors and brightness all seemed a little more subdued, but the thing that really brought to my attention was the effect it had on my Super Gameboy. After the SGB splash screen loaded, the top row of pixels flickered between light and dark persistently. When I put the original capacitor back in everything went back to being beautiful. I was unable to detect even a hint of the ghosting issue with the OSSC, so it turns out it was not even really necessary.


Easiest place to check for ghosting is the snow stage in Mega Man X. Do a lossless screengrab and look closely to the right of the health meter. If you see faint zebra stripes in the background, you've got ghosting.
_________________
Web Site: http://www.firebrandx.com

Twitter: https://twitter.com/FBXGargoyle?lang=en


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Sat Apr 21, 2018 9:48 am 


User avatar

Joined: 23 Mar 2018
Posts: 76
https://github.com/mrehkopf/sd2snes/com ... fbe240f573

:shock: :shock: :shock:


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Sun Apr 22, 2018 11:47 pm 


User avatar

Joined: 30 Jan 2012
Posts: 25
Works fine on my 1chip at least but I'll mention that the sync/shadow patch forces brightness 0 instead of what the game intended to write, so the shadow in A.S.P. will be a bit darker than expected. ;)


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Fri May 25, 2018 5:32 pm 



Joined: 18 Sep 2012
Posts: 129
I'm building my own cables for my SNES 1-Chip and I would like to some clarification on this:

Retrogaming cables sell a C-Sync attenuated:
"Sync output available as CSYNC which is correctly attenuation which uses a 470Ω resistor on the console end of the cable"

And I remember that some cables use 330 ohm resistors with C-sync.

So which one is correct? 330 or 470?
_________________
CapivaraGamer
http://capivaragamer.com.br


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Fri May 25, 2018 5:44 pm 


User avatar

Joined: 18 Feb 2015
Posts: 2310
Location: DFW area, Texas
fandangos wrote:

And I remember that some cables use 330 ohm resistors with C-sync.

So which one is correct? 330 or 470?


For attenuating true TTL csync, I believe 470 is considered the typical rating to use.

However, apparently the NTSC SNES needs only 330 from what I've read.
_________________
Web Site: http://www.firebrandx.com

Twitter: https://twitter.com/FBXGargoyle?lang=en


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Fri May 25, 2018 11:07 pm 



Joined: 08 Mar 2017
Posts: 905
Some SNES consoles output stronger CSYNC than others, so there is a range for the series resistor.
470 Ohm is a good value that should always work though.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Sat May 26, 2018 6:12 pm 



Joined: 18 Sep 2012
Posts: 129
Thanks to both of you.

I'll work with 470 on my cables.
_________________
CapivaraGamer
http://capivaragamer.com.br


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Sat Jun 30, 2018 4:43 am 



Joined: 14 Jan 2014
Posts: 165
Huh. I got a cap for this from console5, specifically marked for my snes jr for this purpose and my picture was all screwed after installing. I then tried a fresh new cap and same result. Then I put the original in and it’s fine again (but of course ghosting not fixed).

Disappointing outcome... I wonder what happened.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Sat Jun 30, 2018 9:57 am 


User avatar

Joined: 18 Feb 2015
Posts: 2310
Location: DFW area, Texas
tzakiel wrote:
Huh. I got a cap for this from console5, specifically marked for my snes jr for this purpose and my picture was all screwed after installing. I then tried a fresh new cap and same result. Then I put the original in and it’s fine again (but of course ghosting not fixed).

Disappointing outcome... I wonder what happened.


Did you put the cap in the wrong location? If you confirmed C11 as being correct location, the next thing you need to do is measure the caps with a digital multimeter. console5 might have sent you the wrong caps by mistake. Reason I say this is because this fix does not garble the graphics. I've done it myself with a 470nF on the Junior at C11 and it works.
_________________
Web Site: http://www.firebrandx.com

Twitter: https://twitter.com/FBXGargoyle?lang=en


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Sat Jun 30, 2018 11:23 am 



Joined: 14 Jan 2014
Posts: 165
Yeah I’m sure I screwed up somehow, it’s just odd that the 2 new caps had the same issue but the old one worked right away. I’ll check with a multimeter


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Wed Aug 01, 2018 12:27 pm 


User avatar

Joined: 23 Mar 2018
Posts: 76
After several months with this mod I decided to go back to stock because there are too many AAA that suffer from the C11 mod.
Starfox, Yoshis Island, Kirby Super Star, Street Fighter, and more.
Basically, the mod does work and fixes the ghosting but also introduces much slower transition time to the analog part of the PPU that responsible for fade-in/out effect, thus resulting in an uneven fade effect or part of the screen will be displayed wrong.
So it is a compromise, completely ghosting free image with wrong transition effects, or correct transition effects with some ghosting in bright scenes.

The SD2SNES now has switchable fix for this but some games run the fade-in/out code in HDMA so the SD2SNES can't affect it and the game will be displayed wrongly with the C11 mod, and obviously real cartridge games transitional effects will always be wrongly displayed (the ones that use this C11 related part of the PPU).


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Wed Aug 01, 2018 5:15 pm 



Joined: 08 Mar 2017
Posts: 905
I think I remember testing 100nF and this being fine for transitions in affected games.
Maybe 150nF is also fine?
This may be a good compromise.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Wed Aug 01, 2018 8:30 pm 


User avatar

Joined: 18 Feb 2015
Posts: 2310
Location: DFW area, Texas
rama wrote:
I think I remember testing 100nF and this being fine for transitions in affected games.
Maybe 150nF is also fine?
This may be a good compromise.


The level of glitch-versus-ghosting will be effected not matter what rating you use. Some time back when this was a hot topic, I posted several pics of what happens when you use lower rated caps. the ghosting becomes detectable until you clear that 400nF range. Conversely, the transition glitch will still be slightly visible even with a stock cap.

But really this is all moot if you get a Super Nt, and especially once Analogue releases the RGB cable adapter for it.
_________________
Web Site: http://www.firebrandx.com

Twitter: https://twitter.com/FBXGargoyle?lang=en


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Thu Aug 02, 2018 3:03 pm 


User avatar

Joined: 23 Mar 2018
Posts: 76
The SuperNT is an emulator, a good one that is, but certainly not perfect.
https://github.com/SmokeMonsterPacks/Su ... eak/issues

This is still a very much relevant topic for those who use the real hardware 1chip, and the side effects of this ghosting fix are very much real and visible.
I think the 47nF value chosen by Nintendo is not trivial and they were aware of the slower response of the PPU with higher values.
We should no forget that the Super Nintendo was designed to be played on a CRT and nothing else.

I can live with barely visible ghosting on a flat bright colored backgrounds (when playing through the OSSC) but not with wrong transitional effects, personal preference of course.
On a Sony Trinitron 29" with Scart-RGB I can't see ghosting with stock 47nF capacitor, I think mainly because of scanlines and the less sharp nature of CRT overall.


Last edited by James-F on Fri Aug 03, 2018 2:58 pm, edited 1 time in total.

Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Thu Aug 02, 2018 4:25 pm 


User avatar

Joined: 18 Feb 2015
Posts: 2310
Location: DFW area, Texas
James-F wrote:
The SuperNT is an emulator, a good one that is, but certainly not perfect.
https://github.com/SmokeMonsterPacks/Su ... eak/issues



That's for the jailbreak to add in ROM loading from SD cards. As a machine to load real carts, it works exactly and perfectly like the original SNES. Do some Googling on it and you'll see it is WELL regarded as the BEST non-original SNES ever made.
_________________
Web Site: http://www.firebrandx.com

Twitter: https://twitter.com/FBXGargoyle?lang=en


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Thu Aug 02, 2018 6:56 pm 



Joined: 24 Jul 2016
Posts: 89
Quote:
That's for the jailbreak to add in ROM loading from SD cards. As a machine to load real carts, it works exactly and perfectly like the original SNES. Do some Googling on it and you'll see it is WELL regarded as the BEST non-original SNES ever made.


This is a list of known issues with the Super NT, and not just the jailbreak firmware. It just so happens to be on the jb firmware page.

It is the same SNES core that is running in the stock firmware, and these bugs are reproducible on real carts. Calling the SNT perfect by any definition is simply incorrect, no matter how good it is. Is it the best clone console out there by a mile and a half? Yes. Is it 100% flawless? No.

Give me a real 3CHIP any day of the week.

FPGAs aren't magic. Regardless of who codes them, a 100% FPGA clone of any console is very unlikely to happen unless the original RTL is available and put on a console by the copyright holders.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Fri Aug 03, 2018 6:27 am 


User avatar

Joined: 18 Feb 2015
Posts: 2310
Location: DFW area, Texas
syboxez wrote:
Quote:
That's for the jailbreak to add in ROM loading from SD cards. As a machine to load real carts, it works exactly and perfectly like the original SNES. Do some Googling on it and you'll see it is WELL regarded as the BEST non-original SNES ever made.


This is a list of known issues with the Super NT, and not just the jailbreak firmware. It just so happens to be on the jb firmware page.

It is the same SNES core that is running in the stock firmware, and these bugs are reproducible on real carts. Calling the SNT perfect by any definition is simply incorrect, no matter how good it is. Is it the best clone console out there by a mile and a half? Yes. Is it 100% flawless? No.

Give me a real 3CHIP any day of the week.

FPGAs aren't magic. Regardless of who codes them, a 100% FPGA clone of any console is very unlikely to happen unless the original RTL is available and put on a console by the copyright holders.


Okay so I must apologize in that I saw the link being about the jailbreak stuff and figured that's all it was concerning. But yes, I already know FPGA isn't automatically perfect and depends on the coder. However, you're grossly dismissing just how good the Super Nt actually is. Think about that list you posted: A handful of mostly minor issues, which is already far better than using a 1CHIP revision SNES for example. Again, do some asking around either on Google or watching Youtube videos. People are quite simply smitten with the Super Nt. Kevtris did a heck of a job on it, and it's far better than you give it credit. I've got one as well as 3 different physical original SNES consoles, and I much prefer using it, even though I've got all the best equipment and mods going to view the original consoles in best possible RGB upscaled quality.
_________________
Web Site: http://www.firebrandx.com

Twitter: https://twitter.com/FBXGargoyle?lang=en


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Fri Aug 03, 2018 9:57 am 


User avatar

Joined: 23 Mar 2018
Posts: 76
FBX wrote:
However, you're grossly dismissing just how good the Super Nt actually is.
Think about that list you posted: A handful of mostly minor issues, which is already far better than using a 1CHIP revision SNES for example.

That is a big big overstatement.

Also, why does a C11+ghosting+transitions discussion turns into a "how accurate the SuperNT is" discussion?
I think there are PLENTY of SuperNT threads already, so lets stay on topic for future reference.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Fri Aug 03, 2018 12:50 pm 


User avatar

Joined: 05 Mar 2018
Posts: 812
syboxez wrote:
Quote:
That's for the jailbreak to add in ROM loading from SD cards. As a machine to load real carts, it works exactly and perfectly like the original SNES. Do some Googling on it and you'll see it is WELL regarded as the BEST non-original SNES ever made.


This is a list of known issues with the Super NT, and not just the jailbreak firmware. It just so happens to be on the jb firmware page.

It is the same SNES core that is running in the stock firmware, and these bugs are reproducible on real carts. Calling the SNT perfect by any definition is simply incorrect, no matter how good it is. Is it the best clone console out there by a mile and a half? Yes. Is it 100% flawless? No.

Give me a real 3CHIP any day of the week.

FPGAs aren't magic. Regardless of who codes them, a 100% FPGA clone of any console is very unlikely to happen unless the original RTL is available and put on a console by the copyright holders.

I agree, it may be the best clone out there but it's still a clone

SHVC-CPU-01 for life


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Thu Nov 29, 2018 9:25 pm 


User avatar

Joined: 20 Oct 2017
Posts: 3
Last night, I installed Voultar's RGB bypass board and replaced C11 in my SNES Mini. The picture quality's great (well, as good as I can get with my current garbage SCART cable), but after playing a few games affected by the brightness glitch, I think I'd prefer a way to easily switch back to the original C11 capacitor value. Would it be possible to replace the cap with a small PCB with both 47nF and 470nF caps, and wire up a switch to choose between the two? Would this possibly cause issues due to added resistance from the longer wires and switch?

Additionally, are there any larger (e.g. non-surface mount) capacitor types I can use in place of the original? My hands tend to shake a lot when working with tiny components, so I'd rather not deal with them if I don't have to. :P


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Thu Nov 29, 2018 9:39 pm 



Joined: 08 Mar 2017
Posts: 905
There may be some issues but it should work.

You could go for a compromise instead:
Install a 150nF capacitor to get most of the ghosting reduction, but just a small effect on the brightness implementation.

You'll have a hard time finding larger capacitors in that capacity range.
Electrolytics may also be too slow to react for the desired effect.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Thu Nov 29, 2018 10:02 pm 


User avatar

Joined: 20 Oct 2017
Posts: 3
Thanks for the reply. If nothing else, maybe I'll just tack some short wires to the C11 pads and make it slightly easier to swap capacitors. I don't plan on selling my SNES to anyone else so I really don't care how "sloppy" it looks, as long as it works.

For a slightly larger part, would something like this work? Just want to make sure I've got the specs right before I go and order anything.


Top
 Offline Profile  
 
 Post subject: Re: Video probs w/ SNES RGB (Vertical Bands, etc)
PostPosted: Thu Nov 29, 2018 11:38 pm 



Joined: 08 Mar 2017
Posts: 905
I'm not sure. I think 1206 is too large for the pads. Best if you don't go over 0805.
Adding something with wires isn't great either. The wires add capacitance on their own, by which they'll pick up noise.

Working in this area is doable. Maybe watch a few people on Youtube do it?
https://youtu.be/7XXkhUXaShQ?t=746
You can try to find a position in which you can rest your entire arm and still move the iron as required.
Rotate / move the SNES board as much as required to have a comfortable range with the iron.

Best of luck! :)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 291 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Space Pilot 3K template by Jakob Persson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group