Electronic Components Datasheet Search
  English  ▼

X  

TMPR3916 Datasheet(PDF) 89 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) 89 Page - Toshiba Semiconductor

Back Button 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 TMPR3916 Datasheet HTML 93Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 225 page
background image
Chapter 3 Graphics Display Controller (GDC)
Preliminary
3-10
are not related to the address counter part (AC) but to this smooth scrolling feature. This leads to a
dot offset of 1 in the SS register part, so that the dot read as next is located at 0x50010025.
3.2.1.2
Scrolling Layers A and B
For working on layers A and B the application of smooth scrolling becomes a little more
difficult: One word contains data of four dots, of which the number can be coded by using just two
of the three bits reserved in SARx.
The algorithm shown in the following diagram is to be used:
newSARx = SARB
newSARx = SARA
MWRx = MWRA >> 15
MWRx = MWRB >> 15
LAYER_A
True
False
LEFT
True
False
newSARx = (newSARx & 0xfffffff8) | (preSARx & 0x00000003)
RIGHT
True
False
UP
True
False
preSARx += offset
preSARx -= offset
preSARx += MWR * offset * 4
preSARx -= MWR * offset * 4
preSARx[2] !=
newSARx[2]
True
False
preSARx[2] !=
newSARx[2]
True
False
newSARx += 8
newSARx -= 8
SARB = newSARx
SARA = newSARx
LAYER_A
True
False
preSARx = newSARx & 0x00000007
newSARx += MWR * offset * 4
newSARx -= MWR * offset * 4
Example:
For scrolling a picture located at 0x50010024 (SARx: 0xA0020048) to the right by four dots do
the following:
1.
newSARx = 0xA0020048
2.
MWRx = 0x-------- (not needed for this example)
3.
preSARx = 0x00000000
4.
preSARx = 0xFFFFFFFC
5.
newSARx = 0xA0020044
6.
newSARx = 0xA0020044
7.
SARA = 0xA0020044
This new entry for start address register results in a physical bus address of 0x50010020, which
is the memory address located before the one read first in the last step. The smooth scrolling bits
show an offset of 0 so in the end the first dot read is located at 0x50010020, too.
Please be aware of the relationship of adding or subtracting the extra offset 0x08 to the scrolling
direction.
3.2.2
Register Scrolling
This scrolling type is implemented easily: Just change the values of the start and end registers in
horizontal and vertical direction using the projected dot offset:



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