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?
|