Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modespec.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ _ModeSpec ModeSpec[] = {
.Name = "Robot 72",
.ShortName = "R72",
.SyncTime = 9e-3,
.PorchTime = 3e-3,
.SeptrTime = 4.7e-3,
.PixelTime = 0.2875e-3,
.PorchTime = 3.0e-3,
.SeptrTime = 4.5e-3 + 1.5e-3,
.PixelTime = 0.215625e-3,
.LineTime = 300e-3,
.ImgWidth = 320,
.NumLines = 240,
Expand Down
8 changes: 8 additions & 0 deletions video.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ gboolean GetVideo(guchar Mode, double Rate, int Skip, gboolean Redraw) {
// Starting times of video channels on every line, counted from beginning of line
switch (Mode) {

case R72:
ChanLen[0] = ModeSpec[Mode].PixelTime * ModeSpec[Mode].ImgWidth * 2;
ChanLen[1] = ChanLen[2] = ModeSpec[Mode].PixelTime * ModeSpec[Mode].ImgWidth;
ChanStart[0] = ModeSpec[Mode].SyncTime + ModeSpec[Mode].PorchTime;
ChanStart[1] = ChanStart[0] + ChanLen[0] + ModeSpec[Mode].SeptrTime;
ChanStart[2] = ChanStart[1] + ChanLen[1] + ModeSpec[Mode].SeptrTime;
break;

case R36:
case R24:
ChanLen[0] = ModeSpec[Mode].PixelTime * ModeSpec[Mode].ImgWidth * 2;
Expand Down