Difference between revisions of "84PCE:Ports:1005"
From WikiTI
(RAM wait states update) |
|||
| Line 5: | Line 5: | ||
'''Memory-mapped Address:''' E00005 | '''Memory-mapped Address:''' E00005 | ||
| − | '''Function:''' Controls flash wait states. Each read from flash will have at least 6 wait states, plus the number of wait states specified in this port. The OS defaults to 04 in this port, so by default, every read from flash incurs a 10 wait state penalty. (V/RAM gets 4 wait states.) | + | '''Function:''' Controls flash wait states. Each read from flash will have at least 6 wait states, plus the number of wait states specified in this port. The OS defaults to 04 in this port, so by default, every read from flash incurs a 10 wait state penalty. (V/RAM gets 4 wait states for reads, 2 for writes.) |
== Details == | == Details == | ||
Revision as of 19:11, 3 April 2015
Synopsis
Port Number: 1005
Memory-mapped Address: E00005
Function: Controls flash wait states. Each read from flash will have at least 6 wait states, plus the number of wait states specified in this port. The OS defaults to 04 in this port, so by default, every read from flash incurs a 10 wait state penalty. (V/RAM gets 4 wait states for reads, 2 for writes.)
Details
| Value | Effect |
| 00 | Instant hard crash & reset if OS ISR is enabled |
| 01 | Makes OS a little faster, perhaps 30 % |
| 02-03 | No ill-effects |
| 04 | Normal value |
| 10 | OS feels noticeably sluggish |
| 20 | OS is unbearably sluggish, RAM program dummy loop is not slower |
| FF | Don't even bother trying to do anything |