Bläddra i källkod

tiny/README.md : Updates

master
kevin 3 år sedan
förälder
incheckning
3a2df46212
1 ändrade filer med 43 tillägg och 9 borttagningar
  1. 43
    9
      control/tiny/README.md

+ 43
- 9
control/tiny/README.md Visa fil

98
 
98
 
99
 The read can come from one of three memory banks:
99
 The read can come from one of three memory banks:
100
 Register File, MIDI velocity table or EEPROM.
100
 Register File, MIDI velocity table or EEPROM.
101
-See the _Memory Location Id_ table below for the (src) id values.
101
+See the _Memory Source Id Table_ below for the (src) id values.
102
 
102
 
103
 Arguments   | Range | Default | Note
103
 Arguments   | Range | Default | Note
104
 ------------|-------|---------|-------------------------------------------------------
104
 ------------|-------|---------|-------------------------------------------------------
105
-(src)       | 0-2   |  n/a    | Memory location id. See _Memory Location Id_ table.
105
+(src)       | 0-2   |  n/a    | Memory location id. See _Memory Source Id Table_.
106
 (addr)      | 0-255 |  n/a    | Offset from base address set by (src)
106
 (addr)      | 0-255 |  n/a    | Offset from base address set by (src)
107
 
107
 
108
+Memory Source Id Table
109
+
110
+Id | Memory         | Note
111
+---|----------------|-------------------------------
112
+ 0 | Register file  | See register table file
113
+ 1 | Velocity table | MIDI velocity to pulse ticks lookup table
114
+ 2 | EEPROM         | EEPROM data memory
115
+
108
 
116
 
109
 ------------------------------------------------------------------------------------------
117
 ------------------------------------------------------------------------------------------
110
 
118
 
111
 __Write Memory__
119
 __Write Memory__
112
 
120
 
113
 Function                 | Opcode | Arguments
121
 Function                 | Opcode | Arguments
122
+-------------------------|--------|--------------------------------------------
123
+Write memory             |    5   | (addrFl + dest) {(addr)} (value0) ... (valueN)
124
+
125
+
126
+Arguments   | Range | Default | Note
127
+------------|-------|---------|----------------------------------------------------------------
128
+(addrFl)    | 0,127 |    0    | Address flag. Set if second byte is an (addr) and not (value0)
129
+(dest)      | 0-2   |  n/a    | Memory destination location. See _Memory Destination Id Table_.
130
+(addr)      | 0-255 |  n/a    | Optional offset from base address set by (dest)
131
+
132
+Memory Destination Id Table
133
+
134
+Id | Memory         | Note
135
+---|----------------|-------------------------------
136
+ 4 | Register file  | See register table file
137
+ 5 | Velocity table | MIDI velocity to pulse ticks lookup table
138
+ 6 | EEPROM         | EEPROM data memory
139
+
140
+------------------------------------------------------------------------------------------
141
+
142
+__Write Velocity Table to EEPROM__
143
+
144
+Function                 | Opcode | Arguments
114
 -------------------------|--------|---------------------------
145
 -------------------------|--------|---------------------------
115
-Write memory             |    5   |
146
+Write velocity table     |    6   | 
147
+
148
+Writes the MIDI velocity table from memory to EEPROM.
116
 
149
 
117
 
150
 
118
 ------------------------------------------------------------------------------------------
151
 ------------------------------------------------------------------------------------------
121
 
154
 
122
 Function                 | Opcode | Arguments
155
 Function                 | Opcode | Arguments
123
 -------------------------|--------|---------------------------
156
 -------------------------|--------|---------------------------
124
-Set hold delay           |    6   | { high {low}}
157
+Set hold delay           |    7   | { high {low}}
125
 
158
 
126
 Set the length of the delay, in ticks, between when the attack pulse ends and when the
159
 Set the length of the delay, in ticks, between when the attack pulse ends and when the
127
 hold voltage is applied.
160
 hold voltage is applied.
134
 
167
 
135
 Function                 | Opcode | Arguments
168
 Function                 | Opcode | Arguments
136
 -------------------------|--------|---------------------------
169
 -------------------------|--------|---------------------------
137
-Set flags variable       |    7   | (flags)
170
+Set flags variable       |    8   | (flags)
138
 
171
 
139
   7  |  6  |  5  |  4  |  3  |  2  |  1  |  0  
172
   7  |  6  |  5  |  4  |  3  |  2  |  1  |  0  
140
 -----|-----|-----|-----|-----|-----|-----|-----
173
 -----|-----|-----|-----|-----|-----|-----|-----
173
 
206
 
174
 ------------------------------------------------------------------------------------------
207
 ------------------------------------------------------------------------------------------
175
 
208
 
176
-## Memory Location Id table
209
+
210
+## Memory Destination Id table
177
 
211
 
178
 Id | Memory         | Note
212
 Id | Memory         | Note
179
 ---|----------------|-------------------------------
213
 ---|----------------|-------------------------------
180
- 0 | Register file  | See register table file
181
- 1 | Velocity table | MIDI velocity to pulse ticks lookup table
182
- 2 | EEPROM         | EEPROM data memory
214
+ 4 | Register file  | See register table file
215
+ 5 | Velocity table | MIDI velocity to pulse ticks lookup table
216
+ 6 | EEPROM         | EEPROM data memory
183
 
217
 
184
 
218
 
185
 
219
 

Laddar…
Avbryt
Spara