HARDWARE ManualVDP2 User's ManualChapter 3 RAM
BackForward
VDP2 User's Manual / Chapter 3 RAM / ■ 3.3 How to access VRAM during the display period

● VRAM cycle pattern register specification procedure

The procedure for specifying a VRAM cycle pattern in a register is as follows.

  1. Determine the TV screen mode.

  2. Decide if you want to split the VRAM in two.

  3. Determine the number of character colors and reduction settings for the scroll screen to be displayed.
    Also, decide whether to use the vertical cell scroll function.

  4. Determine the VRAM bank that stores the image data (pattern name data, character pattern data, bitmap pattern data) required for each scroll screen.
    When using the vertical cell scroll function, also determine the bank of VRAM that stores the vertical cell scroll table data.

  5. Decide whether to perform read / write access by the CPU.

  6. Specify the access command in the VRAM cycle pattern register so as to comply with the specification restrictions of each access timing.

Figure 3.8 shows an example of specifying the VRAM cycle pattern register.

Figure 3.8 VRAM cycle pattern specification example
<Conditions>

<VRAM cycle pattern register>
 T0
 T1
 T2
 T3
 T4
 T5
 T6
 T7
For VRAM-A0
(Or for VRAM-A)
N1CE N0PN N1PN N0PN NA CPU CPU NA
For VRAM-A1 N3CE NA N1PN NA NA CPU CPU N3CG
For VRAM-B0
(Or for VRAM-B)
N0CG N0CG N1CG N1CG NA N0CG N0CG N3CG
For VRAM-B1 N0CG N0CG N1CG N1CG NA N0CG N0CG NA
N1 = NBG1 N2 = NBG2 N3 = NBG3
PN = pattern name data read
CG = character pattern data read
CE = Vertical cell scroll table data read
CPU = CPU read / write
NA = do not access

BackForward
HARDWARE Manual VDP2 User's ManualChapter 3 RAM
Copyright SEGA ENTERPRISES, LTD., 1997