fCPU


Factorio Customizable Processing Unit. Allow to write any logic on low level machine code. The fCPU acts like a programmable microcontroller with a vector coprocessor that supports many useful instructions.

Content
18 days ago
0.18 - 2.0
10.2K
Logistic network Circuit network

g Am I just not understanding how memory works?

2 months ago

One particular behavior that confuses me, is the following. I would expect to be able to write various signals to different memory cells, and that these would operate independantly from each other. However, with the following example:

clr
mov mem1[1], 1[item=iron-ore]
mov mem1[2], 2[item=iron-ore]

I see that subsequent writes of the same type, will empty the previously filled memory slots. So after the above code, memory bank 1 starts with an empty cell on index 1, and the value 2 on the second cell. This appears to work as expected for signals of different type, but why is it different for this scenario?

New response