Actions

SCHG

Difference between revisions of "Equivalent Subroutines"

From Sonic Retro

(About 20 New subroutines)
m (Sorted Numericly, removed useless routines.)
Line 17: Line 17:
 
|?
 
|?
 
|?
 
|?
 +
|-
 +
|JoypadInit
 +
|12FC
 +
|10EC
 +
|?
 +
|1342
 +
|10AE
 
|-
 
|-
 
|ReadJoypads
 
|ReadJoypads
Line 24: Line 31:
 
|1372
 
|1372
 
|10DE
 
|10DE
|-
 
|JoypadInit
 
|12FC
 
|10EC
 
|?
 
|1342
 
|10AE
 
 
|-
 
|-
 
|Joypad_Read
 
|Joypad_Read
Line 67: Line 67:
 
|?
 
|?
 
|-
 
|-
|NemDec
+
|ClearScreen
 +
|142A, and 1458
 +
|1248, and 1276
 +
|?
 +
|14D4, and 1502
 +
|1240, and 126E
 +
|-
 +
|PlaySong
 
|?
 
|?
|NemDec_14DE
+
|sub_1370
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|ClearScreen
+
|PlaySound
|142A, and 1458
+
|?
|1248, and 1276
+
|sub_1376
 +
|?
 +
|?
 
|?
 
|?
|14D4, and 1502
 
|1240, and 126E
 
 
|-
 
|-
 
|PauseGame
 
|PauseGame
 
|14DC
 
|14DC
 
|sub_1388
 
|sub_1388
 +
|?
 +
|?
 +
|?
 +
|-
 +
|NemDec
 +
|?
 +
|NemDec_14DE
 
|?
 
|?
 
|?
 
|?
Line 102: Line 116:
 
|?
 
|?
 
|-
 
|-
|RunPLC_RAM
+
|ClearPLC
 
|?
 
|?
|sub_168A
+
|sub_167C
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|ClearPLC
+
|ClearPLC_Loop
 
|?
 
|?
|sub_167C
+
|loc_1682
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|ClearPLC_Loop
+
|RunPLC_RAM
 
|?
 
|?
|loc_1682
+
|sub_168A
 
|?
 
|?
 
|?
 
|?
Line 186: Line 200:
 
|?
 
|?
 
|-
 
|-
|AnimateSprite
+
|RandomNumber
 
|?
 
|?
|sub_16544
+
|sub_3390
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|DisplaySprite
+
|CalcSine
 
|?
 
|?
|sub_164F4
+
|sub_33B6
|?
 
|19240
 
|219240
 
|-
 
|DeleteObject
 
|D3C2
 
|loc_2DFEE
 
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|SingleObjLoad
+
|LoadPLC
 
|?
 
|?
|loc_17FDA
+
|sub_F65E
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|SingleObjLoad2
+
|ObjectFall
|?
+
|D5B2
|loc_17FFA
+
|sub_16380
|?
 
|?
 
|?
 
|-
 
|ObjHitFloor
 
|13898
 
|loc_1EDFA
 
|?
 
|?
 
|?
 
|-
 
|ObjHitFloor2
 
|?
 
|loc_1EE0E
 
 
|?
 
|?
 
|?
 
|?
Line 242: Line 235:
 
|?
 
|?
 
|-
 
|-
|SolidObject
+
|DisplaySprite
|?
 
|loc_19718
 
|?
 
 
|?
 
|?
 +
|sub_164F4
 
|?
 
|?
 +
|19240
 +
|219240
 
|-
 
|-
|FindFloor
+
|DeleteObject
 
|?
 
|?
|locret_1EE2E
+
|loc_164E6
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|ObjectFall
+
|DeleteObject2
|D5B2
 
|sub_16380
 
 
|?
 
|?
|?
+
|sub_164E8
|?
 
|-
 
|PlaySong
 
|?
 
|sub_1370
 
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|PlaySound
+
|AnimateSprite
 
|?
 
|?
|sub_1376
+
|sub_16544
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|RandomNumber
+
|SingleObjLoad
 
|?
 
|?
|sub_3390
+
|loc_17FDA
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|CalcSine
+
|SingleObjLoad2
 
