We are currently experiencing issues with email delivery; this is being resolved as quickly as possible.

stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Chip and housing

Chapter 1 · First steps

Chip and housing

What an IC10 chip is, where it lives and how it talks to devices.

Lesson 1 of 18 6 min

At some point flipping every pump by hand gets old. That is when the IC10 comes in: a small programmable chip that reads sensors, does math and switches devices – twice per second, while you are out mining ore.

The hardware

  • The chip (Integrated Circuit IC10) is an item. On its own it does nothing.
  • It sits in an IC housing. The housing needs power and is connected to the network with a data cable.
  • The housing has six pins d0 to d5. With a screwdriver you choose which device is attached to which pin.
  • db is the housing itself. It has its own value Setting, for example.

In game you write the code at a computer fitted with an IC Editor Motherboard – or comfortably here in the browser and copy it over.

What a program looks like

An IC10 program is a list of lines. Each line holds one instruction and its operands, separated by spaces. Everything after # is a comment and gets ignored.

# my first program
move r0 42   # put 42 into register r0

move is the instruction, r0 the target, 42 the value. The chip works through the lines from top to bottom – line 0 first, just like the game counts.

Note

Case matters: move works, Move is an unknown instruction to the chip.

Hard limits

LimitValue
Lines per program128
Characters in total4096
Characters per line90

Comments and blank lines count as well. The IC10 coder here always shows those three numbers at the top.

Diagram

IC housing with chip, pins and data network IC housing IC10 db d0 d1 d2 d3 empty d4 empty d5 empty Gas sensor Wall light Display data cable Pump Battery Heater … data network: lb, lbn, sb, sbn
The IC housing with its chip: six pins d0–d5 for fixed devices, db for the housing itself, plus the data cable to every other device on the network.

Exercise

Task

Write your first program: put the number 42 into register r0. One instruction is enough.

Hints

Hint 1

The instruction that copies a value is called move.

Hint 2

Target first, then the value: move target value.

Esc
↑ ↓ selectEnter open/ opens search anywhere