| 
									
										
										
										
											2022-01-16 15:16:05 -05:00
										 |  |  | # ROM export technical details
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## instrument data
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | TODO | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-27 18:57:45 -04:00
										 |  |  | ## macro data
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | read length, loop and then release (1 byte). | 
					
						
							|  |  |  | if it is a 2-byte macro, read a dummy byte. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | then read data. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-04 19:50:52 -04:00
										 |  |  | ## binary command stream
 | 
					
						
							| 
									
										
										
										
											2022-01-16 15:16:05 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-04 19:50:52 -04:00
										 |  |  | read channel, command and values. | 
					
						
							| 
									
										
										
										
											2022-01-16 15:16:05 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-04 19:50:52 -04:00
										 |  |  | if channel is 80 or higher, then it is a special command: | 
					
						
							| 
									
										
										
										
											2022-01-16 15:16:05 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | ``` | 
					
						
							| 
									
										
										
										
											2022-08-04 19:50:52 -04:00
										 |  |  | fb xx xx xx xx: set tick rate | 
					
						
							|  |  |  | fc xx xx: wait xxxx ticks | 
					
						
							|  |  |  | fd xx: wait xx ticks | 
					
						
							|  |  |  | fe: wait one tick | 
					
						
							|  |  |  | ff: stop | 
					
						
							| 
									
										
										
										
											2022-01-16 15:16:05 -05:00
										 |  |  | ``` |