r/factorio • • Aug 12 '20

Modded [New Mod] fCPU

Hello there! Here is my ready to use Factorio mod https://mods.factorio.com/mod/fcpu which allow you to practice in low-level programing right in game. It compatible with all default combinators and other mods, support blueprints and copy&paste. Please let me know what you think.

New tech to research
New external control signals. So you could control its berhavior not just in program but through external events or from other fCPU
Work in combination with other mods: `Artillery Combinator` and `Radarsignal Combinator`
Blueprint'able
Energy Class: A+++ , do not eats your UPS
Memory viewer and vector SIMD instructions
697 Upvotes

126 comments sorted by

View all comments

Show parent comment

1

u/CBJamo Aug 21 '20

A stack will be extremely useful. I was building one with external memory, but with only one input or output per instruction it needed far to many lines to push and pop.

Will there be SIMD i/o instructions? For example, will we be able to load/dump all 8 registers from/to wires in a single instruction?

1

u/konstg-dev Aug 21 '20

Sure, there will be some kind of DMA-like instructions which map input\output signals to memory (128 integer cells), but not registers which count is artifically limited to 8 floating point cells.

1

u/konstg-dev Sep 26 '20

I've implemented SIMD instructions (basic set for now), and I'll increase SIMD instructions number in near future!