From: Shamus Hammons Date: Fri, 4 Feb 2005 06:21:09 +0000 (+0000) Subject: New timer based system code X-Git-Tag: 2.0.0~114 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59e2775932d3f660514145f416770ea72f1c5a3d;hp=58cf39e9f551a49e5e08771cf633b6a0d0ac8147;p=virtualjaguar New timer based system code --- diff --git a/src/clock.cpp b/src/clock.cpp index af6f543..a1f4dad 100644 --- a/src/clock.cpp +++ b/src/clock.cpp @@ -1,13 +1,178 @@ // -// System time handler +// System time handlers // // by James L. Hammons // +// STILL TO DO: +// +// - Handling for an event that occurs NOW +// -#include "jaguar.h" +//#include +//#include "SDL.h" +//#include "SDL_opengl.h" +//#include "jaguar.h" +//#include "m68k.h" +//#include "gpu.h" +//#include "dsp.h" +//#include "settings.h" +//#include "video.h" +#include "log.h" #include "clock.h" +#define EVENT_LIST_SIZE 512 + +/* +// Current execution path: + +do +{ + HandleJoystick + + // Execute one frame + + for(int i=0; i