EXAPUNKS

EXAPUNKS

View Stats:
Having a spot of trouble
with not being able to designate which EXA reads the M register. Whats the method you guys use.
< >
Showing 1-4 of 4 comments
Timing and crossed fingers.
FYI if it helps, Global and Local channels are completely separate. An EXA in Local cannot read from Global, even if the sender is in the same host.

What level are you working on?
I was working on the Zebros level. It's less that I can't control it and more that it's random. What dictates why one Exa gets the signal and not the one sitting right next to it? I can fanangle around limitations, but it literally hurts my brain to have such a wide variable as "You could have the entire sequence right and be wrong because of random signal."

Which is why I was hoping people weren't crossing their fingers like me. haha
Ok, I reviewed that level, and I think I can guess what you're doing. In any event, the solution I came up with does involve toggling between local and global comms. Though I've got one EXA receiving messages from two different EXAs rather than sending to two. If it interests you...

EXA 1 reads and searches the accounts owed file, and sends the amount owed over the local channel.
EXA 2 retrieves the date for the payment, and sends it over the global channel.
EXA 3 writes the required information to the payments file by first reading from the global channel to get the date, and then switches to the local channel to get the amount owed.

This all works without timing or order of operation issues because reading or writing to M when there's nothing on the other end trying to write/read is fine. The EXA just waits. Also as stated, an EXA in global mode cannot read local, and an EXA in local cannot read global, but you're free to toggle between modes at any time. Because the information is in different channels, and I know what order I need to read the channels in, everything works fine.


Yes, this is much less timing and crossed fingers than you might have expected from my first response, but I somewhat expected trying to sync more than three EXAs.
I actually had the Exa holding 300 link to the #TIME register, then send the account name twice, which sent it to the Exa holding 200 first, and then the Exa holding 201, inexplicably. Then the time once. It's not a clean formula I can replicate and apply to future levels, so I'll look into learning the Global and Local M register uses a little better as you recommend.
< >
Showing 1-4 of 4 comments
Per page: 1530 50