« Tech Support: Semaphores capture multiple inputs. | Main | Tech Support: Counting bits »

Tech Support: Brought to you by the letter T

George asked:

Hello David,

Quick question if you don't mind regarding your convention in SKB for your use of the letter "t"

I've noticed t seems to refer to timer number in old scheme, but
tt )
tttt ) I'm wondering what the difference is.
tttttt )

George, I confess! We have not always been consistent with the conventions over the many years we have been making SPLat.

We tend to use more t's (or whatever) as the number of bits represented increases. A single t, as you say, is what I often use to denote a timer number with the old timer.

tt will generally mean a single byte timer duration, though I won't claim to be consistent (hey, if the politicians can get away with it why shouldn't we?!)

tttt and tttttt are used somewhat more consistently to denote 2-bytes and 3-bytes respectively, although with the old SPLat timers the timer argument is 15 bits (1 - 32,767), and for PAUSE the range depends on the dialect you are using. tttttt is quite consistently used as the argument (duration) for the newer SuperTimers, which have a 24-bit value with range 1 - 16,777,215, which goes from 10mS to 46.6 hours.

At the end of the day you need to look at the body text of the SKB entry.

TrackBack

TrackBack URL for this entry:
http://www.splatco.com/cgi-sys/cgiwrap/microcon/managed-mt/mt-tb.cgi/62

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


About

This page contains a single entry from the blog posted on August 1, 2007 5:45 PM.

The previous post in this blog was Tech Support: Semaphores capture multiple inputs..

The next post in this blog is Tech Support: Counting bits.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.33