Electronic Components Datasheet Search
  English  ▼

X  

TMPR3916 Datasheet(PDF) 88 Page - Toshiba Semiconductor

Part # TMPR3916
Description  32-Bit TX System RISC TX39 Family TMPR3916
PDF  225 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TOSHIBA [Toshiba Semiconductor]
Direct Link  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMPR3916 Datasheet(HTML) 88 Page - Toshiba Semiconductor

Back Button TMPR3916 Datasheet HTML 84Page - Toshiba Semiconductor TMPR3916 Datasheet HTML 85Page - Toshiba Semiconductor TMPR3916 Datasheet HTML 86Page - Toshiba Semiconductor TMPR3916 Datasheet HTML 87Page - Toshiba Semiconductor TMPR3916 Datasheet HTML 88Page - Toshiba Semiconductor TMPR3916 Datasheet HTML 89Page - Toshiba Semiconductor TMPR3916 Datasheet HTML 90Page - Toshiba Semiconductor TMPR3916 Datasheet HTML 91Page - Toshiba Semiconductor TMPR3916 Datasheet HTML 92Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 88 / 225 page
background image
Chapter 3 Graphics Display Controller (GDC)
Preliminary
3-9
3.2
Scrolling
There are two different ways of scrolling when using the TMPR3916’s graphics display controller:
Smooth scrolling and some kind of register scrolling.
Smooth scrolling is done by changing the start address of graphics data in memory (SARx). The layers in
TMPR3916 have different resolutions in colour depth. That is why the number of dots per word changes
from layer to layer. Therefore the address of the next dot for display differs. This implies different handling
of smooth scrolling in the different kinds of layers.
The easiest implementation can be reached using layers C and D. It is also the type of implementation this
document starts with. Following is the description for layers A and B.
Register scrolling is another special type of scrolling a layer by changing the values for horizontal and
vertical display start and end. As layers A, B, C and E have common settings for display size and are
normally fixed to the display’s maximum settings, this scrolling type only applies to layer D. The related
registers are HDSERD, VDSRD and VDERD.
The algorithms following are based on C syntax for documentation. They also imply just one step at a time
in one direction. For moving in several directions at the same step the related algorithm has to be executed
for each direction. For example, if scrolling to the left and up is wanted, two runs of the algorithm are needed
– one for “LEFT”, one for “UP”.
It is assumed that only four directions have been defined: LEFT, RIGHT, UP and DOWN. This is why the
“UP” decision automatically branches into “DOWN” case if false.
3.2.1
Smooth Scrolling
3.2.1.1
Scrolling Layers C and D
For smooth scrolling three bits are reserved in start address register (SARx). As layer C and D
both consist of data with eight dots per word and this is the maximum amount of differing
addresses that can be generated using three bits for coding, no problem occurs for these layers:
Just add (subtract) to (from) SARx the amount of dots you want to use as offset for smooth
scrolling to the left (right) or respectively up (down). The related algorithm is shown in the
following diagram:
newSARx = SARD
newSARx = SARC
MWRx = MWRC >> 15
MWRx = MWRD >> 15
LEFT
True
False
RIGHT
True
False
UP
True
False
newSARx += offset
newSARx -= offset
newSARx += MWR * offset * 4
newSARx -= MWR * offset * 4
SARD = newSARx
SARC = newSARx
LAYER_C
True
False
LAYER_C
True
False
Example:
For scrolling a picture located at 0x50010024 (SARx: 0xA0020048) to the left by one dot
simply add 0x01 to the latter value: 0xA0020049 is the correct start address register value for the
next picture (physical: 0x50010024). Note that the least significant bits in this start adress register



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com