Previous Thread
Next Thread
Print Thread
Page 88 of 528 1 2 86 87 88 89 90 527 528
Re: SVN builds - new driver flood [Re: Justin] #55613 10/26/09 08:53 AM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
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!

Re: SVN builds - new driver flood [Re: etabeta78] #55614 10/26/09 11:06 AM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
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!!

Re: SVN builds - new driver flood [Re: etabeta78] #55616 10/26/09 01:01 PM
Joined: Mar 2001
Posts: 16,305
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,305
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.

Re: SVN builds - new driver flood [Re: Anna Wu] #55617 10/26/09 01:04 PM
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


Last edited by Anna Wu; 10/26/09 01:04 PM.
Re: SVN builds - new driver flood [Re: R. Belmont] #55618 10/26/09 01:54 PM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
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

Re: SVN builds - new driver flood [Re: etabeta78] #55621 10/26/09 02:26 PM
Joined: Mar 2001
Posts: 16,305
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,305
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.

Re: SVN builds - new driver flood [Re: R. Belmont] #55622 10/26/09 02:37 PM
Joined: May 2004
Posts: 889
D
Duke Offline
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 889
Can't you just use device_delay_init() to guarantee that another device has been started?

Re: SVN builds - new driver flood [Re: Duke] #55623 10/26/09 02:44 PM
Joined: Mar 2001
Posts: 16,305
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,305
Does that actually work? I vaguely recall someone tried to use it once and ended up quitting the scene ;-)

Re: SVN builds - new driver flood [Re: R. Belmont] #55625 10/26/09 02:56 PM
Joined: Apr 2004
Posts: 1,554
J
judge Offline
Very Senior Member
Offline
Very Senior Member
J
Joined: Apr 2004
Posts: 1,554
If it doesn't you can always fix it :P

Re: SVN builds - new driver flood [Re: Just Desserts] #55626 10/26/09 03:20 PM
Joined: Sep 2009
Posts: 223
C
CD-i Fan Offline
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 528 1 2 86 87 88 89 90 527 528

Who's Online Now
4 registered members (ted, robcfg, ICEknight, Praxis), 69 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,685
Posts114,054
Members4,863
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3