mirror of
				https://github.com/simon987/Much-Assembly-Required.git
				synced 2025-11-04 01:56:53 +00:00 
			
		
		
		
	updating action labels
							parent
							
								
									97122bf838
								
							
						
					
					
						commit
						e677e7cd90
					
				@ -10,10 +10,10 @@ Hardware ID: `0x000D`
 | 
				
			|||||||
### Interrupt Behavior
 | 
					### Interrupt Behavior
 | 
				
			||||||
| Value of A | Action | Energy cost | Result |
 | 
					| Value of A | Action | Energy cost | Result |
 | 
				
			||||||
| --- | --- | --- | --- |
 | 
					| --- | --- | --- | --- |
 | 
				
			||||||
| `0` | `SELF_CLEAR` | `0 kJ` | Clears the console screen and the internal message buffer. |
 | 
					| `0` | `COMPORT_SELF_CLEAR` | `0 kJ` | Clears the console screen and the internal message buffer. |
 | 
				
			||||||
| `1` | `POLL` | `4 kJ` | Copy all internal buffer messages to memory at X, sets B to the number of messages copied |
 | 
					| `1` | `COMPORT_POLL` | `4 kJ` | Copy all internal buffer messages to memory at X, sets B to the number of messages copied |
 | 
				
			||||||
| `2` | `FRONT_PORT_OUT` | `20 kJ` | Copies 8 words starting from the address in X to the object directly in front of the cubot if this object has a Universal Com Port as well. The B register is set if the operation succeeded, it is reset otherwise  |
 | 
					| `2` | `COMPORT_FRONT_PORT_OUT` | `20 kJ` | Copies 8 words starting from the address in X to the object directly in front of the cubot if this object has a Universal Com Port as well. The B register is set if the operation succeeded, it is reset otherwise  |
 | 
				
			||||||
| `3` | `SELF_OUT` | `1 kJ` | Copies 8 words starting from the address in X to the internal message buffer. The B register is set if the operation succeeded, it is reset otherwise |
 | 
					| `3` | `COMPORT_SELF_OUT` | `1 kJ` | Copies 8 words starting from the address in X to the internal message buffer. The B register is set if the operation succeeded, it is reset otherwise |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Note that a Cubot can send a message to another Cubot's internal buffer, which will be emptied into his console screen. Currently, the [Radio Tower](https://github.com/simon987/Much-Assembly-Required/wiki/Radio-Tower) is the only other object with a Com Port.
 | 
					Note that a Cubot can send a message to another Cubot's internal buffer, which will be emptied into his console screen. Currently, the [Radio Tower](https://github.com/simon987/Much-Assembly-Required/wiki/Radio-Tower) is the only other object with a Com Port.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user