Update Cpu.c
Fix typos, and fix multi line comments and make them single line
This commit is contained in:
parent
74de233464
commit
7ec7b5ca32
|
@ -78,22 +78,22 @@ void Build_RSP ( void )
|
|||
EleSpec[13].DW = 0;
|
||||
EleSpec[14].DW = 0;
|
||||
EleSpec[15].DW = 0;
|
||||
EleSpec[16].DW = 0x0001020304050607; /* None */
|
||||
EleSpec[17].DW = 0x0001020304050607; /* None */
|
||||
EleSpec[18].DW = 0x0000020204040606; /* 0q */
|
||||
EleSpec[19].DW = 0x0101030305050707; /* 1q */
|
||||
EleSpec[20].DW = 0x0000000004040404; /* 0h */
|
||||
EleSpec[21].DW = 0x0101010105050505; /* 1h */
|
||||
EleSpec[22].DW = 0x0202020206060606; /* 2h */
|
||||
EleSpec[23].DW = 0x0303030307070707; /* 3h */
|
||||
EleSpec[24].DW = 0x0000000000000000; /* 0 */
|
||||
EleSpec[25].DW = 0x0101010101010101; /* 1 */
|
||||
EleSpec[26].DW = 0x0202020202020202; /* 2 */
|
||||
EleSpec[27].DW = 0x0303030303030303; /* 3 */
|
||||
EleSpec[28].DW = 0x0404040404040404; /* 4 */
|
||||
EleSpec[29].DW = 0x0505050505050505; /* 5 */
|
||||
EleSpec[30].DW = 0x0606060606060606; /* 6 */
|
||||
EleSpec[31].DW = 0x0707070707070707; /* 7 */
|
||||
EleSpec[16].DW = 0x0001020304050607; // None
|
||||
EleSpec[17].DW = 0x0001020304050607; // None
|
||||
EleSpec[18].DW = 0x0000020204040606; // 0q
|
||||
EleSpec[19].DW = 0x0101030305050707; // 1q
|
||||
EleSpec[20].DW = 0x0000000004040404; // 0h
|
||||
EleSpec[21].DW = 0x0101010105050505; // 1h
|
||||
EleSpec[22].DW = 0x0202020206060606; // 2h
|
||||
EleSpec[23].DW = 0x0303030307070707; // 3h
|
||||
EleSpec[24].DW = 0x0000000000000000; // 0
|
||||
EleSpec[25].DW = 0x0101010101010101; // 1
|
||||
EleSpec[26].DW = 0x0202020202020202; // 2
|
||||
EleSpec[27].DW = 0x0303030303030303; // 3
|
||||
EleSpec[28].DW = 0x0404040404040404; // 4
|
||||
EleSpec[29].DW = 0x0505050505050505; // 5
|
||||
EleSpec[30].DW = 0x0606060606060606; // 6
|
||||
EleSpec[31].DW = 0x0707070707070707; // 7
|
||||
|
||||
Indx[ 0].DW = 0;
|
||||
Indx[ 1].DW = 0;
|
||||
|
@ -112,22 +112,22 @@ void Build_RSP ( void )
|
|||
Indx[14].DW = 0;
|
||||
Indx[15].DW = 0;
|
||||
|
||||
Indx[16].DW = 0x0001020304050607; /* None */
|
||||
Indx[17].DW = 0x0001020304050607; /* None */
|
||||
Indx[18].DW = 0x0103050700020406; /* 0q */
|
||||
Indx[19].DW = 0x0002040601030507; /* 1q */
|
||||
Indx[20].DW = 0x0102030506070004; /* 0h */
|
||||
Indx[21].DW = 0x0002030406070105; /* 1h */
|
||||
Indx[22].DW = 0x0001030405070206; /* 2h */
|
||||
Indx[23].DW = 0x0001020405060307; /* 3h */
|
||||
Indx[24].DW = 0x0102030405060700; /* 0 */
|
||||
Indx[25].DW = 0x0002030405060701; /* 1 */
|
||||
Indx[26].DW = 0x0001030405060702; /* 2 */
|
||||
Indx[27].DW = 0x0001020405060703; /* 3 */
|
||||
Indx[28].DW = 0x0001020305060704; /* 4 */
|
||||
Indx[29].DW = 0x0001020304060705; /* 5 */
|
||||
Indx[30].DW = 0x0001020304050706; /* 6 */
|
||||
Indx[31].DW = 0x0001020304050607; /* 7 */
|
||||
Indx[16].DW = 0x0001020304050607; // None
|
||||
Indx[17].DW = 0x0001020304050607; // None
|
||||
Indx[18].DW = 0x0103050700020406; // 0q
|
||||
Indx[19].DW = 0x0002040601030507; // 1q
|
||||
Indx[20].DW = 0x0102030506070004; // 0h
|
||||
Indx[21].DW = 0x0002030406070105; // 1h
|
||||
Indx[22].DW = 0x0001030405070206; // 2h
|
||||
Indx[23].DW = 0x0001020405060307; // 3h
|
||||
Indx[24].DW = 0x0102030405060700; // 0
|
||||
Indx[25].DW = 0x0002030405060701; // 1
|
||||
Indx[26].DW = 0x0001030405060702; // 2
|
||||
Indx[27].DW = 0x0001020405060703; // 3
|
||||
Indx[28].DW = 0x0001020305060704; // 4
|
||||
Indx[29].DW = 0x0001020304060705; // 5
|
||||
Indx[30].DW = 0x0001020304050706; // 6
|
||||
Indx[31].DW = 0x0001020304050607; // 7
|
||||
|
||||
for (i = 16; i < 32; i ++)
|
||||
{
|
||||
|
@ -153,14 +153,14 @@ void Build_RSP ( void )
|
|||
|
||||
/******************************************************************
|
||||
Function: DoRspCycles
|
||||
Purpose: This function is to allow the RSP to run in parrel with
|
||||
the r4300 switching control back to the r4300 once the
|
||||
Purpose: This function is to allow the RSP to run in parallel with
|
||||
the r4300i switching control back to the r4300i once the
|
||||
function ends.
|
||||
input: The number of cylces that is meant to be executed
|
||||
input: The number of cycles that is meant to be executed
|
||||
output: The number of cycles that was executed. This value can
|
||||
be greater than the number of cycles that the RSP
|
||||
should have performed.
|
||||
(this value is ignored if the RSP is stoped)
|
||||
(this value is ignored if the RSP has been stopped)
|
||||
*******************************************************************/
|
||||
|
||||
DWORD RunInterpreterCPU(DWORD Cycles);
|
||||
|
|
Loading…
Reference in New Issue