mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-18 01:30:56 +00:00
Extend enum.
This commit is contained in:
parent
99ced5476f
commit
2ab4b351ca
@ -33,7 +33,20 @@ using namespace TI::TMS;
|
|||||||
// 1368 = 2 * 2 * 2 * 3 * 3 * 19
|
// 1368 = 2 * 2 * 2 * 3 * 3 * 19
|
||||||
//
|
//
|
||||||
// => 2^3 * 3^2 * 5 * 19 = 6840
|
// => 2^3 * 3^2 * 5 * 19 = 6840
|
||||||
// ... which
|
// ... which would imply a multiply by 30 on the input clock if
|
||||||
|
// it were to remain 3.58Mhz.
|
||||||
|
|
||||||
|
// Mega Drive notes, assorted:
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// there are 60 EDCLK at MCLK/5 during a line ... like this:
|
||||||
|
//
|
||||||
|
// 15 @ /5; 2 @ /4; 15 @ /5; 2 @ /4; 15 @ /5; 2 @ /4; 15 @ /5
|
||||||
|
//
|
||||||
|
// ... HSYNC signal is what triggers the changes in EDCLK frequency, with some latency though.
|
||||||
|
//
|
||||||
|
// The total is still 840 EDCLKS (420 pixels) with 780 @MCLK/4 and 60@MCLK/5 (total is 3420 MCLCKS).
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -24,9 +24,12 @@ enum Personality {
|
|||||||
TMS9918A, // includes the 9928 and 9929; set TV standard and output device as desired.
|
TMS9918A, // includes the 9928 and 9929; set TV standard and output device as desired.
|
||||||
V9938,
|
V9938,
|
||||||
V9958,
|
V9958,
|
||||||
|
|
||||||
|
// Sega extensions.
|
||||||
SMSVDP,
|
SMSVDP,
|
||||||
SMS2VDP,
|
SMS2VDP,
|
||||||
GGVDP,
|
GGVDP,
|
||||||
|
MDVDP,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class TVStandard {
|
enum class TVStandard {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user