Automated Redstone

Automated Redstone

145k Downloads

Wierd index offset in Array Writer

feldim2425 opened this issue ยท 1 comments

commented

If I place more than one Array Writer in the Circuit Designer the memory location for index 0 shifts back 1 slot / byte.


In this example I simply set 3 Constants as index and one constant for the value.
All indices are set to 0 but in the program. I had to shift the Array Writer Blocks one to the right and make its memory space one slot shorter in order to act the same as the previous writer.

commented

This came just in time when I was about to release a new version :)

However it seems that I accidentally made these array writers be simulated with a size of zero bytes although they are of course threated with non zero width for the indexing of following components. This causes all following components to write their result in the wrong position.