psx emulator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
344 B

#include "boot.h"
#include "insn.h"
#include "util.h"
#include <stdio.h>
int main()
{
// uint32_t x = 0xffcdefab;
// const insn_t insn = *(insn_t *)&x;
// printf("%u", insn.insn_reg.op);
byte_arr_t *prgm = read_file("boot.rom");
if (prgm == NULL)
{
fatal("couldn't load boot.rom");
}
boot_psx_prgm(prgm);
return 0;
}