Graphics bug

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Hito

Graphics bug

Post by Hito »

In the last WIP (September 20, windows port) I've found that if you run a DSP1 game (ie super mario kart) and after that without closing zsnes you run chrono trigger, when you are about to start a battle the game takes fuzzy and becomes unplayable because you can't see anything.
I don't know if this bug occurs in other roms too.

PD: sorry about my english, I'm spanish and I'm not very well speaking english :oops: I hope you can understand me :)
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

Wow, this does happen.

Edit - Here's a pic.
Try out CCleaner and other free software at Piriform
Image
blackmyst
Zealot
Posts: 1161
Joined: Sun Sep 26, 2004 8:36 pm
Location: Place.

Post by blackmyst »

Seconded.
[size=75][b]Procrastination.[/b]
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.[/size]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

It's because the DSP-1 code is never unloaded.

We knew about this for quite a while, yet never did anything about it.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

It's even funnier to load Megaman X3 after a DSP game. :þ
Run the test by pressing 'b' on the 2P pad as you launch the game.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Weird, I was trying all combinations of MMX 2 and 3, and Pilotwings and Mario Kart.

Only the MMX3 and Pilotwings combo did it.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I just gave a quick look at the source, and was compelled to add a single line.

Now I can't get MMX3 to mess up a test after PWings, and fighting Gato in CT seemed fine. grinvader: can you verify?

Since public CVS probably won't have the code for a while yet...

Code: Select all

Index: init.asm
===================================================================
RCS file: /cvsroot/zsnes/zsnes/src/init.asm,v
retrieving revision 1.288
retrieving revision 1.289
diff -r1.288 -r1.289
4595a4596
>     mov byte[DSP1Type],0
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

No shit, just that ?! :shock:
I'm on it...

Edit: ok, tested some other games too.
Seems like a perfect fix. Congrats.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Thanks. Interesting how simple some things can be despite sounding all complex and vica versa.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Yeepee !

zsnes_genuine_bugs--; // pure awes0meness
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

Whoopee. :)
Try out CCleaner and other free software at Piriform
Image
kieran_
Mugwump
Posts: 824
Joined: Fri Jul 30, 2004 9:05 pm

Post by kieran_ »

It's refreshing to have a bug report that is actually an emulator bug, instead of a driver issue, stupidity etc...
LDAWG
Lurker
Posts: 102
Joined: Sat Aug 07, 2004 12:07 am

Post by LDAWG »

I made a post about this in the previous forum with screenshots and everything.
Why did they have to get hacked? :(

I explained how it happened after loading certain games.
It was like a year ago...

Any of you guys remember these babies?

Image
Image
Image
Image
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

If it's only after loading certain games, please explain exactly the procedure for me to replicare it. If it always happens, well, that's not my department.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
LDAWG
Lurker
Posts: 102
Joined: Sat Aug 07, 2004 12:07 am

Post by LDAWG »

It's pretty much DSP-1 games, mostly Pilot Wings.
I don't remember.
I'll try to re-test and re-figure it out, when I have more time.
Esturk
Lurker
Posts: 114
Joined: Wed Jul 28, 2004 7:07 pm
Location: Edmonton, Alberta, Canada

Post by Esturk »

Similar thing happens after playing Dungeon Master.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I can't seem to replicate the bug after any DSP-1 or 2 game.

While testing SSF2 for this and the remember high score thing, I forgot how much I used to love this game.

Anyways, despite my rustiness, I made a video that could give lessons to M. Bison and Mario how to really stomp on someone's head: http://nsrt.edgeemu.com/chunli.zip

US version, let me know if it works for you guys.
CVS users, does it work for you?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Murdock
Rookie
Posts: 40
Joined: Mon Sep 13, 2004 4:22 am
Location: Midwest

Just my humble opinion?

Post by Murdock »

I hate to be the idiot, but...

Wouldn't it just be easier to have zsnes exit and then restart it's self before loading a rom to prevent these strange bugs? Since I use MAMEWAH as a frontend instead of zsnes' GUI I don't experience those bugs simply because zsnes is reloaded everytime i select a new rom.
illegal eagle
Savestate Pimp
Posts: 129
Joined: Thu Jul 29, 2004 2:15 pm
Contact:

Post by illegal eagle »

Clearing the allocated memory is much easier to program than a restart, IMO. You'd probably need an external program for that, which doesn't sound very appealing.
"Other people can give you more suggestions as I just lost all my motivation to respond further to this post."
[i] - Nightcrawler[/i]

[url=http://www.geocities.com/illegal_eagle_2003/]vSNES v2.00[/url]: My SNES savestate viewer.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

illegal eagle wrote:Clearing the allocated memory is much easier to program than a restart, IMO. You'd probably need an external program for that, which doesn't sound very appealing.
:?: :?: :?:

It's a single line of C to restart.

And this has nothing to do with memory being allocated.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
illegal eagle
Savestate Pimp
Posts: 129
Joined: Thu Jul 29, 2004 2:15 pm
Contact:

Post by illegal eagle »

Really? Sorry, misunderstood it then. :?
"Other people can give you more suggestions as I just lost all my motivation to respond further to this post."
[i] - Nightcrawler[/i]

[url=http://www.geocities.com/illegal_eagle_2003/]vSNES v2.00[/url]: My SNES savestate viewer.
Hexlord
Hazed
Posts: 64
Joined: Fri Oct 08, 2004 7:07 am
Location: Oblivion's End
Contact:

Post by Hexlord »

Hmm the bug with SSF2 always happen after a round of Mario Kart.. :P
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Hexlord wrote:Hmm the bug with SSF2 always happen after a round of Mario Kart.. :P
Not anymore it don't.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Nach wrote:
Hexlord wrote:Hmm the bug with SSF2 always happen after a round of Mario Kart.. :P
Not anymore it don't.
OMFG MY EYES HAVE EXPLODED

:wink:
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

grinvader wrote:
Nach wrote:
Hexlord wrote:Hmm the bug with SSF2 always happen after a round of Mario Kart.. :P
Not anymore it don't.
OMFG MY EYES HAVE EXPLODED

:wink:
I thought you tested this last week already?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Post Reply