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

From WikiTI
Jump to: navigation, search
 
m
Line 14: Line 14:
  
 
== Comments ==
 
== Comments ==
In 6-bit word 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.

Revision as of 19:00, 3 April 2005

Synopsis

Port Number: 11h

Function: LCD Data Port

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

Read Values

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

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