-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEV9 module #5
Comments
Maybe @wisi-w can help with DEV9 registers? |
Thanks, @AKuHAK, that would be lovely! I’ve begun to implement cascading interrupts for DEV9, which is to say that its IRQs from the drivers point of view behaves like all the standard IOP IRQs. Right now I’m searching for information on how to acknowledge the DEV9 (or SPD) interrupts. |
DEV9 SPD interrupts seem to work nicely now. The main invention is that these IRQs are first-class, so that The DEV9 SPD virtual IRQ assignments Lines 50 to 58 in c7c68d2
make the IRQs a superset of |
Nice work, It would be nice to have this in ps2sdk as well, but I'm not sure we can. Since it probably involves making all drivers depend on a new module that handles the cascaded interrupts. About the naming of the cascading interrupts, they don't seem logical to me:
Rename |
Thanks, @rickgaiser! Regarding renaming, I’m not sure the SPD IRQs are the only DEV9 IRQs. Are they? If SPD covers all IRQs for DEV9, your suggestion makes sense to me. |
Dev9 covers more than the SPEED chip (for example if you connect something different from a net adapter to the expansion bay), so to the IOP, they are Dev9 intrs. Inside the SPEED chip, there is further subdivision of the intr causes, to the various devices inside it, as you have seen. |
Thanks for the clarification, @wisi-w! To improve the code somewhat in line with @rickgaiser’s suggestion I’m planning to add the special symbols
|
It seems a DEV9 IOP module is needed, for various expansion bay hardware. A prototype has been implemented in
module/dev9.c
, to support a harddisk driver. Important DEV9 registers are only available from the IOP, so the EE cannot easily manage DEV9 by itself, as it seems. Furthermore, DEV9 resources need to be shared among multiple devices, such as harddisk and network. Plan:The text was updated successfully, but these errors were encountered: