--- BasiliskII/src/AmigaOS/timer_amiga.cpp 2002/01/15 14:58:34 1.7 +++ BasiliskII/src/AmigaOS/timer_amiga.cpp 2008/01/01 09:40:31 1.10 @@ -1,7 +1,7 @@ /* * timer_amiga.cpp - Time Manager emulation, AmigaOS specific stuff * - * Basilisk II (C) 1997-2002 Christian Bauer + * Basilisk II (C) 1997-2008 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,8 +20,11 @@ #include #include +#define __USE_SYSBASE #include #include +#include +#include #include "sysdeps.h" #include "timer.h" @@ -133,3 +136,22 @@ int32 timer_host2mac_time(tm_time_t host return -t; // Time in negative microseconds } } + + +/* + * Suspend emulator thread, virtual CPU in idle mode + */ + +void idle_wait(void) +{ + // XXX if you implement this make sure to call idle_resume() from TriggerInterrupt() +} + + +/* + * Resume execution of emulator thread, events just arrived + */ + +void idle_resume(void) +{ +}