| View previous topic :: View next topic |
| Author |
Message |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu May 20, 2004 2:52 pm Post subject: Accessing the IOP resources from the EE? |
|
|
| I know its possible to access IOP's memory from the EE, and I've heard things like the SPU/etc can be reached over the SIF... I'd like to know how. Before I start fooling with memory locations and sending random data can someone give me some pointers? |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Thu May 20, 2004 3:37 pm Post subject: |
|
|
| Code: | | void* IOP_MEMORY = 0xbc000000; |
Hows that 'pointer' for you? ;) _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu May 20, 2004 5:10 pm Post subject: |
|
|
| Its a start... now, how about those tasty devices? :) |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Fri May 21, 2004 1:03 am Post subject: |
|
|
| Just use the same register address that you would use on the IOP. You won't be able to receive interrupts or transfer DMA to/from those devices using the EE. |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Fri May 21, 2004 2:51 am Post subject: |
|
|
Isn't it slightly different for devices on the EE side ?
For example USB is at 0xBF801600 on the IOP side but at 0x1F801600 on the EE. Just replace the top nibble with 1 and it should work :) |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Fri May 21, 2004 3:27 am Post subject: |
|
|
| Its all the same offset. |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Fri May 21, 2004 4:47 am Post subject: |
|
|
| Yeah, it's the same address. And you want to use the 0xbxxxxxxx version on the EE since it's uncached access. You'll need to switch into Kernel Mode first. |
|
| Back to top |
|
 |
|