pub struct Sequencer {Show 21 fields
pub vblank_dots: Option<i64>,
pub vertical_at_line_start: bool,
pub vphase: VPhase,
pub vphase_counter: i64,
pub rcr_count: i64,
pub scanline_from_vsync: i64,
pub need_rcr_inc: bool,
pub need_vb_irq_test: bool,
pub burst_mode: bool,
pub display_line: bool,
pub cr_cache: u16,
pub vds: i64,
pub vsw: i64,
pub vdw: i64,
pub vcr: i64,
pub divider: i64,
pub origin: i64,
pub hds_start: i64,
pub active_start: i64,
pub final_at: i64,
pub active_end: i64,
/* private fields */
}Expand description
State and events only; the chip owns the registers.
Fields§
§vblank_dots: Option<i64>The vblank flag test happens this many dots after the sync ends (negative: before it ends).
Default -8 (U19, provisional, tier 1): the position that fits Covell’s hardware photographs best, anchored on the test’s own text (docs/m1-record.md): 0, MAME’s, leaves the splits 7-13 dots right of the hardware’s; -8 leaves -0.6 to +6.6. None is Mednafen’s, the start of the display width (32 dots on for HDS = 2), which Covell calls too late.
vertical_at_line_start: boolExperiment (MAME’s huc6270.cpp): the vertical phase counters step as each line
starts, and the vblank flag is raised as the display period ends; Mednafen’s (the
default) step 4 dots before the end of each line’s display width, almost a line later.
vphase: VPhase[emu: Mednafen Reset] power-up phase VDS with one line left; arbitrary but fixed (U1).
vphase_counter: i64§rcr_count: i64§scanline_from_vsync: i64§need_rcr_inc: bool§need_vb_irq_test: bool§burst_mode: bool§display_line: boolthis line is in the display period and not burst
cr_cache: u16CR as the line’s display start latched it
vds: i64§vsw: i64§vdw: i64§vcr: i64§divider: i64§origin: i64§hds_start: i64§active_start: i64§final_at: i64§active_end: i64