Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Macros | Functions | Variables
crash.h File Reference
#include <types.h>

Go to the source code of this file.

Macros

#define CRASH_SCREEN_INCLUDED   1
 

Functions

u32 cop0_get_cause (void)
 
u32 cop0_get_epc (void)
 
u32 cop0_get_badvaddr (void)
 
void _n64_assert (const char *pFile, int nLine, const char *pExpression, int nStopProgram)
 
void generate_exception_preambles (void *entryPoint)
 
void show_crash_screen_and_hang (void)
 
u8 ascii_to_idx (char c)
 
void fb_set_address (void *address)
 
void fb_swap (void)
 
void fb_fill (int baseX, int baseY, int width, int height)
 
void fb_draw_char (int x, int y, u8 idx)
 
void fb_draw_char_shaded (int x, int y, u8 idx)
 
int fb_print_str (int x, int y, const char *str)
 
int fb_print_uint (int x, int y, u32 value)
 
void fb_print_int_hex (int x, int y, u32 value, int nbits)
 
void fb_print_gpr_states (int x, int y, const char *regStrs[], u32 *regContext)
 

Variables

u8 __crash_handler_entry []
 

Macro Definition Documentation

◆ CRASH_SCREEN_INCLUDED

#define CRASH_SCREEN_INCLUDED   1

Function Documentation

◆ _n64_assert()

void _n64_assert ( const char pFile,
int  nLine,
const char pExpression,
int  nStopProgram 
)

◆ ascii_to_idx()

u8 ascii_to_idx ( char  c)

◆ cop0_get_badvaddr()

u32 cop0_get_badvaddr ( void  )

◆ cop0_get_cause()

u32 cop0_get_cause ( void  )

◆ cop0_get_epc()

u32 cop0_get_epc ( void  )

◆ fb_draw_char()

void fb_draw_char ( int  x,
int  y,
u8  idx 
)

◆ fb_draw_char_shaded()

void fb_draw_char_shaded ( int  x,
int  y,
u8  idx 
)

◆ fb_fill()

void fb_fill ( int  baseX,
int  baseY,
int  width,
int  height 
)

◆ fb_print_gpr_states()

void fb_print_gpr_states ( int  x,
int  y,
const char regStrs[],
u32 regContext 
)

◆ fb_print_int_hex()

void fb_print_int_hex ( int  x,
int  y,
u32  value,
int  nbits 
)

◆ fb_print_str()

int fb_print_str ( int  x,
int  y,
const char str 
)

◆ fb_print_uint()

int fb_print_uint ( int  x,
int  y,
u32  value 
)

◆ fb_set_address()

void fb_set_address ( void address)

◆ fb_swap()

void fb_swap ( void  )

◆ generate_exception_preambles()

void generate_exception_preambles ( void entryPoint)

◆ show_crash_screen_and_hang()

void show_crash_screen_and_hang ( void  )

Variable Documentation

◆ __crash_handler_entry

u8 __crash_handler_entry[]