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

#ifndef PSXC_BOOT_H_
#define PSXC_BOOT_H_
#include "util.h"
typedef struct __attribute__((packed)) {
uint32_t pc;
uint32_t gp;
uint32_t addr_dest;
uint32_t size_file;
uint32_t addr_data;
uint32_t size_data;
uint32_t addr_bss;
uint32_t size_bss;
uint32_t sp;
uint32_t fp;
} psx_header_t;
void boot_psx_prgm(byte_arr_t *prgm);
#endif