#include <openxdk.h>
#include <stdio.h>
#include <stdlib.h>

void XBoxStartup()
{
vga_init_mode(MODE_640x480x32);

float last = (float)KeTickCount;
  int fps = 0;
int testcount = 0;

while(1)
{
vga_vsync();
   vga_flip();
vga_clear();
fps = (int)(1.0f/(((float)KeTickCount - last) / 1000.0f));
   last = (float)KeTickCount;

char buffer[1024];
  sprintf(buffer,"%d fps", fps);
vga_print(50, 50, buffer);

sprintf(buffer, "HalloWorld for XBOX!!!!");
vga_print(320, 240, buffer);
}
}