Most of them not but there are selected few you are allowed to read.'Exophase' said:I don't think you can access coprocessor registers in user mode, but I don't actually know.
Maybe he has some math that gets called a lot that needs to be super-optimized.'JayFoxRox' said:Drack: Why would you even want to do this?
I plan on writing a Nintendo DS emulator (or at least, rewriting some of the DeSmuME cpu code to optimize for architectural similarities). Inline assembler can come into play here, and if I have access to the registers, I can simply pass some of the ARM instructions straight to the Pandora CPU. Is this a naive assumption?'JayFoxRox' said:Drack: Why would you even want to do this?
'Drack' said:I plan on writing a Nintendo DS emulator (or at least, rewriting some of the DeSmuME cpu code to optimize for architectural similarities). Inline assembler can come into play here, and if I have access to the registers, I can simply pass some of the ARM instructions straight to the Pandora CPU. Is this a naive assumption?'JayFoxRox' said:Drack: Why would you even want to do this?
And then some ;p
'Exophase' said:'Drack' said:I plan on writing a Nintendo DS emulator (or at least, rewriting some of the DeSmuME cpu code to optimize for architectural similarities). Inline assembler can come into play here, and if I have access to the registers, I can simply pass some of the ARM instructions straight to the Pandora CPU. Is this a naive assumption?'JayFoxRox' said:Drack: Why would you even want to do this?
And then some ;p
Precisely why I asked. I'm finding details on how emulation is implemented surprisingly difficult to find, outside of examining source code. What method *should* I be studying? Virtualization?