|
|
- #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);
-
- printf("loading boot rom\n");
- byte_arr_t *prgm = read_file("boot.rom");
- if (prgm == NULL)
- {
- fatal("couldn't load boot.rom");
- }
-
- boot_psx_prgm(prgm);
-
- return 0;
- }
|