static void counters_from_ram() { Chip.control = counter_from_ram( Chip.data, Chip.offset_control ); Chip.seconds = counter_from_ram( Chip.data, Chip.offset_seconds ); Chip.minutes = counter_from_ram( Chip.data, Chip.offset_minutes ); Chip.hours = counter_from_ram( Chip.data, Chip.offset_hours ); Chip.day = counter_from_ram( Chip.data, Chip.offset_day ); Chip.date = counter_from_ram( Chip.data, Chip.offset_date ); Chip.month = counter_from_ram( Chip.data, Chip.offset_month ); Chip.year = counter_from_ram( Chip.data, Chip.offset_year ); Chip.century = counter_from_ram( Chip.data, Chip.offset_century ); }
static void counters_from_ram( timekeeper_state *c ) { c->control = counter_from_ram( c->data, c->offset_control ); c->seconds = counter_from_ram( c->data, c->offset_seconds ); c->minutes = counter_from_ram( c->data, c->offset_minutes ); c->hours = counter_from_ram( c->data, c->offset_hours ); c->day = counter_from_ram( c->data, c->offset_day ); c->date = counter_from_ram( c->data, c->offset_date ); c->month = counter_from_ram( c->data, c->offset_month ); c->year = counter_from_ram( c->data, c->offset_year ); c->century = counter_from_ram( c->data, c->offset_century ); }
void timekeeper_device::counters_from_ram() { m_control = counter_from_ram( m_data, m_offset_control ); m_seconds = counter_from_ram( m_data, m_offset_seconds ); m_minutes = counter_from_ram( m_data, m_offset_minutes ); m_hours = counter_from_ram( m_data, m_offset_hours ); m_day = counter_from_ram( m_data, m_offset_day ); m_date = counter_from_ram( m_data, m_offset_date ); m_month = counter_from_ram( m_data, m_offset_month ); m_year = counter_from_ram( m_data, m_offset_year ); m_century = counter_from_ram( m_data, m_offset_century ); }
static void counters_from_ram( int chip ) { struct timekeeper_chip *c = &timekeeper[ chip ]; c->control = counter_from_ram( c->data, c->offset_control ); c->seconds = counter_from_ram( c->data, c->offset_seconds ); c->minutes = counter_from_ram( c->data, c->offset_minutes ); c->hours = counter_from_ram( c->data, c->offset_hours ); c->day = counter_from_ram( c->data, c->offset_day ); c->date = counter_from_ram( c->data, c->offset_date ); c->month = counter_from_ram( c->data, c->offset_month ); c->year = counter_from_ram( c->data, c->offset_year ); c->century = counter_from_ram( c->data, c->offset_century ); }