Japanese
HARDWARE ManualVDP2 User's ManualChapter 4 Scroll screen
BackForward
VDP2 User's Manual/Chapter 4 Scroll screen

■4.8 Map

A map is a square pattern made up of 2x2 or 4x4 planes. The map on the normal scrolling screen consists of 2x2 planes, and the map on the rotating scrolling screen consists of 4x4 planes. Specify how the planes are arranged by specifying the pattern name table start address in each plane's register.

●Map specification register

The map consists of 4 planes (normal scroll screen) or 16 planes (rotary scroll screen), and each screen has a 6-bit map register that specifies the start address of the pattern name table for each plane. I have each number of planes. It also has one 3-bit map offset register attached to the upper part of the map register. The map specification register has a total of 9 bits, and the bits used and the address value indicated by the register change depending on the pattern name data size and character size. Figure 4.14 shows the relationship between the map register and map offset register.

Figure 4.14 Map specification register
┌───────────┐ ┌───────────────────────┐
│Map offset │ │    Map register A     │
│ Register  │ ├───┬───┬───┬───┬───┬───┤
├───┬───┬───┤ │ 5 │ 4 │ 3 │ 2 │ 1 │ 0 │
│ 8 │ 7 │ 6 │ └───┴───┴───┴───┴───┴───┘
└───┴───┴───┘ ┌───────────────────────┐
      │       │    Map register B     │
      │       ├───┬───┬───┬───┬───┬───┤
      │       │ 5 │ 4 │ 3 │ 2 │ 1 │ 0 │
      │       └───┴───┴───┴───┴───┴───┘
      └──┐                : 
         │                : 
         │                │ 
         │                │ 
         ↓                ↓ 
      ┌───────────┬───────────────────────┐
      │Map offset │      Map register     │
      │ Register  │                       │
      ├───┬───┬───┼───┬───┬───┬───┬───┬───┤
      │ 8 │ 7 │ 6 │ 5 │ 4 │ 3 │ 2 │ 1 │ 0 │
      └───┴───┴───┴───┴───┴───┴───┴───┴───┘

Table 4.8 shows the bits used in the map specification register and register address values based on pattern name data size and character size.

Table 4.8 Address values of map specification registers depending on settings
plain size pattern name
Data size
character size bits used and actual
address value
1 page horizontal x 1 page vertical 1 word 1 cell horizontal x 1 cell vertical (value of bits 6 to 0) x 2000H
2 cells horizontally x 2 cells vertically (value of bits 8 to 0) x 800H
2 words 1 cell horizontal x 1 cell vertical (value of bits 5 to 0) x 4000H
2 cells horizontally x 2 cells vertically (value of bits 7 to 0) x 1000H
2 pages horizontally x 1 page vertically 1 word 1 cell horizontal x 1 cell vertical (value of bits 6 to 1) x 4000H
2 cells horizontally x 2 cells vertically (value of bits 8 to 1) x 1000H
2 words 1 cell horizontal x 1 cell vertical (value of bits 5 to 1) x 8000H
2 cells horizontally x 2 cells vertically (value of bits 7 to 1) x 2000H
2 pages horizontally x 2 pages vertically 1 word 1 cell horizontal x 1 cell vertical (value of bits 6 to 2) x 8000H
2 cells horizontally x 2 cells vertically (value of bits 8 to 2) x 2000H
2 words 1 cell horizontal x 1 cell vertical (value of bits 5 to 2) x 10000H
2 cells horizontally x 2 cells vertically (value of bits 7 to 2) x 4000H
[Note] When the VRAM capacity is set to 4M bits, the most significant bit of the bits used is not used.


BackForward
HARDWARE Manual VDP2 User's ManualChapter 4 Scroll screen
Copyright SEGA ENTERPRISES, LTD., 1997