User Tools

Site Tools


x68000:crtc_registers

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:crtc_registers [2017/08/14 09:14] neko68kx68000:crtc_registers [2019/01/20 04:17] – some clarification for GVRAM sizes re: display masks. neko68k
Line 52: Line 52:
    └───────────────┴───────────────┘    └───────────────┴───────────────┘
        HSYNC period × horiz width        HSYNC period × horiz width
- R00 = ───────────────── -1 + R00 = ────────────────────────── -1 
-       Display period × 8+           Display period × 8
  ※LSB must be 1  ※LSB must be 1
  
Line 62: Line 62:
    └───────────────┴───────────────┘    └───────────────┴───────────────┘
  HSYNC pulse width × horiz width  HSYNC pulse width × horiz width
- R01 = ─────────────────── -1 + R01 = ───────────────────────────────── -1 
- Display period × 8+      Display period × 8
  
 CRTC R02($e80004): CRTC R02($e80004):
Line 71: Line 71:
    └───────────────┴───────────────┘    └───────────────┴───────────────┘
        (HSYNC pulse width + horiz back porch) × horiz width        (HSYNC pulse width + horiz back porch) × horiz width
- R02 = ───────────────────────────── -5 + R02 = ───────────────────────────────────────────────────── -5 
-        Display period × 8+                      Display period × 8
  
 CRTC R03($e80006): CRTC R03($e80006):
Line 80: Line 80:
    └───────────────┴───────────────┘    └───────────────┴───────────────┘
        (HSYNC pulse width - horiz front porch) × horiz width        (HSYNC pulse width - horiz front porch) × horiz width
- R03 = ────────────────────────────── -5 + R03 = ────────────────────────────────────────────────────── -5 
-              Display period × 8+                            Display period × 8
  
 CRTC R04($e80008): CRTC R04($e80008):
Line 89: Line 89:
    └───────────────┴───────────────┘    └───────────────┴───────────────┘
        VSYNC period        VSYNC period
- R04 = ──────── -1+ R04 = ──────────── -1
        HSYNC period        HSYNC period
  
Line 98: Line 98:
    └───────────────┴───────────────┘    └───────────────┴───────────────┘
        VSYNC pulse width        VSYNC pulse width
- R05 = ────────── -1 + R05 = ───────────────── -1 
-       HSYNC period+          HSYNC period
  
 CRTC R06($e8000c): CRTC R06($e8000c):
Line 107: Line 107:
    └───────────┴───────────────────┘    └───────────┴───────────────────┘
        VSYNC pulse width + Vertical back porch        VSYNC pulse width + Vertical back porch
- R06 = ─────────────────── -1 + R06 = ──────────────────────────────────────── -1 
-       HSYNC period+                    HSYNC period
  
 CRTC R07($e8000e): CRTC R07($e8000e):
Line 116: Line 116:
    └───────────┴───────────────────┘    └───────────┴───────────────────┘
        VSYNC pulse width - vertical front porch        VSYNC pulse width - vertical front porch
- R07 = ────────────────── -1 + R07 = ───────────────────────────────────────── -1 
-       HSYNC period+                    HSYNC period
  
 CRTC R08($e80010): CRTC R08($e80010):
Line 131: Line 131:
    └───────────┴───────────────────┘    └───────────┴───────────────────┘
  VSYNC pulse width + vertical back porch  VSYNC pulse width + vertical back porch
- R09 = ─────────────────── + raster number + R09 = ────────────────────────────────────────── + raster number 
- HSYNC period+              HSYNC period
      = R06 +1 + raster number      = R06 +1 + raster number
  
Line 160: Line 160:
    └───────────┴───────────────────┘    └───────────┴───────────────────┘
  ※In 512x512 mode bits 0~8 are effective.  ※In 512x512 mode bits 0~8 are effective.
 +
 CRTC R14($e8001c): CRTC R14($e8001c):
  bit 15     10     8          0  bit 15     10     8          0
Line 218: Line 219:
  %0  : Display  %0  : Display
  %1  : Buffer(bit 10~8 are invalid)  %1  : Buffer(bit 10~8 are invalid)
-       (G-VRAM has the same structure at 65535 color mode) +       (G-VRAM in buffer mode has the same structure as 65535 color mode) 
- bit 10 SIZE Real screen size+ bit 10 SIZE GVRAM size
  %0  :  512× 512 pixel  %0  :  512× 512 pixel
  %1  : 1024×1024 pixel  %1  : 1024×1024 pixel
- bit 9~8 COL Color mode+ bit 9~8 COL GVRAM Color mode
  %00 : 16 colors  %00 : 16 colors
  %01 : 256 colors  %01 : 256 colors
x68000/crtc_registers.txt · Last modified: 2019/08/27 20:45 by 127.0.0.1