83Plus:Basic:New Tokens on the 84 Plus
From WikiTI
- The title of this article is incorrect because of technical limitations. The correct title is 83Plus:Basic:New Tokens on the 84+.
The TI-84(SE) has several new tokens. These tokens will not work on the 83's.
Contents
Tokens
checkTmr(
- Hex: $EF02
- Syntax: checkTmr(offset
- offset is a decimal number to add to the value returned.
- Returns: Decimal value of clock ports
ClockOff
- Hex: $EF0F
- Syntax: ClockOff
ClockOn
- Hex: $EF10
dayOfWk(
- Hex: $EF06
ExecLib
- Hex: $EF12
- Notes: This is used with OpenLib(
getDate
- Hex: $EF09
- Syntax: getDate→⌊ALIST
- Returns: {year,month,day} (regardless of getDtFmt)
getDtFmt
- Hex: $EF0C
- Syntax: getDtFmt→[a variable]
- Returns: A number which tells you what date format the user has requested to use on the MODE screen.
getDtStr(
- Hex: $EF07
- Syntax: getDtStr(date format
- I would presume date format is the same as the numbers used for getDtFmt
getTime
- Hex: $EF0A
- Sintax: setTime→⌊ALIST
- Returns: A list, in the format: {hour,minuet,second
getTmFmt
- Hex: $EF0D
- Notes: Works alot like getDtFmt
getTmStr(
- Hex: $EF08
- Syntax:
getTmStr([12|24]
- It takes either 12 or 24, but I would guess that there are other values you could include after that to get the seconds.
isClockOn
- Hex: $EF0E
- Notes: The way this one works, to test if the clock is on, just do <code>If isClockOn or
If not(isClockOn)
.
OpenLib(
- Hex: $EF11
- Notes: This is used to interface with an application. However, no apps have been released to make of this (yet) *pokes Michael Vincent with a flash drive*
setDate(
- Hex: $EF00
- Syntax: setDate(year,month,day
- Notes: DtFmt does not affect this.
setDtFmt(
- Hex: $EF03
- Notes: This is used to set the date format shown on the MODE screen
setTime(
- Hex: $EF01
- Syntax: setTime(hour,minuet,second
- Notes: This does not care about TmFmt
setTmFmt(
- Hex: $EF04
- Notes: Changes the time time format shown on the MODE screen
startTmr
- Hex: $EF0B
- Notes: This works just like checkTmr(0), execpt smaller.
timeCnv(
- Hex: $EF05
- Syntax: timeCnv(a number of seconds
- Returns: A list that converts the number of seconds into {days,hours,minuets,seconds
- Notes: You may wish to use this with checkTmr( to bump the time up or down a few seconds
Notes
Time is not a new token for the 84.
ti83plus.inc does not define any tokens as starting with $EF, and all these new tokens start with $EF. $EF is the second byte of some two-byte tokens.
Credits and Contributions
- elfprince13 for asking
- Calcsys, for making it easy to find the byte-codes of these tokens.