mods.factorio.com Open in urlscan Pro
2606:4700:20::ac43:47c5  Public Scan

URL: https://mods.factorio.com/mod/microcontroller
Submission: On September 19 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Factorio.com | Forums | Wiki | Mod Portal | API Docs
Log in


 * Highlighted mods
 * Recently updated
 * Most downloaded
 * Trending
 * Search mods


MICROCONTROLLER

by ljdp

--------------------------------------------------------------------------------

Program circuit network logic using FAL, a Factorio Assembly Language.

Content
Mod category: Content

Mods introducing new content into the game.

5 years ago
0.16
7
Circuit network
Mod tag: Circuit network

Entities which interact with the circuit network.

Download
 * Information
 * Downloads
 * Dependencies 1 / 11
 * Discussion 15
 * Metrics

Owner: ljdp Source: N/A Homepage: N/A License: MIT Created: 6 years ago Latest
Version: 0.4.1 (5 years ago) Factorio version: 0.16 Downloaded by: 7 users



Handle your signals like a pro by writing FAL (Factorio Assembly Language).
This state of the art MicroController has 4 memory registers, can take any
number of inputs on two channels, red and green plus 1 output register. The
MicroController can do everything a combinator can do, only more and better!

FAL has 34 Opcodes and can read 32 lines of instructions.

Now works in multiplayer and has a visual inspector for the registers

Download the FAL Reference Document here:
https://www.dropbox.com/s/oxbz75wkvc4lemg/FAL_REFERENCE.pdf?dl=0


EXAMPLES


EXAMPLE 01

# Outputs the first signal 
# from red multiplied by 2.
mov red1 mem1
mul mem1 2
mov mem1 out
jmp 2



EXAMPLE 02

# accumulates first 4 
# signals on the red wire.
:SETUP
clr
set 11 mem2
set 1 mem3
:LOOP
mov red@3 mem1
add mem1 mem@2
mov mem1 mem@2
:NEXT
add mem2 1
tlt mem1 15
set 11 mem1
mov mem1 mem2
add mem3 1
tlt mem1 5
set 1 mem1
mov mem1 mem3
jmp :LOOP



CREDIT

Roundicons and Flaticons.com for the icon sprites.

Terms of Service|Privacy|Imprint|Presskit|Contact|FAQ|Jobs

Copyright © 2015 - 2024 Wube Software - all rights reserved.