Difference between revisions of "Category:83Plus:Basic:84NewTokens"

From WikiTI
Jump to: navigation, search
Line 5: Line 5:
 
== checkTmr( ==
 
== checkTmr( ==
 
* Hex: $EF02
 
* Hex: $EF02
* Function: Returns a decimal value of clock port
 
 
* Syntax: checkTmr(<i>offset</i>
 
* Syntax: checkTmr(<i>offset</i>
 
** offset is a decimal number to add to the value returned. You should really have this set to 0.
 
** offset is a decimal number to add to the value returned. You should really have this set to 0.
 +
* Notes: Returns a decimal value of clock port
  
 
== ClockOff ==
 
== ClockOff ==
 
* Hex: $EF0F
 
* Hex: $EF0F
* Function: Turns the clock off
 
 
* Syntax: ClockOff
 
* Syntax: ClockOff
  
 
== ClockOn ==
 
== ClockOn ==
 
* Hex: $EF10
 
* Hex: $EF10
* Function: Turns the clock on, with default time
 
  
 
== dayOfWk( ==
 
== dayOfWk( ==
 
* Hex: $EF06
 
* Hex: $EF06
* Function: Returns a number which indicates what day of the week it is
 
  
 
== ExecLib ==
 
== ExecLib ==
Line 28: Line 25:
 
== getDate ==
 
== getDate ==
 
* Hex: $EF09
 
* Hex: $EF09
* Function: Returns the current date in a list
 
 
* Syntax: getDate&rarr;<i>&lfloor;ALIST</i>
 
* Syntax: getDate&rarr;<i>&lfloor;ALIST</i>
 
** The format the list is in the following format, regardless of getDtFmt: {<i>year</i>,<i>month</i>,<i>day</i>}
 
** The format the list is in the following format, regardless of getDtFmt: {<i>year</i>,<i>month</i>,<i>day</i>}
Line 34: Line 30:
 
== getDtFmt ==
 
== getDtFmt ==
 
* Hex: $EF0C
 
* Hex: $EF0C
* Function: Returns a number which tells you what date format the user has requested to use on the MODE screen.
 
 
* Syntax: getDtFmt&rarr;<i>[a variable]</i>
 
* Syntax: getDtFmt&rarr;<i>[a variable]</i>
 +
* Notes: Returns a number which tells you what date format the user has requested to use on the MODE screen.
  
==getDtStr ==
+
==getDtStr( ==
 
* Hex: $EF07
 
* Hex: $EF07
 +
* Syntax: getDtStr(<i>date format</i>
 +
** I would presume <i>date format</i> is the same as the numbers used for getDtFmt
  
 
== getTime ==
 
== getTime ==
 
* Hex: $EF0A
 
* Hex: $EF0A
 +
* Function: Returns the time in a list
  
 
== getTmFmt ==
 
== getTmFmt ==

Revision as of 18:49, 6 April 2006


The TI-84(SE) has several new tokens. These tokens will not work on the 83's.

Tokens

checkTmr(

  • Hex: $EF02
  • Syntax: checkTmr(offset
    • offset is a decimal number to add to the value returned. You should really have this set to 0.
  • Notes: Returns a decimal value of clock port

ClockOff

  • Hex: $EF0F
  • Syntax: ClockOff

ClockOn

  • Hex: $EF10

dayOfWk(

  • Hex: $EF06

ExecLib

  • Hex: $EF12
  • Notes: This is used with OpenLib(, for which there are no apps currently making use of.

getDate

  • Hex: $EF09
  • Syntax: getDate→⌊ALIST
    • The format the list is in the following format, regardless of getDtFmt: {year,month,day}

getDtFmt

  • Hex: $EF0C
  • Syntax: getDtFmt→[a variable]
  • Notes: 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
  • Function: Returns the time in a list

getTmFmt

  • Hex: $EF0D

getTmStr(

  • Hex: $EF08

isClockOn

  • Hex: $EF0E

OpenLib(

  • Hex: $EF11

setDate(

  • Hex: $EF00

setDtFmt(

  • Hex: $EF03

setTime(

  • Hex: $EF01

setTmFmt(

  • Hex: $EF04

startTmr

  • Hex: $EF0B

timeCnv(

  • Hex: $EF05

Notes

Time is not a new token for the 84.

Credits and Contributions

  • /dev/mouse, for making my life easier

This category currently contains no pages or media.