/// <summary> /// Create default renderer params (ATM1 v4.50) /// </summary> public static AtmTxtRendererParams CreateParams() { // ATM1 v4.50 // Total Size: 640 x 200 (TXT: 80 x 25) var timing = new AtmTxtRendererParams(); timing.c_frameTactCount = 69888; timing.c_ulaLineTime = 224; timing.c_ulaFirstPaperLine = 56; timing.c_ulaFirstPaperTact = 32; timing.c_ulaBorderTop = 28; timing.c_ulaBorderBottom = 28; timing.c_ulaBorderLeftT = 0; timing.c_ulaBorderRightT = 0; timing.c_ulaIntLength = 32; timing.c_ulaWidth = (timing.c_ulaBorderLeftT + 160 + timing.c_ulaBorderRightT) * 4; timing.c_ulaHeight = timing.c_ulaBorderTop + 200 + timing.c_ulaBorderBottom; return(timing); }
public static void ValidateParams(AtmTxtRendererParams timing) { //... }
/// <summary> /// Create default renderer params (ATM1 v4.50) /// </summary> public static AtmTxtRendererParams CreateParams() { // ATM1 v4.50 // Total Size: 640 x 200 (TXT: 80 x 25) var timing = new AtmTxtRendererParams(); timing.c_frameTactCount = 69888; timing.c_ulaLineTime = 224; timing.c_ulaFirstPaperLine = 56; timing.c_ulaFirstPaperTact = 32; timing.c_ulaBorderTop = 0; timing.c_ulaBorderBottom = 0; timing.c_ulaBorderLeftT = 0; timing.c_ulaBorderRightT = 0; timing.c_ulaIntBegin = 0; timing.c_ulaIntLength = 32; timing.c_ulaWidth = (timing.c_ulaBorderLeftT + 160 + timing.c_ulaBorderRightT) * 4; timing.c_ulaHeight = timing.c_ulaBorderTop + 200 + timing.c_ulaBorderBottom; return timing; }