added some stuff for clk2x, now fix vsync and add the ram