Closed walksanatora closed 1 year ago
What's the motivation behind the cancelWrite
?
Why I'm asking: writes are not immediate, they need to be consumed by a read. Think of it as kind of a handshake. I know it's a bit awkward, but this system is required to ensure consistency in the number of cycles moves take, independent of module update order.
So as I understand it, this module is beginning writes but never allows the reading module to finish the read.
If it's to ensure the code point is only written to one side, consider using the hooks for finished writes instead. See the queue module for reference on that. Edit: saw that's already in there. Should be enough I think.
so i changed it but now it is only outputting one char
left module is mov -25 up
and right is mov 25 up
(then aHLT: JMP HLT
to halt the program)
but it only outputs one 0
could this because i am reading value 0
of the StringBuilder
the only thing on the two upper screens is two 0
s
after a quick code change
it is outputting 7 4
s on the left monitor, and 5 5
s on the right
got it working
so i have the following stepOutput function
any in my logs i get
but then the
Terminal
module which i placed above has no text displayed on it (UNIT and INT are two diffrent modules, and two seperate displays) the module impl is at https://github.com/walksanatora/tis-stringify/blob/master/src/main/java/net/walksanator/tisstring/modules/stringmodule/StringModule.java