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

From WikiTI
Jump to: navigation, search
(Created page with "1002 - Flash Wait States? Flash Wait States? == Synopsis == '''Port Number:''' 1002 '''Function:''' Possi...")
 
(Notice of applicability)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:84PCE:Ports:By_Address|1002 - Flash Wait States?]] [[Category:84PCE:Ports:By_Name|Flash Wait States?]]
+
[[Category:84PCE:Ports:By_Address|1002 - Flash chip size]] [[Category:84PCE:Ports:By_Name|Flash chip size]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Port Number:''' 1002
 
'''Port Number:''' 1002
  
'''Function:''' Possibly controls flash wait states.
+
'''Function:''' Memory-mapped flash chip size. This port is only applicable to older devices which feature a [[84PCE:Ports:1000|parallel flash chip.]]
  
 
== Details ==
 
== Details ==
 
=== Bits [2:0] ===
 
=== Bits [2:0] ===
Possibly controls flash wait states. Some values cause an instant crash unless interrupts are disabled and you are running in a RAM program; if you are running in a RAM program with interrupts disabled, no values cause a crash.
+
Sets the flash chip size. 06 is the default (4 MB). 07 will map 8 MB, which will cause the 4 MB to be mirrored twice. Smaller values map less flash, possibly down to 64 K.
  
{|-
+
=== Bit 3 ===
|<u>Value</u>&nbsp;&nbsp;&nbsp;
+
When this bit is set, the flash mapping is forced to 64KB (the equivalent of a 0 in bits 0-2).
|<u>Effect</u>&nbsp;&nbsp;&nbsp;
+
|-
+
|0
+
|Instant crash
+
|-
+
|1
+
|Instant crash
+
|-
+
|2
+
|Instant freeze
+
|-
+
|3
+
|Crash upon return to OS
+
|-
+
|4
+
|No crash, freezes if you do anything complicated in the OS
+
|-
+
|5
+
|No crash, freezes if you do anything complicated in the OS
+
|-
+
|6
+
|Normal value
+
|-
+
|7
+
|No ill-effects apparent, does not appear to make OS noticeably slower
+
|}
+
  
=== Bits [7:3] ===
+
=== Bits [7:4] ===
 
Writes have no apparent effect, value does not latch.
 
Writes have no apparent effect, value does not latch.

Latest revision as of 07:22, 18 April 2020

Synopsis

Port Number: 1002

Function: Memory-mapped flash chip size. This port is only applicable to older devices which feature a parallel flash chip.

Details

Bits [2:0]

Sets the flash chip size. 06 is the default (4 MB). 07 will map 8 MB, which will cause the 4 MB to be mirrored twice. Smaller values map less flash, possibly down to 64 K.

Bit 3

When this bit is set, the flash mapping is forced to 64KB (the equivalent of a 0 in bits 0-2).

Bits [7:4]

Writes have no apparent effect, value does not latch.