User Tools

Site Tools


x68000:video_ram_basics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
x68000:video_ram_basics [2017/08/14 08:14] neko68kx68000:video_ram_basics [2017/08/16 16:17] neko68k
Line 16: Line 16:
  BIT = 〃 bit position  BIT = 〃 bit position
  
----- +**Real screen 512×512 pixels、65536 color display** 
- +| Valid bits  | Full 16 bits             |
- +
-== Real screen 512×512 pixels、65536 color display == +
-| Valid bits  | Full                   |+
 | 1 Row       | 1024 bytes(512 words)  | | 1 Row       | 1024 bytes(512 words)  |
 | Page 0      | $c00000~$c7ffff        | | Page 0      | $c00000~$c7ffff        |
  
-== Real screen 512×512 pixels、256 color display: ==+**Real screen 512×512 pixels、256 color display:**
 |Valid bits|Lower 8 bits| |Valid bits|Lower 8 bits|
 |1 Row|1024 bytes(512 words)| |1 Row|1024 bytes(512 words)|
Line 31: Line 28:
  
  ADR = $c00000+Y×1024+X×2  ADR = $c00000+Y×1024+X×2
- BIT = P×8 ~ P×8+7 of 8 bits+ BIT = P×8 ~ P×8+7 for 8 bits
  
-== Real screen 512×512 pixels、16 colors ==+**Real screen 512×512 pixels、16 colors**
 |Valid bits|Lower 4 bits| |Valid bits|Lower 4 bits|
 |1 Row|1024 bytes(512 words)| |1 Row|1024 bytes(512 words)|
Line 42: Line 39:
  
  ADR = $c00000+Y×1024+X×2  ADR = $c00000+Y×1024+X×2
- BIT = P×4 ~ P×4+3 of 4 bits+ BIT = P×4 ~ P×4+3 for 4 bits
  
-== Real screen 1024×1024 pixels、16 colors: ==+**Real screen 1024×1024 pixels、16 colors:**
 |Valid bits|Lower 4 bits| |Valid bits|Lower 4 bits|
 |1 Row|2048 bytes(1024 words)| |1 Row|2048 bytes(1024 words)|
Line 51: Line 48:
  ADR = $c00000+(Y&511)×1024+(X&511)×2  ADR = $c00000+(Y&511)×1024+(X&511)×2
  BIT = (Y≧512)×8+(X≧512)×4 ~  BIT = (Y≧512)×8+(X≧512)×4 ~
-       (Y≧512)×8+(X≧512)×4+3 of 4 bits    +       (Y≧512)×8+(X≧512)×4+3 for 4 bits   
- +
- +
----- +
  
 ===== Text VRAM ===== ===== Text VRAM =====
x68000/video_ram_basics.txt · Last modified: 2019/08/27 20:45 by 127.0.0.1