Difference between revisions of "83Plus:Ports:29"

From WikiTI
Jump to: navigation, search
(Values)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:83Plus:Ports:By Address|29 - LCD Speed (6 MHz)]] [[Category:83Plus:Ports:By Name|LCD Speed (6 MHz)]]
+
[[Category:83Plus:Ports:By Address|29 - LCD Delay (6 MHz)]] [[Category:83Plus:Ports:By Name|LCD Delay (6 MHz)]]
{{SE-Only Port|09}}
+
{{SE-Only Port|01}}
  
 
== Synopsis ==
 
== Synopsis ==
 
'''Port Number:''' 29h
 
'''Port Number:''' 29h
  
'''Function:''' LCD Speed (6 MHz)
+
'''Function:''' LCD Delay (6 MHz)
  
This port controls the calculator's LCD speed when it is running at 6 MHz. It is complicated and the lower four bits have not been thoroughly investigated but should be 7h on the TI-83/84 Plus Silver Edition at all times.
+
This port removes the amount of delay needed between accesses to the LCD driver by adding a delay to any instruction which reads from or writes to ports [[83Plus:Ports:10|10]] or [[83Plus:Ports:11|11]], as well as the mirror ports 12 and 13.
  
=== Values ===
+
=== Usage ===
 +
* Bit 0 enables the effects of the flash delay controlled by port 2E.
 +
* Bit 1 enables the effects of the ram delay controlled by port 2E.
 +
* Bits 2-7 control the amount of delay added at specified instructions. To calculate the number of clock cycles added, divide the contents of port 29 by 4 and round off. '''NOTE:''' The contents of this port should NOT be less than 0Ch or the LCD driver will no longer respond.
  
Setting bits 4-7 on this port has the effect of shortening the required LCD delay. Bits 7-5 control the removed delay in powers of 2 (i.e. setting bit 7 removes 1/2 of the original delay, setting bit 6 removes 1/4, and bit 5 1/8). Bit 4 is related to bits 7-5 by a factor of 3/26. If the entire upper nibble of port 29h is zero, the LCD will not update.
+
== Comments ==
 +
This port is not available on the normal TI-83+. On the normal TI-83+ this port is a shadow of [[83Plus:Ports:01|Port 01h]].
  
The formula below calculates the amount of delay removed by setting bits 7-4 (the lower nibble of the port should always be 7). b7, b6, b5, b4 are either 0 or 1 and represent the value of their corresponding bit.
+
Bits 0&1 are reset on the 83+SE and set on the 84+(se).
  
Percentage of delay removed [0-1] = (b7/2) + (b6/4) + (b5/8) + (3/26)(b7)(b4) + (3/52)(b6)(b4) + (3/104)(b5)(b4).
+
The effect of this port is only seen if the contents of [[83Plus:Ports:20|port 20h]] equals 00.
  
Note however if port 29h is set to 27h, then the % of delay removed is actually (1/8) - (3/104).
+
As noted above, a delay less than 3 cycles causes LCD outputs to fail. However, it seems that LCD inputs (from any port) will work with a delay of 1 or more. With a delay of 0, both inputs and outputs seem to fail. Is this all a hardware glitch? Who knows.
  
For a simple table of common values:
 
 
<nowiki>Value    Relative speed (100% is normal, 200% would mean the LCD is twice as fast)
 
17      100%
 
27      110%
 
47      133%
 
67      160%
 
87      200%
 
A7      267%
 
C7      400%
 
E7      1300%
 
F7      1600%</nowiki>
 
 
== Comments ==
 
This port is not available on the normal TI-83+. On the normal TI-83+ this port is a shadow of [[83Plus:Ports:09|Port 09h]].
 
  
 
== Credits and Contributions ==
 
== Credits and Contributions ==
 
* '''Michael Vincent:''' Documentation as found [http://michaelv.org/programs/calcs/ports/port29.html here].
 
* '''Michael Vincent:''' Documentation as found [http://michaelv.org/programs/calcs/ports/port29.html here].
 +
* '''James Montelongo:''' Documentation found at [http://www.geocities.com/jimm09876/calc/port29.html here].

Latest revision as of 22:49, 18 February 2013

This port only exists as a distinct port on the TI-83 Plus Silver Edition, the TI-84 Plus, and the TI-84 Plus Silver Edition. On the standard TI-83 Plus, it acts as a shadow of port 01.

Synopsis

Port Number: 29h

Function: LCD Delay (6 MHz)

This port removes the amount of delay needed between accesses to the LCD driver by adding a delay to any instruction which reads from or writes to ports 10 or 11, as well as the mirror ports 12 and 13.

Usage

  • Bit 0 enables the effects of the flash delay controlled by port 2E.
  • Bit 1 enables the effects of the ram delay controlled by port 2E.
  • Bits 2-7 control the amount of delay added at specified instructions. To calculate the number of clock cycles added, divide the contents of port 29 by 4 and round off. NOTE: The contents of this port should NOT be less than 0Ch or the LCD driver will no longer respond.

Comments

This port is not available on the normal TI-83+. On the normal TI-83+ this port is a shadow of Port 01h.

Bits 0&1 are reset on the 83+SE and set on the 84+(se).

The effect of this port is only seen if the contents of port 20h equals 00.

As noted above, a delay less than 3 cycles causes LCD outputs to fail. However, it seems that LCD inputs (from any port) will work with a delay of 1 or more. With a delay of 0, both inputs and outputs seem to fail. Is this all a hardware glitch? Who knows.


Credits and Contributions

  • Michael Vincent: Documentation as found here.
  • James Montelongo: Documentation found at here.