Turing Complete

Turing Complete

View Stats:
Opus Magno Apr 3, 2022 @ 2:03pm
Always output - Register Help
Hello,

Trying the Calculations level where registers have an "exta pin" that always output the value stored in that register. My problem is that any wire connected to that is grayed out and only carries a value if I send a signal to "load" pin (which is exactly the same behavior of the regular "load pin" on the register.

Am I missing something too obvious here? :)

Any input is appreciated.
< >
Showing 1-5 of 5 comments
Thunder Apr 3, 2022 @ 3:09pm 
you need the custom component.
use the "saving bytes" schematic as base to create it and add a byte output connected before the switch
Opus Magno Apr 3, 2022 @ 4:22pm 
I'll take a look on that, thanks. But if I use a custom, I won't be needing that output anymore will I?
Stuffe  [developer] Apr 3, 2022 @ 5:46pm 
Originally posted by Opus Magno:
I'll take a look on that, thanks. But if I use a custom, I won't be needing that output anymore will I?
I just tried this and it seems to work correctly. Can you show a screenshot? Not that when you save the "always load" pin will only show the value next tick (if you think about it, you do need to get the value first, then send it to the ALU and then save the result, so it couldn't be any other way)
Opus Magno Apr 3, 2022 @ 6:17pm 
Sure, this is the tick the register receives the value
https://steamcommunity.com/sharedfiles/filedetails/?id=2789198431

And this is the next tick.
https://steamcommunity.com/sharedfiles/filedetails/?id=2789198433

My ALU component keeps sending 255 as there`s no input from the registers 1 and 2 using these pins.
Ohmz Sep 15, 2024 @ 4:07pm 
I'm running into this as well, same behaviour on the same level. Register 3 should have 63 saved to it, but it keeps getting passed 255 from my ALU component.

Everything is hooked up correctly so I thought my ALU was broken, but that can't be as that custom component is created by completing another level.

I then realised the inputs to my ALU actually were both carrying a 0, despite Reg1 and 2 having 63 and 27 saved to them respectively. Double checked my wiring and everything looks fine, with the always load pin getting signal, but the registers still were loading 0.

I disconnected the always load pin and re-wired the normal load pin to also load when the Copy opcode was set - and the registers behaved as expected, loading 63 and 27 as expected.

Weirdly my ALU is still outputting the wrong value, 228 instead of 63.. Maybe the opcode isn't carrying through the instruction pin correctly?
< >
Showing 1-5 of 5 comments
Per page: 1530 50