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.

21 lines
376 B

  1. #ifndef PSXC_BOOT_H_
  2. #define PSXC_BOOT_H_
  3. #include "util.h"
  4. typedef struct __attribute__((packed)) {
  5. uint32_t pc;
  6. uint32_t gp;
  7. uint32_t addr_dest;
  8. uint32_t size_file;
  9. uint32_t addr_data;
  10. uint32_t size_data;
  11. uint32_t addr_bss;
  12. uint32_t size_bss;
  13. uint32_t sp;
  14. uint32_t fp;
  15. } psx_header_t;
  16. void boot_psx_prgm(byte_arr_t *prgm);
  17. #endif