Difference between revisions of "84PCE:Ports:0006"

From WikiTI
Jump to: navigation, search
(Updated effect of bits 0 & 1 on port access)
(Updated effect of bits 0 & 1 on port access (oops))
 
Line 10: Line 10:
  
 
=== Bit [0] ===
 
=== Bit [0] ===
Latches value written, OS defaults this to set. Resetting this bit reduces current consumption by about 3 mA, so it does ''something.'' When reset, the [[84PCE:Ports:3000|USB controller ports]] cannot be written & read as 20 0E 3E 00, repeating every 4 bytes.
+
Latches value written, OS defaults this to set. Resetting this bit reduces current consumption by about 3 mA, so it does ''something.'' When reset, the [[84PCE:Ports:3000|USB controller ports]] cannot be accessed.
  
 
=== Bit [1] ===
 
=== Bit [1] ===
Reset this bit to disable display upadates. When reset, the [[84PCE:Ports:4000|LCD controller ports]] cannot be written & read as B1 00 00 00 (revision C) or 2D 09 00 00 (revision N), repeating every 4 bytes.
+
Reset this bit to disable display upadates. When reset, the [[84PCE:Ports:4000|LCD controller ports]] also cannot be accessed.
  
 
=== Bit [2] ===
 
=== Bit [2] ===

Latest revision as of 21:52, 20 February 2021

Synopsis

Port Number: 0006

Function: Unknown

Details

This port seems to affect the display refresh.

Bit [0]

Latches value written, OS defaults this to set. Resetting this bit reduces current consumption by about 3 mA, so it does something. When reset, the USB controller ports cannot be accessed.

Bit [1]

Reset this bit to disable display upadates. When reset, the LCD controller ports also cannot be accessed.

Bit [2]

Set this bit to enable display updates if bit 1 is ever reset. ???

This bit is known to unlock protected ports, such as SHA256, and enables the flash unlock sequence. It is cleared every time the boot code interrupt handler runs.

Bit [3]

Writes do not latch; no apparent effect.

Used by OS on Python Edition.

Bit [4]

Flash lock status.

Bits [7:3]

Writes do not latch; no apparent effect.