News:

  • June 07, 2026, 07:52:08 AM

Login with username, password and session length

Author Topic: CTTBLLD over another table  (Read 20876 times)

ERokc

  • Hero Member
  • *****
  • Posts: 118
CTTBLLD over another table
« on: March 24, 2015, 02:12:28 PM »
I need to reload a preset table before the existing one finishes. I also need to CTREGWR a new value to the accumulator. I know how to do each I just need to know the order to do it.

Do I need to clear the existing one first then load the new one?

Can I just load over the existing one?

What's a reliable procedure?

Dave

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: CTTBLLD over another table
« Reply #1 on: March 24, 2015, 05:15:55 PM »
Loading a table overwrites the previously loaded table. No need to clear.

A new table doesn't get fully happy until the associated counter has been through a reset. Reset updates the accumulator.

So...load the table, reset the counter, write the accumulator.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

ERokc

  • Hero Member
  • *****
  • Posts: 118
Re: CTTBLLD over another table
« Reply #2 on: March 24, 2015, 07:11:16 PM »
I discovered "counter reset to a value".  Can I load the table, toggle $CTRIO_000_C2F1.Reset to get the accumulator set?  If so that would be cleaner.

Is there a preset table reset?  All I need is to start over periodically.


BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: CTTBLLD over another table
« Reply #3 on: March 24, 2015, 09:47:21 PM »
I discovered "counter reset to a value".  Can I load the table, toggle $CTRIO_000_C2F1.Reset to get the accumulator set?  If so that would be cleaner.

Is there a preset table reset?  All I need is to start over periodically.



Yes, that will work.

There is no reset for the table, only the counter.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO