Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
crash.h
Go to the documentation of this file.
1 #ifndef _CRASH_H_
2 #define _CRASH_H_
3 
4 #include <types.h>
5 
6 #define CRASH_SCREEN_INCLUDED 1
7 
8 extern u32 cop0_get_cause(void);
9 extern u32 cop0_get_epc(void);
10 extern u32 cop0_get_badvaddr(void);
11 
12 extern void _n64_assert(const char* pFile, int nLine, const char *pExpression, int nStopProgram);
13 
14 extern u8 __crash_handler_entry[];
15 
16 void generate_exception_preambles(void *entryPoint);
18 u8 ascii_to_idx(char c);
19 void fb_set_address(void *address);
20 void fb_swap(void);
21 void fb_fill(int baseX, int baseY, int width, int height);
22 void fb_draw_char(int x, int y, u8 idx);
23 void fb_draw_char_shaded(int x, int y, u8 idx);
24 int fb_print_str(int x, int y, const char *str);
25 int fb_print_uint(int x, int y, u32 value);
26 void fb_print_int_hex(int x, int y, u32 value, int nbits);
27 void fb_print_gpr_states(int x, int y, const char* regStrs[], u32 *regContext);
28 
29 #endif /* _CRASH_H_ */
void generate_exception_preambles(void *entryPoint)
Definition: crash.inc.c:57
u8 __crash_handler_entry[]
u32 cop0_get_epc(void)
int fb_print_uint(int x, int y, u32 value)
Definition: crash.inc.c:261
int fb_print_str(int x, int y, const char *str)
Definition: crash.inc.c:204
void fb_swap(void)
Definition: crash.inc.c:159
if both size specifiers are they shall have the same value(11) Incompatible array type due to incompatible element type For two array types to be compatible
void fb_print_int_hex(int x, int y, u32 value, int nbits)
Definition: crash.inc.c:241
u32 cop0_get_cause(void)
void fb_draw_char_shaded(int x, int y, u8 idx)
Definition: crash.inc.c:196
void fb_draw_char(int x, int y, u8 idx)
Definition: crash.inc.c:175
u8 ascii_to_idx(char c)
Definition: crash.inc.c:151
void fb_fill(int baseX, int baseY, int width, int height)
Definition: crash.inc.c:165
void fb_print_gpr_states(int x, int y, const char *regStrs[], u32 *regContext)
Definition: crash.inc.c:281
u32 cop0_get_badvaddr(void)
unsigned char u8
Definition: ultratypes.h:12
void fb_set_address(void *address)
Definition: crash.inc.c:155
void show_crash_screen_and_hang(void)
Definition: crash.inc.c:86
unsigned int u32
Definition: ultratypes.h:16
void _n64_assert(const char *pFile, int nLine, const char *pExpression, int nStopProgram)