SNES grid test pattern

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
SNES grid test pattern
by on (#122962)
Today I went looking for some sort of grid pattern test for my SNES, I wanted to try and calibrate my TV with it.

I found this, http://www.nintendoplayer.com/unreleased/dsp-1/ unfortunitely it did not work with my SD2SNES all I got was a half blue screen.

Is there any sort of grid pattern test available for the SNES other than this one?
Re: SNES grid test pattern
by on (#122964)
Gradius III starts with a grid pattern on the screen.
Re: SNES grid test pattern
by on (#122969)
Or if you don't mind missing the top and bottom 24 pixels, you can fill the screen with grid in Mario Paint.
Re: SNES grid test pattern
by on (#122970)
The Gradius screen is perfect, just need to have it freeze on that.

Is it possible to use a HEX editor to freeze Gradius 3 on that grid screen. If so what do I need to change, or could some kind person do that and send me the ips patch.

Thank you for the responses.
Re: SNES grid test pattern
by on (#122973)
Yeah just put 3 0xff at offset 0x4567

No, I am just kidding. I am just lazy and have no idea <3
Re: SNES grid test pattern
by on (#122974)
I'm writing one right now but no sure what aspect you want. I'm thinking the grid rectangles in SNES pixels should have a ratio of width:height of 7:8, to counteract the SNES pixels' ratio of 8:7.

EDIT: ROM + ca65 source: snes-square-grid.zip
Re: SNES grid test pattern
by on (#123027)
Thank you blarg I'll try this too.
A quick glance at my TV running Gradius 3 shows me that my TV needs some fine tuning from the service menu. I knew the Tilt was out a little but so is the Trap and a few other settings.
Re: SNES grid test pattern
by on (#123029)
I guess I am a dickhead and I apologize for that <3
Re: SNES grid test pattern
by on (#123089)
bazz wrote:
I guess I am a dickhead and I apologize for that <3



I didn't take it seriously, it's all good.
Re: SNES grid test pattern
by on (#123096)
marvelus10 wrote:
bazz wrote:
I guess I am a dickhead and I apologize for that <3



I didn't take it seriously, it's all good.


yay!
Re: SNES grid test pattern
by on (#123106)
bazz wrote:
Yeah just put 3 0xff at offset 0x4567

No, I am just kidding. I am just lazy and have no idea <3


Joking aside, it probably is that simple, you'd just need to find the offset in the ROM to insert a NOP/JMP -1... but it looks like blargg has it covered
Re: SNES grid test pattern
by on (#123127)
I am still curious to know how to freeze it at that screen or try using the Gradius 3 screen if someone comes up with an example.
Re: SNES grid test pattern
by on (#123131)
Have you tried the one I made? The Gradius one doesn't seem to show squares, which is what you want when calibrating the TV.
Re: SNES grid test pattern
by on (#123140)
marvelus10 wrote:
I am still curious to know how to freeze it at that screen or try using the Gradius 3 screen if someone comes up with an example.


I don't really know much carp about IPS patches. So let me just tell you how I did it.

I have an old version of BSNES with debugging, and I just break'd the program during the crosshatch thingy, then took a look at what address I was at. I happened to be at 0x9b68. So I did what someone else recommended in this thread, which was to post a NOP + JMP -1,

The NOP = $EA, the JMP 0x9b68 = $4c,$68,$9b So I just patched the ROM file in those bytes at 0x9b68-0x8000 (LoRom), so at ROM file offset 0x1b68, and wah-lah. Permanent Grid screen ;) (If you try to do this, make sure you account for the possible $200 byte SMC header in the ROM. I removed that in mine before patching). Here are some pics:

http://www.cs.umb.edu/~bazz/snes/gradius3_gridlock/

p.s. Opcodes courtesy http://pkhack.fobby.net/down/docs/65816info.txt
Re: SNES grid test pattern
by on (#123156)
marvelus10 wrote:
Today I went looking for some sort of grid pattern test for my SNES, I wanted to try and calibrate my TV with it.

I found this, http://www.nintendoplayer.com/unreleased/dsp-1/ unfortunitely it did not work with my SD2SNES all I got was a half blue screen.


I talked to ikari_01 and he told me how to fix it.
Following bits need to be changed:

0x7fd5 -> 0x20
0x7fd6 -> 0x03

Download

Works on any emulator now plus on real hardware via sd2snes.

Greets
Michael
Re: SNES grid test pattern
by on (#123157)
marvelus10 wrote:
Is there any sort of grid pattern test available for the SNES other than this one?

And yes, I almost forgot about this one. See Attachment.
Re: SNES grid test pattern
by on (#123159)
The one I wrote and posted also works on hardware, shows squares (not rectangles), and doesn't need to be patched to keep showing the grid.
Re: SNES grid test pattern
by on (#123161)
It's almost as if blargg is invisible! XD
Re: SNES grid test pattern
by on (#123167)
blargg wrote:
The one I wrote and posted also works on hardware, shows squares (not rectangles), and doesn't need to be patched to keep showing the grid.


Anyways: it's cool to have this little piece of Nintendo history working on real hardware again, or not? :P
And yes, your code works fine. So does the tech demo again.
Re: SNES grid test pattern
by on (#123190)
This is how my TV is distorted and the reason why I wanted to view a grid screen using my SFC. These adjustments were made prior to having these grid images, so I didn't do too bad of a job just trying to line up using regular SNES games. Now I'll be able to get a little more accurate if this TV lets me.

Thank you.

Image

Image

Image
Re: SNES grid test pattern
by on (#123191)
tokumaru wrote:
It's almost as if blargg is invisible! XD


No he's not, I thanked him. His work is appreciated and very helpful.

I also like the fact that we have multiple options as well.

Like he stated before his grid will show squares as opposed to the other which shows rectangles, which will be way easier for me to accurately adjust the screen size horizontally and vertically.
Re: SNES grid test pattern
by on (#123354)
Why is it necessary to patch the rom like that to make it run? Does the cart use some weird rom mapping/mirroring scheme that is not normal?

LN
Re: SNES grid test pattern
by on (#123358)
Lord Nightmare wrote:
Why is it necessary to patch the rom like that to make it run? Does the cart use some weird rom mapping/mirroring scheme that is not normal?

LN


You must be talking about the patch I posted on?

If so, it wasn't patched to make it run. It was patched to make it stall endlessly when a certain graphic was being displayed (the grid graphic)
Re: SNES grid test pattern
by on (#123607)
Thanks for all the help people.
I managed to get my TV straight again, well almost. It definitely has a tilt issue and unfortunately no option in the service menu for fixing that. I have a feeling it is on its way out, so I am now scouring Craigslist for a new one.
Re: SNES grid test pattern
by on (#123609)
marvelus10 wrote:
Thanks for all the help people.
I managed to get my TV straight again, well almost. It definitely has a tilt issue and unfortunately no option in the service menu for fixing that. I have a feeling it is on its way out, so I am now scouring Craigslist for a new one.


np good luck finding a new T.V.
Re: SNES grid test pattern
by on (#133308)
Hey guys,

I came across this thread while searching a way to get a test grid on my 2130QM, my solution is rather easy...
Indeed Gradius 3 on the SNES has a test grid while booting up, all I did was wiggle the cart while it was on it and it froze on the testgrid and I could do all my tweaking on the PCB whit the grid active.

Hope this will help someone out in the future :D

cheers