Turing Complete

Turing Complete

データを表示:
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.
< >
1-5 / 5 のコメントを表示
you need the custom component.
use the "saving bytes" schematic as base to create it and add a byte output connected before the switch
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  [開発者] 2022年4月3日 17時46分 
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)
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 2024年9月15日 16時07分 
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?
< >
1-5 / 5 のコメントを表示
ページ毎: 1530 50