1 Figure 2: Memory organization in unchained 256-color modes (like
\r
2 Mode X) (ASCII version)
\r
4 (C) 1993 Ztiff Zox Softwear
\r
7 Imagine that the screen looks the same as in figure 1a. A screen width
\r
8 of 320 pixels is still assumed.
\r
10 In VGA memory, the screen will be represented as follows:
\r
14 address: 0 10 70 79 (NOT 319!)
\r
15 ----------------------------------------
\r
16 |0482604826048260 ..... 0482604826|
\r
23 ----------------------------------------
\r
24 |1593715937159371 ..... 1593715937|
\r
31 ----------------------------------------
\r
32 |2604826048260482 ..... 2604826048|
\r
39 ----------------------------------------
\r
40 |3715937159371593 ..... 3715937159|
\r
44 Note that if pixel i is in plane p, pixel i+1 is in plane (p+1)%4.
\r
45 When the planes are unchained, we need to set the Write Plane Enable
\r
46 register to select which planes should receive the data when writing,
\r
47 or the Read Plane Select register when reading. As is evident, one
\r
48 address in the video segment provides access to no less than FOUR
\r