//#include <windows.h>1//#include <stdio.h>2//3//#include "psx.h"4//#include "loader.h"5//6//PSX psx;7//8//void main(int argc, char **argv)9//{10// //const char* target = argv[1];11// const char* target = "C:\\psxsdk\\projects\\helloworld\\main-sdk.exe";12//13// //can we load it as a PSX EXE? thats the only format we understand so far14// if(!Load_EXE_Check(target)) return;15//16// //initialize the psx17// psx.poweron(PSX::eConsoleType_DTL);18// Load_BIOS(psx, "SCPH5500.bin"); //JP bios (apparently thats what region our test programs are, or what mednafen ends up using)19// //Load_BIOS(psx, "scph5501.bin");20// //Load_BIOS(psx, "DTLH1100.bin");21// Load_EXE(psx, target);22// psx.reset();23//24// static const int work = 33*1024*1024*10;25// DWORD a = timeGetTime();26// for(;;)27// {28// psx.cpu_exec_cycle();29// if(psx.counter == work) break;30// }31// DWORD b = timeGetTime();32// printf("%d ms\n",b-a);33//}3435