arm-cpnull.cpp

来自「一个任天堂掌上游戏机NDS的源代码」· C++ 代码 · 共 44 行

CPP
44
字号
/*************************************************************************** DSemu - The Next Generation                                             ** Portable ARM9ES core: Null Coprocessor [arm-cpnull.cpp]                 ** Copyright Imran Nazar, 2005; released under the BSD public licence.     ***************************************************************************/#include "arm-cpnull.h"// Essentially, the null copro is exactly that; a coprocessor that does// nothing with the data given to it. Every entry in the ARM9's copro table// is initialised to point to the null copro, except of course #15.ARMcpNULL::ARMcpNULL(){}ARMcpNULL::~ARMcpNULL(){}void ARMcpNULL::set(int op1, int op2, int rn, int rm, u32 val){}u32 ARMcpNULL::get(int op1, int op2, int rn, int rm){    return 0;}void ARMcpNULL::op(int op1, int op2, int rn, int rm, int rd){}void ARMcpNULL::read(int rd, u32 addr, int longword, int opt){}void ARMcpNULL::write(int rd, u32 addr, int longword, int opt){}/*** EOF: arm-cpnull.cpp *************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?