/// <summary> /// Create default renderer params (PROFI 3.2) /// </summary> public static ProfiRendererParams CreateParams() { // PROFI 3.2 // Total Size: 768 x 312 // Visible Size: 640 x 240 (64+512+64 x 0+240+0) // SYNCGEN: SAMX6 (original) var timing = new ProfiRendererParams(); timing.c_frameTactCount = 69888; // 59904 for profi mode (312x192) timing.c_ulaIntBegin = 16 + 3; timing.c_ulaIntLength = 32 + 7; // TODO: needs approve // profi mode timings... timing.c_ulaLineTime = 192; // tacts per line timing.c_ulaFirstPaperLine = 72; // 192 // tact for left top pixel timing.c_ulaFirstPaperTact = 8 + 16; // tact for left pixel in line timing.c_ulaBorderTop = 8; timing.c_ulaBorderBottom = 8; timing.c_ulaBorderLeftT = 16; // real 3.xx=6 timing.c_ulaBorderRightT = 16; // real 3.xx=10 timing.c_ulaProfiColor = false; timing.c_ulaWidth = (timing.c_ulaBorderLeftT + 128 + timing.c_ulaBorderRightT) * 4; timing.c_ulaHeight = timing.c_ulaBorderTop + 240 + timing.c_ulaBorderBottom; return(timing); }
public static void ValidateParams(ProfiRendererParams value) { //throw new NotImplementedException(); }
/// <summary> /// Create default renderer params (PROFI 3.2) /// </summary> public static ProfiRendererParams CreateParams() { // PROFI 3.2 // Total Size: 768 x 312 // Visible Size: 640 x 240 (64+512+64 x 0+240+0) // SYNCGEN: SAMX6 (original) var timing = new ProfiRendererParams(); timing.c_frameTactCount = 69888; // 59904 for profi mode (312x192) timing.c_ulaIntBegin = 0; timing.c_ulaIntLength = 32 + 7; // TODO: needs approve // profi mode timings... timing.c_ulaLineTime = 192; // tacts per line timing.c_ulaFirstPaperLine = 72 * 192; // tact for left top pixel timing.c_ulaFirstPaperTact = 8; // tact for left pixel in line timing.c_ulaBorderLeftT = 16; // real 3.xx=6 timing.c_ulaBorderRightT = 16; // real 3.xx=10 timing.c_ulaProfiColor = false; timing.c_ulaWidth = (timing.c_ulaBorderLeftT + 128 + timing.c_ulaBorderRightT) * 4; timing.c_ulaHeight = 240; return timing; }