|?
 
|?
|sub_33B6
+
|loc_17FFA
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|DeleteObject
+
|SolidObject
 
|?
 
|?
|loc_164E6
+
|loc_19718
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|DeleteObject2
+
|ObjHitFloor
|?
+
|13898
|sub_164E8
+
|loc_1EDFA
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|LoadPLC
+
|ObjHitFloor2
 
|?
 
|?
|sub_F65E
+
|loc_1EE0E
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|BossMove
+
|FindFloor
 
|?
 
|?
|sub_163AC
+
|locret_1EE2E
|?
 
|?
 
|?
 
|-
 
|AddPoints
 
|?
 
|sub_40D06
 
 
|?
 
|?
 
|?
 
|?
Line 340: Line 319:
 
|?
 
|?
 
|-
 
|-
|Obj15_Move2 ''What is the significance of this subroutine?''
+
|DeleteObject
|?
+
|D3C2
|loc_28AF4
+
|loc_2DFEE
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|-
 
|-
|Obj48_Move ''What is the significance of this subroutine?''
+
|AddPoints
 
|?
 
|?
|loc_FFA2
+
|sub_40D06
 
|?
 
|?
 
|?
 
|?

Revision as of 10:52, 7 July 2007

Please add more subroutines if you know them.

S1 S2B S2* S2K S3 S3&K
Demo_Time ? sub_7E6 ? ? ?
Demo_TimeEnd ? locret_800 ? ? ?
JoypadInit 12FC 10EC ? 1342 10AE
ReadJoypads 132C 111C ? 1372 10DE
Joypad_Read ? sub_112A ? ? ?
VDPSetupGame 1368 sub_1158 ? 13AE 111A
VDP_Loop ? loc_116C ? ? ?
VDP_ClrCRAM ? loc_11A0 ? ? ?
VDPSetupArray ? word_11E2 ? ? ?
ClearScreen 142A, and 1458 1248, and 1276 ? 14D4, and 1502 1240, and 126E
PlaySong ? sub_1370 ? ? ?
PlaySound ? sub_1376 ? ? ?
PauseGame 14DC sub_1388 ? ? ?
NemDec ? NemDec_14DE ? ? ?
LoadPLC ? sub_161E ? ? ?
LoadPLC2 ? sub_1650 ? ? ?
ClearPLC ? sub_167C ? ? ?
ClearPLC_Loop ? loc_1682 ? ? ?
RunPLC_RAM ? sub_168A ? ? ?
Pal_FadeTo ? sub_23C6 ? ? ?
Pal_ToBlack ? loc_23DE ? ? ?
Pal_FadeFrom ? sub_246A ? ? ?
Pal_FadeOut ? sub_248A ? ? ?
PalLoad1 ? 2712 ? ? ?
PalLoad2 ? 272E ? ? ?
PalLoad3_Water ? 2746 ? ? ?
PalLoad4_Water ? 2764 ? ? ?
DelayProgram ? sub_3384 ? ? ?
RandomNumber ? sub_3390 ? ? ?
CalcSine ? sub_33B6 ? ? ?
LoadPLC ? sub_F65E ? ? ?
ObjectFall D5B2 sub_16380 ? ? ?
SpeedToPos ? sub_163AC ? ? ?
DisplaySprite ? sub_164F4 ? 19240 219240
DeleteObject ? loc_164E6 ? ? ?
DeleteObject2 ? sub_164E8 ? ? ?
AnimateSprite ? sub_16544 ? ? ?
SingleObjLoad ? loc_17FDA ? ? ?
SingleObjLoad2 ? loc_17FFA ? ? ?
SolidObject ? loc_19718 ? ? ?
ObjHitFloor 13898 loc_1EDFA ? ? ?
ObjHitFloor2 ? loc_1EE0E ? ? ?
FindFloor ? locret_1EE2E ? ? ?
BossDefeated ? loc_2D6CC ? ? ?
BossMove ? loc_2DB0E ? ? ?
DeleteObject D3C2 loc_2DFEE ? ? ?
AddPoints ? sub_40D06 ? ? ?
  • 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