From 59e2775932d3f660514145f416770ea72f1c5a3d Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Fri, 4 Feb 2005 06:21:09 +0000 Subject: [PATCH] New timer based system code --- src/clock.cpp | 255 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 253 insertions(+), 2 deletions(-) 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