Previous Thread
Next Thread
Print Thread
Page 37 of 120 1 2 35 36 37 38 39 119 120
Kale #53371 09/05/09 04:53 PM
Joined: May 2009
Posts: 2,223
Likes: 387
J
Very Senior Member
Very Senior Member
J Offline
Joined: May 2009
Posts: 2,223
Likes: 387
Originally Posted by Kale
Try to use the usual -cheat trick by lowering the main CPU clock speed to 50% on the bootstrap routine (i.e. pause just after the MESS disclaimer and do the downclock) and see if things improves...if it's the case then it's yet another "timing that needs cycle accurate" issue

No luck, lowering the main CPU clock to 50% didn't help. :|

Joined: Feb 2005
Posts: 449
C
Senior Member
Senior Member
C Offline
Joined: Feb 2005
Posts: 449
Compilation on 64-bit fails:

src\mame\machine/snesrtc.c(165) : warning C4305: '+=' : truncation from 'int' to 'UINT8'
src\mame\machine/snessdd1.c(680) : warning C4333: '>>' : right shift by too large amount, data loss
src\emu\cpu\superfx\superfx.c(537) : warning C4098: 'superfx_mmio_write' : 'void' function returning a value

Joined: Oct 2006
Posts: 1,017
Likes: 21
S
Very Senior Member
Very Senior Member
S Offline
Joined: Oct 2006
Posts: 1,017
Likes: 21
Originally Posted by R. Belmont
Originally Posted by Stiletto
Originally Posted by Stiletto
I'd be willing to look, if I can get a decent PCB scan for SHVC-AE6J-JPN.

What, no love?

http://snesemu.black-ship.net/misc/hardware/RTC.png

Ah, I knew I had seen a website like that around somewhere.

Sadly, this will really require parametric search capabilities (like what is offered at Partminer) - RTC chip, made by Sharp, DIP-24 package. If it exists other than a one-off. Tough stuff.

- Stiletto

Joined: Jun 2008
Posts: 205
B
Senior Member
Senior Member
B Offline
Joined: Jun 2008
Posts: 205
Quote
src\emu\cpu\superfx\superfx.c(537) : warning C4098: 'superfx_mmio_write' : 'void' function returning a value

That one's my fault. C++ allows you to do:
void B() {}
void A() { return B(); }

Which was added to facilitate templates and such. I often use it in non-template areas, especially when it means you can omit {} around a conditional.

byuu #53380 09/05/09 07:28 PM
Joined: Mar 2001
Posts: 17,239
Likes: 263
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,239
Likes: 263
I'd be really surprised if the RTC wasn't something off-the-shelf.

Joined: Mar 2001
Posts: 17,239
Likes: 263
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,239
Likes: 263
64-bit MSVC, I assume? I'm not seeing any of those errors on 64-bit SDLMESS, although the first two at least are real and spectacular ;-)

gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)

Joined: Feb 2005
Posts: 449
C
Senior Member
Senior Member
C Offline
Joined: Feb 2005
Posts: 449
Yep, 64-bit MSVC. But those seem to be quite valid complaints.

Warning 1: UINT8 + 1000 (it should be UINT16 at least)
Warning 2: UINT16 >> 20, which is always 0.

I fixed them locally and disabled the TMS57002 cpu core (it gives a seizure to cl.exe with a 256K lines long source file)

The compilation dies finally at this point:

Linking vmessuid.exe...
LIBCMTD.lib(wcrt0.obj) : error LNK2019: unresolved external symbol wmain referenced in function __tmainCRTStartup
vmessuid.exe : fatal error LNK1120: 1 unresolved externals
make: *** [vmessuid.exe] Error 1120

What on earth does that mean?

Joined: Apr 2005
Posts: 617
Likes: 6
Senior Member
Senior Member
Joined: Apr 2005
Posts: 617
Likes: 6
Normally this means either that some parts of the source were compiled with #define UNICODE while others were not, or that something is wrong with the application type (Windows app vs. Console app).
Or maybe your prototype of wmain() is wrong (some arguments have the wrong type)

Explanation: __tmainCRTStartup is the main entry point for the runtime library. It is a combined ANSI/Unicode function (the "t" from "tmain") and it calls the unicode version of main() which on Windows is called wmain()

HTH,
-Darkstar

Joined: Mar 2006
Posts: 1,080
Likes: 7
L
Very Senior Member
Very Senior Member
L Offline
Joined: Mar 2006
Posts: 1,080
Likes: 7
Quote
Sadly, this will really require parametric search capabilities (like what is offered at Partminer) - RTC chip, made by Sharp, DIP-24 package. If it exists other than a one-off. Tough stuff.

- Stiletto

SDIP-24 package, not DIP-24. note the pin spacing.
Edit: could it be an MC146818 clone (same rtc used in ibm at)?

LN


"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Joined: Aug 2009
Posts: 1,265
Likes: 199
Very Senior Member
Very Senior Member
Joined: Aug 2009
Posts: 1,265
Likes: 199
What could cause the following artifact in Ikari no Yousai (J) in MESS AND in my testing SNES PAL with Jap adapter (yeah, looks odd but it's like it) but doesn't in bsnes/snes9x?
(it's after you beat the first mini-boss)

[Linked Image from mamedev.emulab.it]

http://mamedev.emulab.it/kale/fast/files/iny.jpg

Last edited by Kale; 09/07/09 11:16 PM. Reason: Added an extra image for the "epic fail"
Page 37 of 120 1 2 35 36 37 38 39 119 120

Link Copied to Clipboard
Who's Online Now
0 members (), 54 guests, and 4 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,331
Posts122,197
Members5,077
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
Powered by UBB.threads™ PHP Forum Software 8.0.0