dreamcast/holly/video_output.hpp
Zack Buhman db323c85c5 dve: initial description of DVE bits
This also implements primitive cable-detection and video output.
2024-03-08 18:27:12 +08:00

28 lines
565 B
C++

#pragma once
#include <cstdint>
namespace video_output {
struct mode {
const uint32_t fb_r_ctrl;
const uint32_t spg_load;
const uint32_t spg_hblank;
const uint32_t spg_vblank;
const uint32_t spg_width;
const uint32_t spg_control;
const uint32_t vo_startx;
const uint32_t vo_starty;
const uint32_t vo_control;
const uint32_t spg_hblank_int;
const uint32_t spg_vblank_int;
};
extern const struct mode vga;
extern const struct mode ntsc_ni;
extern const struct mode ntsc_i;
extern const struct mode pal_ni;
extern const struct mode pal_i;
}