Nintendo 1504166 Programming Manual - Page 101

SOUNDCNT_X [d03, d02, d01, d00] Sound Operation Flags, SOUNDCNT_X [d07] All Sounds Operation Flag

Page 101 highlights

AGB Programming Manual Sound Address 084h Register SOUND CNT_X 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value NR52 R/W 0000h All Sounds Operation Flag 0: Halt 1: Operate Sound 1 Operation Flag 0: Halt 1: Operate Sound 2 Operation Flag 0: Halt 1: Operate Sound 3 Operation Flag 0: Halt 1: Operate Sound 4 Operation Flag 0: Halt 1: Operate SOUNDCNT_X [d07] All Sounds Operation Flag The master flag that controls whether sound functions as a whole are operating. A setting of 0 halts all sound functions including direct sound, producing a mute state. In this situation, the contents of all the Sound mode registers are reset. Always set all the sound operation flags to 1 when setting each sound mode register. You cannot set each sound mode register when all the sound is stopped. SOUNDCNT_X [d03, d02, d01, d00] Sound Operation Flags Each sound circuit's status can be referenced. Each sound is set during output, and when in counter mode it is reset after the time passes which was set up with the length data. ©1999 - 2001 Nintendo of America Inc. 101 D.C.N. AGB-06-0001-002B4

  • 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
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

AGB Programming Manual
Sound
©1999 - 2001 Nintendo of America Inc.
101
D.C.N. AGB-06-0001-002B4
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
SOUND
CNT_X
084h
0000h
R/W
Address
Register
Attributes
Initial
Value
NR52
All Sounds Operation Flag
0: Halt
1: Operate
Sound 1 Operation Flag
0: Halt
1: Operate
Sound 2 Operation Flag
0: Halt
1: Operate
Sound 3 Operation Flag
0: Halt
1: Operate
Sound 4 Operation Flag
0: Halt
1: Operate
SOUNDCNT_X [d07] All Sounds Operation Flag
The master flag that controls whether sound functions as a whole are
operating.
A setting of 0 halts all sound functions including direct sound, producing a
mute state.
In this situation, the contents of all the Sound mode registers are reset.
Always set all the sound operation flags to 1 when setting each sound
mode register.
You cannot set each sound mode register when all the
sound is stopped.
SOUNDCNT_X [d03, d02, d01, d00] Sound Operation Flags
Each sound circuit’s status can be referenced.
Each sound is set during output, and when in counter mode it is reset after
the time passes which was set up with the length data.