資料を鵜呑みにしてはいけません (2)
今度はメーカのリファレンスじゃなくて、オンラインで入手可能な「私家版」の資料も見てみましょう(下線引用者)。
まず VGADOC4b。VGA レジスタの説明はアーカイブ中の VGAREGS.TXT。
3CEh index 3 (R/W): Graphics: Data Rotate bit 0-2 Number of positions to rotate data right before it is written to display memory. Only active in Write Mode 0. 3-4 In Write Mode 2 this field controls the relation between the data written from the CPU, the data latched from the previous read and the data written to display memory:
書きこみモード2以外でどうなるのかは書いてないような気がする…。
次は FreeVGA Project(どこにあるのか忘れたので「そういえばちょっと前に西田さんのとこにリンク貼ってあったなあ」と思って読んでみたらだいぶ前だった。よく考えたら "FreeVGA" でぐぐればよかったのだ。それはともかく、つ、繋がらない…とりあえず web archive で…)
VGA 書きこみモードの説明は "VGA Chipset Reference" 内の "Graphics Registers"。
- Logical Operation
This field is used in Write Mode 0 and Write Mode 2 (See the Write Mode field.) ...
書きこみモード3…。