#ifndef BOOT_H__ #define BOOT_H__ #include #include typedef enum { BOOT_DEVICE_TYPE_ROM = 0, BOOT_DEVICE_TYPE_DD = 1, } boot_device_type_t; typedef enum { BOOT_RESET_TYPE_COLD = 0, BOOT_RESET_TYPE_NMI = 1, } boot_reset_type_t; typedef enum { BOOT_TV_TYPE_PAL = 0, BOOT_TV_TYPE_NTSC = 1, BOOT_TV_TYPE_MPAL = 2, } boot_tv_type_t; typedef struct { boot_device_type_t device_type; boot_reset_type_t reset_type; boot_tv_type_t tv_type; uint8_t cic_seed; } boot_info_t; void boot (boot_info_t *info, bool detect_tv_type, bool detect_cic_seed); #endif