1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Implements the proper row counter values for > 192 row modes.

This commit is contained in:
Thomas Harte
2018-10-19 22:37:56 -04:00
parent 3b164e5ffe
commit 0822c96ce0
4 changed files with 32 additions and 22 deletions
@@ -27,6 +27,13 @@ enum Personality {
GGVDP,
};
enum class TVStandard {
/*! i.e. 50Hz output at around 312.5 lines/field */
PAL,
/*! i.e. 60Hz output at around 262.5 lines/field */
NTSC
};
#define is_sega_vdp(x) x >= SMSVDP
class Base {
@@ -69,6 +76,7 @@ class Base {
Personality personality_;
std::unique_ptr<Outputs::CRT::CRT> crt_;
TVStandard tv_standard_ = TVStandard::NTSC;
// Holds the contents of this VDP's connected DRAM.
std::vector<uint8_t> ram_;