Previous Thread
Next Thread
Print Thread
Page 88 of 536 1 2 86 87 88 89 90 535 536
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
Originally Posted by Justin
Hmm, MacMAME 0.28 apparently runs on 68k Macs....

we might end up with the first instance of MESS emulating itself... and on mac!

Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
In svn rev6190, I fixed the crash in cdtv. Now we can once more load CHDs to cdtv. (thanks Anna for providing a test case wink )

However, I think there is something wrong going on with the cdda (probably on the MAME side): the cdda can be set from the cdrom by using cdda_set_from_cdrom, but this function requires the cdrom to be a 'void' entry rather than a device (like cdroms are in MESS) and this was causing the error I fixed: the cdda.c code was not finding the correct cdda device when cdda_set_from_cdrom was called.
This is probably due to the fact that in MAME cdda_set_from_cdrom is called with a second parameter from SCSI elements and SCSI is not a device yet in MAME.

While the current code in MESS seems to work, there are other functions which expect a void parameter and receive a device one.
Hence, I fear there could be other problems (hopefully not affecting anything visible) which will only be fixed with a device-ification of SCSI!!

Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
Originally Posted by Vas Crabb
Why the weird colours?

That's the default gamma for the Mac II. Seriously. I think you can change it in one of the control panels.

eta: that change is somewhere in the neighborhood of horrifically wrong. You should've just fixed cdda_from_cdrom.

Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Great fix, etabeta78 smile

SVN r6190
cdtv driver

[Linked Image from img24.imageshack.us] [Linked Image from img237.imageshack.us] [Linked Image from img18.imageshack.us]

Last edited by Anna Wu; 10/26/09 01:04 PM.
Joined: Jan 2006
Posts: 3,691
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,691
Originally Posted by R. Belmont
eta: that change is somewhere in the neighborhood of horrifically wrong. You should've just fixed cdda_from_cdrom.

fixing cdda_from_cdrom requires changes in the way scsi works in drivers using that call (affecting among others gdrom.c and cubocd32.c). changes to scsi to pass a device in those two drivers might require a full device-ification of scsi, and hence touching the drivers using it (firebeat, ksys573 and dc among others)

I hope you realize it's not something I could have fixed in half an hour, like adding a tag in the interface. proper fix is in my (growing) todo list.

Given that I clearly documented the reason of the ghastly hack (so that the system will work in 0.135 but we know the fix is not good), I think we can live with it until I have some more spare time wink

Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
That's fair. I've deliberately avoided converting all of that to devices because MAME's irritating "startup order is not guaranteed" policy means we could easily end up with a situation where sometimes it can find the media and sometimes not.

Joined: May 2004
Posts: 996
Likes: 103
D
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 996
Likes: 103
Can't you just use device_delay_init() to guarantee that another device has been started?

Joined: Mar 2001
Posts: 17,215
Likes: 234
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,215
Likes: 234
Does that actually work? I vaguely recall someone tried to use it once and ended up quitting the scene ;-)

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
If it doesn't you can always fix it :P

Joined: Sep 2009
Posts: 223
C
Senior Member
Offline
Senior Member
C
Joined: Sep 2009
Posts: 223
Originally Posted by Just Desserts
I'll bet the third input bit that has a special meaning in graphics tablet operation actually functions as a third button. There's possibly even a fourth during normal gamepad operation. I'll see what I can do.
Nope, "button 3" on more recent controllers just presses 1 & 2 simultaneously smile There IS no button 3...

Page 88 of 536 1 2 86 87 88 89 90 535 536

Link Copied to Clipboard
Who's Online Now
3 members (AJR, Dodg, 1 invisible), 289 guests, and 1 robot.
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,930
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