Difference between revisions of "LE-CODE/Exception Handler"

From Custom Mario Kart
Jump to navigation Jump to search
(SRR0 contains crash address, not 'Context'. (page 23 https://www.cebix.net/downloads/bebox/PRG.pdf) This entire page is just straight up bullshit blazing)
Line 4: Line 4:
  
 
== Overview ==
 
== Overview ==
The '''Exception Handler''' is a crash handler that displays data which contains information about why the game may have crashed. It is useful for developers.
+
The '''Exception Handler''' is a crash handler that displays data which contains PowerPC processor information about why the game may have crashed.
  
 
== General Structure ==
 
== General Structure ==
[[File:LE-CODE Exception Handler Screen.png|600px|thumb|none|A missing/invalid file crash]]
+
[[File:LE-CODE Exception Handler correct one.png|600px|thumb|none|A missing/invalid file crash]]
  
 
* The white box contains the LE-CODE build number together with the game's region ([[NTSC-U]], [[NTSC-J]], [[NTSC-K]], or [[PAL]]).
 
* The white box contains the LE-CODE build number together with the game's region ([[NTSC-U]], [[NTSC-J]], [[NTSC-K]], or [[PAL]]).
 
* The yellow box contains the type of exception (DSI, ISI, Alignment or Protection).
 
* The yellow box contains the type of exception (DSI, ISI, Alignment or Protection).
 
* The green box contains the memory address of the crash.
 
* The green box contains the memory address of the crash.
* The brown boxes contain information about when the exception occurred.
+
* The brown box contains information about state of processor registers
 +
* The blue box contains stack trace, a list of the method calls that the application was in the middle of when an exception was thrown.
  
 +
<!--
 
== Common Crashes ==
 
== Common Crashes ==
 
{| class="textbox grid sortable alt"
 
{| class="textbox grid sortable alt"
Line 22: Line 24:
 
! PAL || NTSC-U || NTSC-J || NTSC-K
 
! PAL || NTSC-U || NTSC-J || NTSC-K
 
|-
 
|-
| 80347498 || 80343118 || 80346E18 || 80335498
 
| Missing/Invalid file or subfile. This happens when a file is corrupted or cannot be found.
 
|-
 
| 809C04B8 || 809BBCF8 || 809BF518 || {{Unknown|?}}
 
| Video file error. This is usually caused by a missing file in [[Filesystem/thp/course|/thp/course/]].
 
|-
 
| 809C04B8 || 809BBCF8 || 809BF518 || {{Unknown|?}}
 
| Possibly a graphics related issue. Seems to only appear on Dolphin with XFB-Copy filter disabled and pausing the game in the Single Player Menu.
 
|-
 
| 90136EE0 || 90136EE0 || 90136EE0 || {{Unknown|?}}
 
| Possibly a RAM-related issue or corrupted/too large [[SZS]] file.
 
|-
 
| 90244F60 || 9034E660 || 9024C360 || {{Unknown|?}}
 
| Possibly a RAM-related issue. It does not occur on [[Dolphin]].
 
 
|}
 
|}
 
+
-->
 
[[Category:LE-CODE]]
 
[[Category:LE-CODE]]

Revision as of 17:27, 14 August 2023

Overview

The Exception Handler is a crash handler that displays data which contains PowerPC processor information about why the game may have crashed.

General Structure

  • The white box contains the LE-CODE build number together with the game's region (NTSC-U, NTSC-J, NTSC-K, or PAL).
  • The yellow box contains the type of exception (DSI, ISI, Alignment or Protection).
  • The green box contains the memory address of the crash.
  • The brown box contains information about state of processor registers
  • The blue box contains stack trace, a list of the method calls that the application was in the middle of when an exception was thrown.