MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

peter ferrie
MAME Fan
Reged: 10/06/10
Posts: 46
Send PM
bad downcast<> or device<>
01/03/13 10:53 PM


I'm working on the Savage Quest driver right now.
After implementing support for the missing PAM registers and fixing a collection of things in the IDE controller code, it starts booting and eventually I see an IRQ2 acknowledge request.
However, the "pic8259->read_slave_ack_func(irq);" call is exiting with this message:

"Error: bad downcast<> or device<>. Tried to convert the device :pic8259_1 of type class device_t * to a class savquest_state *, which are incompatible."

The only other drivers that implement the 8259 are also skeletons, and I haven't managed to get any of them to trigger an acknowledge request to see if they fail similarly.
What have I not implemented yet that might fix this?







Entire thread
Subject Posted by Posted on
* bad downcast<> or device<> peter ferrie 01/03/13 10:53 PM
. * Re: bad downcast<> or device<> etabeta  01/04/13 12:11 AM
. * Re: bad downcast<> or device<> peter ferrie  01/04/13 12:28 AM
. * Re: bad downcast<> or device<> peter ferrie  01/04/13 02:40 AM
. * Re: bad downcast<> or device<> etabeta  01/04/13 08:47 AM
. * Re: bad downcast<> or device<> R. Belmont  01/04/13 05:43 PM
. * Re: bad downcast<> or device<> peter ferrie  01/04/13 11:38 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 466 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1175