mirror of
				https://github.com/simon987/Much-Assembly-Required.git
				synced 2025-11-04 10:06:54 +00:00 
			
		
		
		
	
						
							Page:
							(Hardware) Inventory
						
						
					
					
							Pages
							
							
								(Hardware) Battery
							
								(Hardware) Clock
							
								(Hardware) Construction Arm
							
								(Hardware) Core
							
								(Hardware) Drill
							
								(Hardware) Floppy Drive
							
								(Hardware) Hologram Projector
							
								(Hardware) Inventory
							
								(Hardware) Keyboard
							
								(Hardware) Laser
							
								(Hardware) Legs
							
								(Hardware) LiDAR
							
								(Hardware) Radio Receiver
							
								(Hardware) Random Number Generator
							
								(Hardware) Universal Com Port
							
								(Installation) Arch Linux
							
								(Installation) Windows
							
								(Snippet) Constants
							
								(Snippet) Dump memory to disk
							
								(Snippet) Keyboard controlled robot
							
								(Snippet) Manhattan distance
							
								(Snippet) Move in a random direction
							
								Assembler directives
							
								Assembly program examples
							
								Basic Assembly tutorial
							
								Biomass
							
								Blueprint
							
								CPU
							
								Collaboration Guide
							
								Day Night Cycle and solar Energy
							
								Debugging
							
								Game Universe
							
								Hacked NPC
							
								Hardware
							
								Home (old)
							
								Home
							
								Instruction Encoding
							
								Instruction Set
							
								Items
							
								Learn by Examples
							
								NPC Factory
							
								Non Player Character (NPC)
							
								Project structure
							
								Radio Tower
							
								Random Access Memory
							
								Road Map
							
								The Cubot Manuals
							
								The Game Universe
							
								Useful Code Snippets
							
								Users' Repositories
							
								World
							
						
					 Clone
	
					0 
					
				
						(Hardware) Inventory
						
				
							
							simon987 edited this page 2019-11-03 09:20:44 -05:00 
						
					Table of Contents
Apachicorp's Medium Capacity Inventory adds one cargo slot to your Cubot's configuration.
Specifications
Manufacturer: Apachicorp
Version: 1.0B
Default address: 0x0006
Hardware ID: 0x0006
Interrupt Behavior
| Value of A | Action | Energy cost | Result | 
|---|---|---|---|
0 | 
INV_CLEAR | 
100 kJ | 
Safely destroy the contents of the inventory. If biomass was destroyed, recharges battery. | 
1 | 
INV_POLL | 
0 kJ | 
Get the contents of the inventory (B = Item ID, 0x0000 if empty) | 
2 | 
INV_SEEK | 
0 kJ | 
Set the position of the inventory cursor | 
3 | 
INV_SCAN | 
300 kJ | 
Digitize the item at the current position. It consumes the item |