The computers
The six computers of the mod side by side: speed, memory, screens, storage media, networks, and which one to pick.
The mod has six computers, one or two per age from the Vacuum Tube Age on. They all run the same Brass programs with the same shell, so what you learn on the first one stays true on the last. What changes from one to the next is how fast they compute, how much they remember, what their screen looks like, what they store their files on and how they talk to other computers.






At a glance
Speed and memory. The speed is reached at 256 RPM (see below); the stress is the default of the server configuration.
| Computer | Age | Instructions per tick | Instructions per second at 256 RPM | Memory | Stress per RPM |
|---|---|---|---|---|---|
| Tube Computer | III | 20 | 400 | 2,048 cells | 16 su |
| Transistor Mainframe | IV | 80 | 1,600 | 8,192 cells | 8 su |
| Minicomputer | V | 300 | 6,000 | 32,768 cells | 4 su |
| Personal Computer | VI | 1,200 | 24,000 | 131,072 cells | 2 su |
| Microcontroller | VI | 400 | 8,000 | 16,384 cells | 1 su |
| Modern Computer | VII | 5,000 | 100,000 | 1,048,576 cells | 1 su |
Screen, storage and network:
| Computer | Screen | gfx drawing | Storage | Network | Libraries it adds |
|---|---|---|---|---|---|
| Tube Computer | teletype paper, 40 × 14, no colour | none | Punch Card Deck, 4 KB | none | none |
| Transistor Mainframe | green phosphor, 51 × 19 | 306 × 171 pixels | Magnetic Tape Reel, 16 KB | none | gfx |
| Minicomputer | amber phosphor, 51 × 19 | 306 × 171 pixels | Floppy Disk, 64 KB | Data Cable | gfx, net |
| Personal Computer | 16 colours, 51 × 19 | 306 × 171 pixels | Floppy Disk, 64 KB | cable, radio, Wi-Fi | gfx, net, vehicle |
| Microcontroller | 16 colours, 40 × 12 | 240 × 108 pixels | soldered memory, 16 KB | cable, radio, Wi-Fi | gfx, net, vehicle |
| Modern Computer | 16 colours, 64 × 24 | 384 × 216 pixels | Solid-State Drive, 1 MB | cable, radio, Wi-Fi | gfx, net, vehicle |
Every computer has the basic functions (print, read, sleep...) and the libraries math, string, table, os, term, fs, rs, link, display and peripheral. On top of them, gfx draws pixels from the Transistor Mainframe on, net sends messages from the Minicomputer on, and vehicle reads the Create Aeronautics vehicle a computer rides on the Personal Computer, the Microcontroller and the Modern Computer. Type help on a computer to see exactly what it has.
Which one to choose
- Tube Computer: your first steps and the simple jobs: blinkers, counters, sequencers, a stock alarm, a Traffic Light. It drives redstone on its six sides, Create Redstone Links, Display Links and the blocks touching it, which covers a lot. It is slow and asks a lot of stress, and its paper cannot show drawings.
- Transistor Mainframe: four times faster, and the first with a real screen: dashboards and gauges drawn with
gfxon a wall of CRT Monitors. Still no network. - Minicomputer: the first to join a Data Cable network. One computer can then drive dozens of machines, chests and sensors along the cable, and computers exchange messages. Hot air balloon autopilots start here.
- Personal Computer: the all-rounder. Sixteen colours, 24,000 instructions per second, 128 K cells of memory, radio and Wi-Fi, and the
vehiclelibrary. Games, control panels, a factory dashboard. - Microcontroller: a small embedded computer, a thin box six pixels tall, driven from below and asking only 1 su per RPM. Its programs live in its soldered memory, so it needs no medium and keeps them when you pick it up. Made for places with no room: on an airship, under a road for a Traffic Light, inside a contraption.
- Modern Computer: the biggest of everything: 100,000 instructions per second, a million cells, a 1 MB drive and a 64 × 24 screen. The central server of a network, heavy computations, big screens.
Rotation is the clock
A computer is a Create machine: it runs only while it turns. The shaft goes into its back (the face opposite the screen); the Microcontroller takes it from below. The rotation speed sets the speed of the processor:
- each game tick (20 per second), the computer may run instructions per tick × RPM / 256 instructions. Above 256 RPM it gets nothing more, and the direction of rotation does not matter;
- fractions are carried to the next tick, so even a very slow computer keeps running: a Tube Computer at 8 RPM gets 0.625 instruction per tick, which makes 5 instructions every 8 ticks;
- waiting costs nothing: a program in
sleep,readoros.pull_eventuses no instructions, whatever the speed.
| Computer | at 32 RPM | at 64 RPM | at 128 RPM | at 256 RPM |
|---|---|---|---|---|
| Tube Computer | 50 /s | 100 /s | 200 /s | 400 /s |
| Transistor Mainframe | 200 /s | 400 /s | 800 /s | 1,600 /s |
| Minicomputer | 750 /s | 1,500 /s | 3,000 /s | 6,000 /s |
| Personal Computer | 3,000 /s | 6,000 /s | 12,000 /s | 24,000 /s |
| Microcontroller | 1,000 /s | 2,000 /s | 4,000 /s | 8,000 /s |
| Modern Computer | 12,500 /s | 25,000 /s | 50,000 /s | 100,000 /s |
An instruction is one small step of the program: x = x + 1 takes a few, a call to a library function a few more, and some functions charge extra for big jobs (drawing a large area with gfx, for example). The Performance page shows how to measure and save them.
Because of this budget, a program can never lag the server: an endless loop just spreads over time. If the server runs very many computers (512 by default, set in the server configuration), the ones beyond that number run every other tick.
Speed costs stress. A computer uses its stress per RPM (table above) times its speed: a Tube Computer at 256 RPM asks 4,096 su, a Modern Computer at the same speed 256 su. The values are set in world/serverconfig/computingages-server.toml.
When the shaft stops, or the network is overstressed, the computer freezes: the program stays where it was, its memory and its outputs are kept, and it carries on when the rotation comes back. The terminal shows NO POWER: the computer needs rotation. Engineer's Goggles show the computer's number, its label, its speed right now (3000 instructions/s (24000 at 256 RPM)), its memory, or No power: turn the shaft.
Memory
The memory of a computer is counted in cells. A number in a variable, a table entry or a few characters of text each take a cell or two: a table of 1,000 numbers takes about 2,000 cells. The program, its variables, its tables, its strings and the events waiting for it all count. When a program asks for more than the computer has, it stops with the error out of memory (which pcall can catch).
mem in the shell and os.memory() in a program tell how much is used. When a program ends, its local variables are freed, but the global variables it made stay in memory until the next reboot. That is one more reason to write local.
Screens
- The Tube Computer prints on the paper of a teletype: dark ink, 40 columns, no colour and no drawing. Clicks on the paper are not sent to programs (a click on a monitor still is).
- The Transistor Mainframe and the Minicomputer have a phosphor screen, green or amber. Programs can set colours, but everything lights in the one phosphor colour;
gfxdrawings work, every colour other than black lighting up. - The Personal Computer, the Microcontroller and the Modern Computer show the 16 colours.
Text is placed on a grid of characters (51 × 19 on most computers). Under the text lies a layer of pixels, 6 × 9 per character, that gfx draws on. See Screens for both, and term and gfx for the functions.
Storage media
Each computer except the Microcontroller has a drive that holds one storage medium. The medium keeps the files: your programs and the data they save with fs.
| Medium | Capacity | Read by |
|---|---|---|
Punch Card Deck | 4 KB | Tube Computer, Transistor Mainframe, Minicomputer, Personal Computer, Modern Computer |
Magnetic Tape Reel | 16 KB | Transistor Mainframe, Minicomputer, Personal Computer, Modern Computer |
Floppy Disk | 64 KB | Minicomputer, Personal Computer, Modern Computer |
Solid-State Drive | 1 MB | Modern Computer |
Each drive reads its own medium and every older one, so your programs follow you from age to age: a Punch Card Deck written on a Tube Computer works in a Modern Computer. The tooltip of a medium lists the computers that read it.
- Insert: right-click the computer with the medium in hand. Nothing happens if the drive is full or the medium is too new for this computer.
- Eject: sneak and right-click the computer with an empty hand. Breaking the computer drops the medium too.
- A running program sees a
diskevent when a medium goes in or out (insertedistrueorfalse), see Events. - Without a medium, the shell answers
No storage medium: right-click the computer with oneto the commands that need files.
The files are kept on the server, in <world>/computingages/media/; the item itself only carries a number (shown in the advanced tooltip, F3+H). So the files stay with the item wherever it goes: in a chest, to another computer, to another player.
A medium copied in creative mode (middle-click) carries the same number as the original: both share the same files.
A medium holds at most 1,024 files and folders. File and folder names use letters (no accents), digits, _, . and -, up to 32 characters; a whole path is 128 characters at most. Folders take no room. The limits are listed in Limits.
The Microcontroller has no drive: its 16 KB memory is soldered in. It works like a medium that never leaves the block: when you break the Microcontroller or pick it up with a wrench, the item keeps its memory, and the programs are there again where you place it.
Networks
| Data Cable | Radio Modem (128 blocks) | Wi-Fi Router (256 blocks, worldwide backbone) | |
|---|---|---|---|
| Tube Computer, Transistor Mainframe | no | no | no |
| Minicomputer | yes | no | no |
| Personal Computer, Microcontroller, Modern Computer | yes | yes | yes |
A Data Cable links computers and the machines along it, which become peripherals named like inventory@120,64,-35. A Radio Modem placed against the computer (or on its cable) reaches the computers within 128 blocks, and Wi-Fi Routers (made in the Digital Age) sharing the same network name carry messages across the world. The Networking page explains all of it.
Power, reboot and the terminal buttons
Right-click a computer to open its terminal. Next to the screen are three buttons:
| Button | Key | What it does |
|---|---|---|
| Switch off / Switch on | Off: the program stops, the screen goes blank, every output is released (redstone, Redstone Links, Display Link lines), and the computer stays off even while it turns. On: it boots, then runs startup. | |
| Reboot | Ctrl+R | Restarts: the memory is wiped, the outputs are released, the banner comes back and startup runs. |
| Stop | Ctrl+T | Stops the running program, clears the screen and comes back to the prompt. Outputs keep their last value. |
The shell commands reboot and shutdown, and the functions os.reboot and os.shutdown, do the same as the Reboot and Switch off buttons. A computer boots at most twice a second, so a program that reboots in a loop cannot flood the server.
A computer also boots on its own when it starts turning, and when its chunk is loaded again (after a server restart, for example): when the chunk unloads, the computer stops and its program and memory are lost. Put your program in a startup file and it comes back every time.
The terminal works for any player within 16 blocks of the computer, and several players can watch the same terminal. The help text and the examples follow the language of the last player who opened it.
Number and label
Each computer gets a number the first time it runs, unique in the world: id in the shell, os.id() in a program, Computer #7 in the goggles. You can also give it a label, a name of up to 32 characters: label Iron furnace in the shell, or os.label("Iron furnace") in a program. The label shows in the goggles, in id, and to the other computers of the network (net.computers()).
When you break a computer or pick it up with a wrench, the item keeps its number and its label: placed again, it is the same computer.
Monitors
A CRT Monitor (age IV) or an LCD Monitor (age VII) placed against a computer shows its terminal in the world, big enough to read from afar.
- Monitors of the same kind placed side by side, facing the same way, in a flat rectangle, merge into one screen of up to 8 × 6 blocks.
- The CRT Monitor glows like a phosphor screen (green for a Tube Computer or a Transistor Mainframe, amber for a Minicomputer, in colour for the newer ones); the LCD Monitor is a thin colour screen.
- Right-click any monitor of the screen to open the computer's terminal. When the running program waits for clicks (it called
os.pull_event()oros.pull_event("click")), a right-click presses the screen instead (a light pen on the CRT, a touch on the LCD); sneak to open the terminal anyway. - A monitor shows nothing while its computer has no rotation.
The monitor page shows how a program reads the size of its screen.
Display Links
A Create Display Link whose source is a computer shows the lines the program wrote with display.set() on a Display Board, Nixie Tubes, a sign or anything else a Display Link can fill. It refreshes twice a second. The lines are cleared when the computer reboots or is switched off. See display.
The wrench
With Create's Wrench:
- right-click turns a computer a quarter turn. Its back turns with it, so move the shaft, and remember that
"left"and"right"follow the screen; - sneak and right-click picks it up, keeping its number, its label and (for the Microcontroller) its memory. The medium inside drops.
The same goes for the other blocks of the mod: monitors, cables, Radio Modems and Wi-Fi Routers.
See also
- Your first program, to get one running step by step.
- The shell and the editor, every command and every shortcut.
os:os.tier(),os.memory(),os.id(),os.label()from a program.
Punch Card Deck
Magnetic Tape Reel
Floppy Disk
Solid-State Drive