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

From WikiTI
Jump to: navigation, search
m (Added links.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:83Plus:Ports:By Address|11 - LCD Data]][[Category:83Plus:Ports:By Name|LCD Data]]
 
[[Category:83Plus:Ports:By Address|11 - LCD Data]][[Category:83Plus:Ports:By Name|LCD Data]]
 +
[[Category:83:Ports:By Address|11 - LCD Data]][[Category:83:Ports:By Name|LCD Data]]
 +
[[Category:82:Ports:By Address|11 - LCD Data]][[Category:82:Ports:By Name|LCD Data]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Port Number:''' 11h
 
'''Port Number:''' 11h
Line 6: Line 8:
  
 
This port transfers data to and from the LCD driver's internal RAM.
 
This port transfers data to and from the LCD driver's internal RAM.
 +
 +
= TI 84 Plus C SE =
 +
Information on the LCD driver for the TI-84 Plus C SE is on [[84PCSE:LCD_Controller|another page]].
 +
 +
= TI-83 Plus, TI-83 Plus SE, TI-84 Plus, TI-84 Plus SE =
  
 
=== Read Values ===
 
=== Read Values ===
 
* The byte at the current location in RAM. Each bit corresponds to one pixel.
 
* The byte at the current location in RAM. Each bit corresponds to one pixel.
 +
 +
NOTE: When the LCD is first turned on (eg, after a removing ALL batteries from the calculator including the backup one) or after the location pointer is changed via the command port, the contents of the LCD's output register will be invalid. Since the output register is only updated on a data read, an extra dummy read is required before you will be able read what is at the new location. This is not required when the location pointer is updated by the auto-increment/decrement.
  
 
=== Write Values ===
 
=== Write Values ===
Line 16: Line 25:
 
In 6-bit transfer mode, only bits 0~5 have any significance.
 
In 6-bit transfer mode, only bits 0~5 have any significance.
  
THe RAM location affected can be changed through the [[83Plus:Ports:10|command port]]. The location will also automatically change according to the auto-increment or auto-decrement mode as set in the command port. As with sending commands, you must wait a full LCD Cycle (10 microseconds) between reads and writes.
+
The RAM location affected can be changed through the [[83Plus:Ports:10|command port]]. The location will also automatically change according to the auto-increment or auto-decrement mode as set in the command port. As with sending commands, you must wait a full LCD Cycle (10 microseconds) between reads and writes.
  
 
== Example ==
 
== Example ==
  <nowiki>;Cause all the pixels at the current location to be black.
+
  <nowiki> ;Cause all the pixels at the current location to be black.
 
  ld a, 0FFh
 
  ld a, 0FFh
 
  out (11h), a
 
  out (11h), a
Line 33: Line 42:
 
== See Also ==
 
== See Also ==
 
* [[83Plus:Ports:10|Port 10]] - LCD command port
 
* [[83Plus:Ports:10|Port 10]] - LCD command port
* [http://wikiti.denglend.net/stuff/t6a04.pdf LCD driver datasheet]
+
* [https://archive.org/details/t6a04a-datasheet LCD driver datasheet]

Latest revision as of 16:42, 3 March 2020

Synopsis

Port Number: 11h

Function: LCD Data Port

This port transfers data to and from the LCD driver's internal RAM.

TI 84 Plus C SE

Information on the LCD driver for the TI-84 Plus C SE is on another page.

TI-83 Plus, TI-83 Plus SE, TI-84 Plus, TI-84 Plus SE

Read Values

  • The byte at the current location in RAM. Each bit corresponds to one pixel.

NOTE: When the LCD is first turned on (eg, after a removing ALL batteries from the calculator including the backup one) or after the location pointer is changed via the command port, the contents of the LCD's output register will be invalid. Since the output register is only updated on a data read, an extra dummy read is required before you will be able read what is at the new location. This is not required when the location pointer is updated by the auto-increment/decrement.

Write Values

  • Sets the byte at the current RAM location. Each bit corresponds to one pixel.

Comments

In 6-bit transfer mode, only bits 0~5 have any significance.

The RAM location affected can be changed through the command port. The location will also automatically change according to the auto-increment or auto-decrement mode as set in the command port. As with sending commands, you must wait a full LCD Cycle (10 microseconds) between reads and writes.

Example

 ;Cause all the pixels at the current location to be black.
 ld a, 0FFh
 out (11h), a
 push hl
 push de
 pop de
 pop hl
 nop
 ;And turn them back off.
 xor a
 out (11h), a

See Also