fCPU :: SE Fix :: Memory fix + Improvements


Original: Factorio Customizable Processing Unit. SpaceExploration FIx: Fixed fCPU to continue operation while a space ship is jumping between surfaces. Extra: Fixed fCPU indexing in memory read/write. (NO SIMD) Extra improvements have been added

Content
1 year, 1 month ago
1.1
695
Circuit network

b no way to clear one signal cell in a memory array

1 year, 23 days ago

mov'ing an empty register to a memory array cell is ignored, either with direct or indirect indexing. see test program. also clr on a single memory array cell is not allowed. neither is mov'ing an empty array cell into that cell.

with none of those ways working, there's no way to clear one signal cell in a memory array. if there is a way at all, it should be documented. if not, then that should be documented.

test program:

clr
mov mem1[1] 1[virtual-signal=signal-R]
mov mem1[2] 1[item=iron-plate]
mov r1 1[item=iron-ore]
clr r2
mov mem1@1 r2 # should have cleared mem1[1], didn't.
nop
mov mem1[1] r2 # should have cleared mem1[1], didn't.
nop
clr mem1[1] # error, not allowed

1 year, 23 days ago

v0.5.0

New response