Actions

SCHG

Difference between revisions of "Equivalent Subroutines"

From Sonic Retro

Line 201: Line 201:
 
|-
 
|-
 
|DelayProgram
 
|DelayProgram
|?
+
|31D8
 
|sub_3384
 
|sub_3384
 
|?
 
|?

Revision as of 01:14, 27 March 2008

Please add more subroutines if you know them.

S1 S2B S2* S2K S3 S3&K
Demo_Time E56 sub_7E6 ? ? ?
Demo_TimeEnd E70 locret_800 ? ? ?
JoypadInit 12FC 10EC ? 1342 10AE
ReadJoypads 132C 111C ? 1372 10DE
Joypad_Read 133A sub_112A ? ? ?
VDPSetupGame 1368 sub_1158 ? 13AE 111A
VDP_Loop 137C loc_116C ? ? ?
VDP_ClrCRAM 13B0 loc_11A0 ? ? ?
VDPSetupArray 13F2 word_11E2 ? ? ?
ClearScreen 142A, and 1458 1248, and 1276 ? 14D4, and 1502 1240, and 126E
PlaySong 14C0 sub_135E ? ? ?
PlaySound 14C6 sub_1370 ? ? ?
PauseGame 14DC sub_1388 ? ? ?
NemDec 15FC NemDec_14DE ? ? ?
LoadPLC 173C sub_161E ? ? ?
LoadPLC2 176E sub_1650 ? ? ?
ClearPLC 179A sub_167C ? ? ?
ClearPLC_Loop 17A0 loc_1682 ? ? ?
RunPLC_RAM 17A8 sub_168A ? ? ?
RunPLC_ROM 18A8 sub_178A ? ? ?
Pal_FadeTo 2596 sub_23C6 ? ? ?
Pal_ToBlack 25AE loc_23DE ? ? ?
Pal_FadeFrom 263A sub_246A ? ? ?
Pal_FadeOut 265A sub_248A ? ? ?
PalLoad1 28E2 2712 ? ? ?
PalLoad2 28FE 272E ? ? ?
PalLoad3_Water ? 2746 ? ? ?
PalLoad4_Water ? 2764 ? ? ?
DelayProgram 31D8 sub_3384 ? ? ?
RandomNumber 31E4 sub_3390 302EEA ? ?
CalcSine 320A sub_33B6 302F10 ? ?
LoadPLC ? sub_F65E ? ? ?
ObjectFall D24E sub_16380 312C6E ? ?
SpeedToPos D27A sub_163AC 312C9A ? ?
MarkObjGone D2A0 loc_163D2 312CC0 ? ?
DisplaySprite D3C2 sub_164F4 312D80 19240 219240
DeleteObject D3B4 loc_164E6 312D72 ? ?
DeleteObject2 ? sub_164E8 ? ? ?
AnimateSprite D412 sub_16544 312DD0 ? ?
SingleObjLoad ? loc_17FDA ? ? ?
SingleObjLoad2 E788 loc_17FFA 313D8E ? ?
SolidObject ? loc_19718 ? ? ?
PlatformObject ? loc_19C32 ? ? ?
ObjHitFloor 13898 loc_1EDFA 319102 ? ?
BossDefeated ? loc_2D6CC ? ? ?
BossMove ? loc_2DB0E ? ? ?
AddPoints ? sub_40D06 ? ? ?
KillSonic ? loc_3F926 ? ? ?
Sonic_Move ? loc_1A35A ? ? ?
Sonic_MoveLeft ? loc_1A6C0 ? ? ?
Sonic_MoveRight ? loc_1A746 ? ? ?
DebugMode ? loc_41A78 ? ? ?
Touch_Monitor ? loc_3F73C ? ? ?
Touch_Enemy ? loc_3F78C ? ? ?
Touch_ChkValue ? loc_3F6F2 ? ? ?
LevSelControls ? loc_94DC ? ? ?
Sonic_ChgJumpDir ? loc_1A8E8 ? ? ?
Sonic_RollLeft ? loc_1A8A2 ? ? ?
Sonic_RollRight ? loc_1A8C6 ? ? ?
Sonic_LevelBound ? loc_1A974 ? ? ?
Boundary_Bottom ? loc_1A9B6 ? ? ?
Sonic_Jump ? loc_1AA38 ? ? ?
Sonic_Floor ? loc_1AEAA ? ? ?

* Nemesis' Sonic 2 Disassembly

Sonic Community Hacking Guide
General
SonED2 Manual | Subroutine Equivalency List
Game-Specific
Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic CD (2011) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (Master System) | Sonic 3 | Sonic 3 & Knuckles | Chaotix | Sonic Jam | Sonic Jam 6 | Sonic Adventure | Sonic Adventure DX: Director's Cut | Sonic Adventure DX: PC | Sonic Adventure (2010) | Sonic Adventure 2 | Sonic Adventure 2: Battle | Sonic Adventure 2 (PC) | Sonic Heroes | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Colours | Sonic Generations | Sonic Forces
Technical information
Sonic Eraser | Sonic 2 (Nick Arcade prototype) | Sonic CD (prototype; 1992-12-04) | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Tails Adventures | Sonic Crackers | Sonic 3D: Flickies' Island | Sonic & Knuckles Collection | Sonic R | Sonic Shuffle | Sonic Advance | Sonic Advance 3 | Sonic Battle | Shadow the Hedgehog | Sonic Rush | Sonic Classic Collection | Sonic Free Riders | Sonic Lost World
Legacy Guides
The Nemesis Hacking Guides The Esrael Hacking Guides
ROM: Sonic 1 | Sonic 2 | Sonic 2 Beta | Sonic 3

Savestate: Sonic 1 | Sonic 2 Beta/Final | Sonic 3

Sonic 1 (English / Portuguese) | Sonic 2 Beta (English / Portuguese) | Sonic 2 and Knuckles (English / Portuguese)
Move to Sega Retro
Number Systems (or scrap) | Assembly Hacking Guide | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | SMPS Music Hacking Guide | Mega Drive technical information