예제 #1
0
        fixedfreq_device(machine_config mconfig, device_type type, string tag, device_t owner, uint32_t clock)
            : base(mconfig, type, tag, owner, clock)
        {
            m_divideo = new device_video_interface(mconfig, this, false);  //device_video_interface(mconfig, *this, false),

            m_enable          = new required_ioport(this, "ENABLE");
            m_vector          = new required_ioport(this, "VECTOR");
            m_scanline_height = 1.0f;
            m_monitor         = new fixedfreq_monitor_desc();
            m_state           = new fixedfreq_monitor_state(m_monitor, this);
        }
예제 #2
0
 public fixedfreq_monitor_state(fixedfreq_monitor_desc desc, fixedfreq_monitor_intf intf)
 {
     m_desc               = desc;
     m_intf               = intf;
     m_last_sync_val      = 0;
     m_col                = 0;
     m_last_x             = 0;
     m_last_y             = 0;
     m_last_sync_time     = (fixedfreq_monitor_state_time_type)0;
     m_line_time          = (fixedfreq_monitor_state_time_type)0;
     m_last_hsync_time    = (fixedfreq_monitor_state_time_type)0;
     m_last_vsync_time    = (fixedfreq_monitor_state_time_type)0;
     m_last_line_duration = (fixedfreq_monitor_state_time_type)0;
     m_last_field_time    = (fixedfreq_monitor_state_time_type)0;
     m_vsync_filter       = 0;
     m_sig_vsync          = 0;
     m_sig_composite      = 0;
     m_sig_field          = 0;
 }