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 cnts returns 0 unexpectedly

1 year, 22 days ago

v0.5.0

under certain conditions cnts instruction counting a memory array returns a zero, when the memory array holds signals.

i'm still trying to determine when and why this happens. it happens every time in my application program, but never in this test program, which loads the memory with the same contents shown in the GUI in my program:

clr
mov mem1[1] 1[item=speed-module-2]
mov mem1[2] 1[item=processing-unit]
cnts r1 mem1 # returns 2

clr
mov r2 1
mov mem1@2 1[item=speed-module-2]
inc r2
mov mem1@2 1[item=processing-unit]
cnts r1 mem1 # returns 2

New response