Skip to content

Commit

Permalink
Add pictures for figures 4.11 to 4.14 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konamiman authored Feb 28, 2023
1 parent e3868f1 commit 9044c81
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 123 deletions.
129 changes: 6 additions & 123 deletions md/Chapter4a.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,16 +480,7 @@ MSX-VIDEO screen modes are set by using 5 bits of R#0 and R#1. [Figure 4.11](#fi

##### _Figure 4.11 Setting TEXT1 mode_

```
MSB 7 6 5 4 3 2 1 0 LSB
-----------------------------------------
R#0 | . | . | . | . | 0 | 0 | 0 | . |
-----------------------------------------
-----------------------------------------
R#1 | . | . | . | 1 | 0 | . | . | . |
-----------------------------------------
```
![Figure 4.11](https://raw.githubusercontent.com/Konamiman/MSX2-Technical-Handbook/master/pics/Figure%204.11.png)

<p>&nbsp;</p>

Expand All @@ -505,74 +496,8 @@ Specify the location of the pattern generator table in R#4. Note that the 6 high

##### _Figure 4.12 Structure of the pattern generator table_

```
MSB 7 6 5 4 3 2 1 0 LSB
-----------------------------------------
R#4 | 0 | 0 | A16| A15| A14| A13| A12| A11| ---+
----------------------------------------- |
|
+--------------------------------------------+
|
| MSB 7 6 5 4 3 2 1 0 LSB
| ----------------------------------------- --+
+---> 0 | | | # | | | | | | |
|----+----+----+----+----+----+----+----| |
1 | | # | | # | | | | | |
|----+----+----+----+----+----+----+----| |
2 | # | | | | # | | | | |
|----+----+----+----+----+----+----+----| |
3 | # | | | | # | | | | | Pattern #0
|----+----+----+----+----+----+----+----| |
4 | # | # | # | # | # | | | | |
|----+----+----+----+----+----+----+----| |
5 | # | | | | # | | | | |
|----+----+----+----+----+----+----+----| | ------
6 | # | | | | # | | | | | | | = 0
|----+----+----+----+----+----+----+----| | ------
7 | | | | | | | | | |
|----+----+----+----+----+----+----+----| --+
8 | # | # | # | # | | | | | |
|----+----+----+----+----+----+----+----| | ------
9 | # | | | | # | | | | | | # | = 1
|----+----+----+----+----+----+----+----| | ------
10 | # | | | | # | | | | |
|----+----+----+----+----+----+----+----| |
11 | # | # | # | # | | | | | |
|----+----+----+----+----+----+----+----| | Pattern #1
12 | # | | | | # | | | | |
|----+----+----+----+----+----+----+----| |
13 | # | | | | # | | | | |
|----+----+----+----+----+----+----+----| |
14 | # | # | # | # | | | | | |
|----+----+----+----+----+----+----+----| |
15 | | | | | | | | | |
----------------------------------------- --+
. .
. .
. .
----------------------------------------- --+
2040 | # | | # | | # | | | | |
|----+----+----+----+----+----+----+----| |
2041 | | # | | # | | # | | | |
|----+----+----+----+----+----+----+----| |
2042 | # | | # | | # | | | | |
|----+----+----+----+----+----+----+----| |
2043 | | # | | # | | # | | | |
|----+----+----+----+----+----+----+----| | Pattern #255
2044 | # | | # | | # | | | | |
|----+----+----+----+----+----+----+----| |
2045 | | # | | # | | # | | | |
|----+----+----+----+----+----+----+----| |
2046 | # | | # | | # | | | | |
|----+----+----+----+----+----+----+----| |
2047 | | # | | # | | # | | | |
----------------------------------------- --+
| |
+---------+
2 low order bits are not displayed
![Figure 4.12](https://raw.githubusercontent.com/Konamiman/MSX2-Technical-Handbook/master/pics/Figure%204.12.png)

Pattern generator table
```

##### Pattern name table

Expand All @@ -583,65 +508,23 @@ Specify the location of the pattern generator table in R#2. Note that the 7 high

##### _Figure 4.13 Structure of TEXT1 pattern name table_

```
MSB 7 6 5 4 3 2 1 0 LSB
-----------------------------------------
R#2 | 0 | A16| A15| A14| A13| A12| A11| A10| ---+
----------------------------------------- |
|
+--------------------------------------------+
|
| | |
| -----------
+---> 0 | (0,0) | 0 1 2 3 39 X
|---------| ---------------------- -------
1 | (1,0) | 0 | 0 | 1 | 2 | 3 | . . . | 39 |
|---------| |----+----+----+----+- -+----|
2 | (2,0) | 1 | 40 | 41 | 42 | 43 | . . . | 79 |
|---------| |----+----+----+----+- -+----|
. | . | | | | | | . . . | |
. . . . .
. . . . .
| | . . .
|---------| | | | | |
39 | (39,0) | ------------ -------
|---------| 22 | 880| 881| | 919|
40 | (0,1) | |----+----+- -+----|
|---------| 23 | 920| 921| | 959|
. | . | ------------ . . . . .-------
. . Y
. .
| | Screen correspondence table
|---------|
959 | (39,23) |
|---------|
| |
Pattern Name Table
```
![Figure 4.13](https://raw.githubusercontent.com/Konamiman/MSX2-Technical-Handbook/master/pics/Figure%204.13.png)

<p>&nbsp;</p>


#### 3.1.3 Specifying screen colour

The screen colour is specified by R#7. The background colour is the palette specified by the 4 low-order bits of R#7; the 4 high-order bits specify the foreground colour (see [Figure 4.14](#figure-414--colour-specification-in-text-1)). A "0" in the font pattern is displayed in the background colour and a "1" is displayed in the foreground colour. Note that in TEXT 1 the border colour of the screen cannot be set and it is the same as the background colour.


##### _Figure 4.14 Colour specification in TEXT 1_

```
MSB 7 6 5 4 3 2 1 0 LSB
-----------------------------------------
R#7 | : : : | : : : |
-----------------------------------------
| | |
+-------------------+-------------------+
Specifies the colour of "1" Specifies the colour of "0" of the pattern
of the pattern (0 to 15) and of the background colour (0 to 15)
```
![Figure 4.14](https://raw.githubusercontent.com/Konamiman/MSX2-Technical-Handbook/master/pics/Figure%204.14.png)

<p>&nbsp;</p>


### 3.2 TEXT 2 Mode

The screen mode TEXT 2 has the following features:
Expand Down
Binary file added pics/Figure 4.11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/Figure 4.12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/Figure 4.13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/Figure 4.14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9044c81

Please sign in to comment.