Previous Thread
Next Thread
Print Thread
Page 67 of 120 1 2 65 66 67 68 69 119 120
Joined: Mar 2001
Posts: 17,217
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,217
Likes: 234
The easiest repro of these issues is to simply let DKC2 run out the title screen and drop into attract - it goes all black there and stays that way.

Joined: Jan 2010
Posts: 92
X
Xor Offline
Member
Offline
Member
X
Joined: Jan 2010
Posts: 92
Weird, I'm using the latest bobz build (march 7) and the games behave as I stated above. (winxp 32bit)


Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
here dkc2 went successfully through three levels in the demo and back to the title without stopping to a black screen... however, later I will try with a fully clean compile (I usually only delete snes.o/nintendo.a files), and recheck... might be some problem which does not manifest in my build due to a mix of old and new .o files.

on the bad news side, superscope support is not working in fact. It worked once (with Super Scope 6), then not anymore (that's why I'm going to recompile in any case wink )

Last edited by etabeta78; 03/07/10 04:58 PM.
Joined: Jan 2010
Posts: 92
X
Xor Offline
Member
Offline
Member
X
Joined: Jan 2010
Posts: 92
hmmm I think I should better start pulling and building directly off the svn instead since otherwise I might be reporting stuff that's been fixed. does the svn build with the new mame buildtools?

Xor #59795 03/07/10 07:54 PM
Joined: Apr 2004
Posts: 1,563
Likes: 12
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,563
Likes: 12
yes, it builds with the new mame buildtools

judge #59798 03/07/10 08:46 PM
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
some good news: I fixed the SuperScope support and I was finally able to reproduce the mentioned issues (screen turns to black suddenly in some games)

the bad news is that I'm still looking for a fix... more news when I find the culprit.

Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
@Arbee: I'd need some help from you. could you try to compile a build with SYMBOLS=1 ans see if the issue is still present? I compiled a clean build with SYMBOLS=1 and one clean build with SYMBOLS=0. the first has no issues, the second is bugged.

This at least would explain why I was never able to reproduce the problems mentioned earlier: I was always using a SYMBOLS=1 build in my tests...

any idea of which kind of code might cause such a problem with the compiler?

Joined: Jan 2010
Posts: 92
X
Xor Offline
Member
Offline
Member
X
Joined: Jan 2010
Posts: 92
Likely it's something that screws up with optimization since when compiling with symbols the makefile uses -O0 (no optimizations) while compiling without symbols defaults to -O3. I'll do some tests.

Xor #59806 03/07/10 11:11 PM
Joined: Mar 2001
Posts: 17,217
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,217
Likes: 234
You can override that behavior, of course. I ususally use 'make SYMBOLS=1 OPTIMIZE=3' for symbols, but then I'm often debugging fairly 'heavy' targets.

Joined: Jan 2010
Posts: 92
X
Xor Offline
Member
Offline
Member
X
Joined: Jan 2010
Posts: 92
Yeah I can pretty much verify that it's some code that gcc screws up with in optimization since I just compiled latest svn rev with -O0 and no symbols and no more black screens in the aforementioned games.

edit: it get's black screens already with -O1 so it must really have problem with some code.

Last edited by Xor; 03/07/10 11:21 PM.
Page 67 of 120 1 2 65 66 67 68 69 119 120

Link Copied to Clipboard
Who's Online Now
1 members (AJR), 356 guests, and 5 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