Previous 199869 Revisions Next

r26037 Thursday 7th November, 2013 at 12:46:42 UTC by Dirk Best
Add missing a2mrt.c
[/branches/alto2/src/emu/cpu/alto2]a2mrt.c*

branches/alto2/src/emu/cpu/alto2/a2mrt.c
r0r26037
1/*****************************************************************************
2 *
3 *   Portable Xerox AltoII memory refresh task
4 *
5 *   Copyright: Juergen Buchmueller <pullmoll@t-online.de>
6 *
7 *   Licenses: MAME, GPLv2
8 *
9 *****************************************************************************/
10#include "alto2.h"
11
12//! f1_mrt_block early: block the display word task
13void alto2_cpu_device::f1_mrt_block_0()
14{
15   /* clear the wakeup for the memory refresh task */
16   m_task_wakeup &= ~(1 << m_task);
17   LOG((0,2,"   BLOCK %s\n", task_name[cpu.task]));
18}
19
20//! called by the CPU when MRT becomes active
21void alto2_cpu_device::mrt_activate()
22{
23   /* TODO: what do we do here? */
24   m_task_wakeup &= ~(1 << m_task);
25}
26
27 //! memory refresh task slots initialization
28void alto2_cpu_device::init_mrt(int task)
29{
30   set_f1(task, f1_block,      &alto2_cpu_device::f1_mrt_block_0, 0);
31   /* auto block */
32   m_active_callback[task] = &alto2_cpu_device::mrt_activate;
33}
Property changes on: branches/alto2/src/emu/cpu/alto2/a2mrt.c
Added: svn:eol-style
   + native
Added: svn:mime-type
   + text/plain

Previous 199869 Revisions Next


© 1997-2024 The MAME Team