-
Notifications
You must be signed in to change notification settings - Fork 0
/
n64rcp.c
70 lines (60 loc) · 2.52 KB
/
n64rcp.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*$T n64rcp.c GC 1.136 03/09/02 17:40:09 */
/*$6
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Resets a few memory registers
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
/*
* 1964 Copyright (C) 1999-2002 Joel Middendorf, <schibo@emulation64.com> This
* program is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version. This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details. You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. To contact the
* authors: email: schibo@emulation64.com, rice1964@yahoo.com
*/
#include "n64rcp.h"
/*
=======================================================================================================================
=======================================================================================================================
*/
void SP_Reset(void)
{
/* Clear all STATUS Registers */
SP_STATUS_REG = 0;
}
/*
=======================================================================================================================
=======================================================================================================================
*/
void SI_Reset(void)
{
SI_STATUS_REG = 0;
}
/*
=======================================================================================================================
=======================================================================================================================
*/
void PI_Reset(void)
{
PI_STATUS_REG = 0;
}
/*
=======================================================================================================================
=======================================================================================================================
*/
void RCP_Reset(void)
{
SP_Reset();
SI_Reset();
PI_Reset();
/*
* VI_Reset(); £
* AI_Reset();
*/
MI_INTR_REG_R = 0;
}