blob: 758688571c6254d95088a1e9b57b4e087f28f3d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// license:BSD-3-Clause
// copyright-holders:Juergen Buchmueller
/*****************************************************************************
*
* Xerox AltoII memory refresh task
*
*****************************************************************************/
#include "emu.h"
#include "alto2cpu.h"
//! f1_mrt_block early: block the display word task
void alto2_cpu_device::f1_early_mrt_block()
{
/* clear the wakeup for the memory refresh task */
m_task_wakeup &= ~(1 << m_task);
LOG((this,LOG_MRT,2," BLOCK %s\n", task_name(m_task)));
}
//! called by the CPU when MRT becomes active
void alto2_cpu_device::activate_mrt()
{
m_task_wakeup &= ~(1 << m_task);
if (m_ewfct)
{
// The Ether task wants a wakeup, too
m_task_wakeup |= 1 << task_ether;
}
}
//! memory refresh task slots initialization
void alto2_cpu_device::init_mrt(int task)
{
}
void alto2_cpu_device::exit_mrt()
{
// nothing to do yet
}
void alto2_cpu_device::reset_mrt()
{
// nothing to do yet
}
|