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