X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fclock.cpp;h=a1f4dad882b8745cb5b298152378706f8e82b13c;hb=917eaa35751bf78a57c8592894fe982883c989cc;hp=ec2ac8a9b86b955425f2053d6b1ffed72b3d84d0;hpb=86bd0f2592c3cd674239532247276bd2d579a857;p=virtualjaguar diff --git a/src/clock.cpp b/src/clock.cpp index ec2ac8a..a1f4dad 100644 --- a/src/clock.cpp +++ b/src/clock.cpp @@ -1,76 +1,294 @@ -#include "include/jaguar.h" - - -////////////////////////////////////////////////////////////////////////////// // -////////////////////////////////////////////////////////////////////////////// +// System time handlers // +// by James L. Hammons // +// STILL TO DO: // -////////////////////////////////////////////////////////////////////////////// -void clock_init(void) +// - Handling for an event that occurs NOW +// + +//#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 { - clock_reset(); + HandleJoystick + + // Execute one frame + + for(int i=0; i