Ashura
From Sonic Retro
![]() |
It has been suggested that this page or section be merged with Sonic the Hedgehog 2 (16-bit)/Bugs. Please see the relevant discussion on the talk page. |
Ashura is the fan-atoned name of the glitched-palette phenomena found in Sonic the Hedgehog 2's Emerald Hill Zone.
Getting Ashura
In order to reproduce the Ashura glitch, the zone select and debug codes must be active. Upon activation, proceed to one of the two Acts of Emerald Hill Zone, as it does not occur in any other level. When the Zone begins, press . Sonic will be a Ring, signifying that debug mode is active. Press
four times; Sonic should be an invisible object. Then, press
repeatedly to create a number of waterfall objects. Press
to change back into Sonic, who, if the glitch has been activated correctly, will emerge from behind the waterfalls with a green and black palette.
Explanation
The reason for the Ashura palette glitch is a result of several sprites being loaded into the Sprite Attribute Table at a given point in time. Since RAM on the Mega Drive is in limited quantity, only so many sprites can be loaded into the attribute table before it reaches its allotted limit. When a mass of waterfall objects are placed using debug mode, this overloads the SAT to a point that exceeds the SAT's reserved RAM area; since the palette cache used by the game to update CRAM is located after the SAT in system memory, SAT data becomes parsed as color data in the reserved palette cache area and is loaded into CRAM accordingly. Because of this, the green color is purely a coincidence--it is not intentional. While there is a bounds check in the code to prevent data being added to the SAT when it is full, it does not prevent data being written past the end of the SAT when there is more data to be written than there is space left in the buffer. This defect does not exist in Sonic 1 or Sonic 3.
Similar palette errors can occur upon porting the Sonic 1 sound driver to Sonic 2; if Sonic loses rings whilst underwater, it will overload the SAT and spill into the palette cache, corrupting the underwater character palette line.
Origin
Kushami, a member of the Sonic Retro forums and a veteran of the online Sonic scene, posted the following first person explanation of the origins of the Ashura glitch:
“ | This is the sordid, unimpressive tale of Ashura:
|
„ |
— Kushami, Sonic Retro Forums[1] |
Legacy
Ashura later went on to inspire Ian Flynn to include new characters in the Sonic the Hedgehog (IDW comics) based on color palette glitches. The character Ashura directly inspired is Surge the Tenrec, Sonic's imposter. Evan Stanley and Mauro Fonseca did the character design for Surge and made sure she could stand on her own as a character.[2]
External links
References
- ↑ [Sonic Retro forum post by Kushami Sonic Retro forum post by Kushami]
- ↑ @IanFlynnBKC on Twitter (Wayback Machine: 2022-03-04 02:43)