#include "vga.h"
#include "vram.h"
#include "sprite.h"
+#include "clock.h"
static struct rgb15 *disp_data;
void *vga_shm_get(void);
void d2_set(int on_off) {}
void d3_set(int on_off) {}
void clean_clock(void){}
+int register_clock_hander(clock_func_t *handler, int devide) {return 0;}
/*
* ppu test function
#define VGA_SHM "vgadisp"
#define VGA_SHM_PRJ_ID 'm'
-#define VGA_SHM_SIZE VGA_WIDTH * VGA_HEIGHT * sizeof (struct rgb15)
+#define VGA_SHM_SIZE (VGA_WIDTH * VGA_HEIGHT * sizeof (struct rgb15))
#define VGA_REFRESH_RATE 60