Kirby 64: The Crystal Shards

From en64 wiki
Jump to: navigation, search

OS and Audio Functions

0x8012d2f0,osSendMesg
0x8012d440,osStopThread
0x8012d500,osRecvMesg
0x8012d640,osSetIntMask
0x8012d6e0,__sinf/fsin/sinf
0x8012dca0,__ull_rshift
0x8012dccc,__ull_rem
0x8012dd08,__ull_div
0x8012dd44,__ll_lshift
0x8012dd70,__ll_rem
0x8012ddac,__ll_div
0x8012de08,__ll_mul
0x8012de38,__ull_divremi
0x8012de98,__ll_mod
0x8012df34,__ll_rshift
0x8012e870,__osDequeueThread
0x8012e8b0,bzero/_bzero/blkclr/_blkclr
0x8012fbe0,osCreateThread
0x8012ffa0,osVirtualToPhysical
0x80130020,osWritebackDCache
0x80130330,osPiRawReadIo
0x801303f0,__osSetSR
0x80130400,__osGetSR
0x80130450,__osSpRawStartDma
0x801305e0,osViBlack
0x80130650,__osSpRawReadIo
0x80130650,__osSiRawReadIo
0x801306a0,osSpTaskYield
0x80130d80,osViSetMode
0x80131410,__osProbeTLB
0x801314d0,osGetCount
0x801329d0,osPiRawStartDma
0x80132ab0,osSetEventMesg
0x80132b20,sqrtf
0x80132b50,osContStartQuery
0x80132bd4,osContGetQuery
0x801338c0,osEPiStartDma
0x80133a40,memcpy
0x80133a6c,strlen
0x80133a94,strchr
0x80133ae0,osCreateMesgQueue
0x80133b10,osInvalICache
0x80133b90,osInvalDCache
0x80133d30,__osSpDeviceBusy
0x80133d60,__osSiDeviceBusy
0x80133d90,osJamMesg
0x80133ee0,osSetThreadPri
0x80133fc0,osGetThreadPri
0x80133fe0,osViSwapBuffer
0x80134030,guMtxXFMF
0x801340d0,guMtxCatF
0x80134470,osSpTaskYielded
0x801344f0,bcmp/_bcmp
0x80134610,osGetTime
0x80134aa0,__osSetGlobalIntMask
0x80134af0,osAiSetFrequency
0x80134c50,guNormalize
0x80134ce0,__osSetCompare
0x80134d00,bcopy/_bcopy
0x80135010,alCopy
0x80135090,__osResetGlobalIntMask
0x80135360,__osDisableInt
0x80135380,__osRestoreInt
0x801357e0,osPiGetCmdQueue
0x80135810,__cosf/fcos/cosf
0x80135980,osSetTime
0x801359b0,osViSetEvent
0x80135d20,__osSetFpcCsr
0x80138ca0,osWritebackDCacheAll
0x80138cd0,osStartThread
0x80138e20,osViSetYScale
0x80138f30,__osAiDeviceBusy
0x801391f0,__osSpSetPc
0x8013fbac,__osThreadTail
0x8013fbb4,__osRunQueue
0x8013fbb8,__osActiveQueue
0x8013fbbc,__osRunningThread
0x8013fbc0,__osFaultedThread
0x8013fc60,osViModeNtscLan1
0x8013fcb0,osViModeMpalLan1
0x80141a30,__osRcpImTable
0x80141cc0,__libm_qnan_f

Region (U)

Audio stuff

00250320 audio sequence table

800909B3 Music Modifier

80096480

Stage stuff

800D5E00 stage text



800F78B8 load next section of level




800D6B9C level to load?



800E9FE0 level selection?

800BE4F0 current screen?
800A3820 asm for next screen


800D1F98



800BE500 current world
800BE504 current stage



800D1F98 level table
0007A1E8 ROM

800D1D10 G63 M6MIRACLE
800D1E30 ABE200
800D1E54 ABE100
800D1E9C EXERCISE01
800D1EE4 ENETEST1
800D1F08 ENETEST2
800D1F2C ITEM01
800D1F50 BREAKTEST1



Format

aaaabbbb ccccdddd eeeeffff
gggghhhh iiiijjjj kkkkllll
zzzzzzzz

aa = model bank? uses table at 800D00C4
bb = level model
gg = collision bank? uses table at 800D0184
hh = collision model/object data? uses table at 800CFCE0
zz = Level Name RAM Pointer


Kirby model numbers:
07 Kirby
08 Kirby Inhaling
09 Fat Kirby
0A Kirby Burning
0B Stone Kirby
0C Stone Kirby Ball
0D Freezing Kirby
61 Waddle Dee
6C Dedede
70 Adeliene


00076490 level model table?

0128E780 First Level Model





00077F38 texture table for 01D28720


802F4A10 level 1 level map info

xxxxxxxx yyyyyyyy zzzzzzzz


zz = objects



802F6670 level 1 map objects

2C long?

aabbccdd eeeeffff xxxxxxxx yyyyyyyy
zzzzzzzz pppppppp qqqqqqqq rrrrrrrr
jjjjjjjj kkkkkkkk llllllll


bb = object type?
  00 = enemy
  03 = item/object
cc = object
dd = variable

99999999 to end map object list

Enemy list

Enemy list

00 N-Z
01 Rocky
02 Bronto Burt
03 Skud
04 Gordo
05 Shotzo
06 Spark-i
07 Bouncy
08 Glunk

48 Mopoo
49 Zebon

Item list

00 Maxim Tomato
01 Sandwich
02 Cake
03 Meat
04 Popsicle
05 Invincibility
06 Yellow Star
07 Blue Star
08 Crystal Shard (crashes game)
09 1-Up
0A Mat you jump on (crashes game)
0B Dandelion
0C Fish
0D Butterfly

Enemy stuff

800FCC24
800FCD48
800FCAC4 asm to load enemy



800E77DC where fire enemy gets stored when walked by


801c29c0 enemy object table?

801C3EB4 fire enemy's shit?


00074F10 unknown table





00074A10 table for 011291B0?


0006C8F0 unknown table


Region (J)

Screen, model, animation, level stuff

800BCF93 Current screen

800d4564 table for asm of screens



8012CEF4 actions?


800A8DB0


800481F2 load button press


8016B648 asm set kirby's standing animation S3,S2


8012CEF4


800A8754 asm load animation table?

800A9960



800C6B04 animation table?
0006EDC8 ROM

801950E0 action table
000F5C00 ROM


80150DAC
80150760

80150500

000D4450

800D09C4 RAM
00078C88 Level Table


80007C18 load ram pointer when inhaling


800D5B7C p1 character multiplayer


8018CE98

80185D94 multiplayer models
80158FA8 models to load in level select


8016A8A0 Load Kirby Model
8016A800 function


800cebe6 level type?
80127588 table for level types

0006E590 object model table

07 Kirby
61 Waddle Dee
6C Dedede
70 Adeleine



800D6A58 where model pointers get written in RAM



80227BA4



8012CEF0 all of kirby's stuff?


800DECB3 Kirby's Current Model


8014FC6C asm to load title screen
8014FE70 JAL to write Kirby to Title Screen
8014FD78 JAL to write Waddle Dee to title Screen
8014FEE8 JAL to write Dedede to title Screen
8014FDF4 JAL to write Adeleine to title screen
8014FF54 asm to load fairy

8014FEC0 ASM Set Kirby's Animation 02DD
8014FDC8 ASM Set Waddl Dee's Animation
8014FF38 ASM Set Dedede's animations


80154AE0 set waddle dee running animation?

8015ABB0 asm for each character in title screen
001021D0 ROM




000D554B current song playing

Actions

800DC9B0 current action + 2

00 Standing
01 Walking
02 Running
03 Jumping
04 Landing
05 Falling
06 Landing
07 Landing
08 Crouching
09
0A Going underneath platform
0B Floating
12 Toss Star Upwards
16 Sucking in Air
18 Blow out air
19 Toss Star Forwards
21 Burning
22 Stone
23 Ice
24 Needle
25 Bombsss
26 Spark
27 Cutter
28 Super Fireball (Burning + Burning)
29 Volcano (Burning + Stone)
2A Melting Ice Block (Burning + Ice)
2B Flaming Arrow (Burning + Needle)
2C Fireworks (Burning + Bomb)
2D Giant Stone Kirby (Stone + Stone)
2E Drill (Stone +Needle)
2F Dynamite (Stone + Bomb)
30 Curling Stone (Stone + Ice)
31 Giant Spiny Snowflake (Ice + Needle)
32 Explosive Snowman (Ice + Bomb)
33 Refrigerator Kirby (Ice + Spark)
34 Rolling Snowbal (Ice + Ice)
35 Swiss Army Kirby (Needle + Needle)
36 Spike Bomb (Needle + Bomb)
37 Tri-Missile Attack (Bomb + Bomb)
38 Match (Spark + Burning)
39 Lightning Boulder (Spark + Stone)
3A Lightning Rod (Spark + Needle)
3B Light Bulb (Spark + Bomb)
3C Super Electric Energy Field (Spark + Spark)
3D Sword of Fire (Cutter + Burning)
3E Animal Statue (Cutter + Stone)
3F Ice Skating (Cutter + Ice)
40 Giant Claws (Cutter + Needle)
41 Explosive Ninja Star (Cutter + Bomb)
42 Double-Bladed Laser Sword (Cutter + Spark)
43 Super Boomerang (Cutter + Cutter)
44 Standing (can't Move)
45 Running
46 Grabbing Crystal Shard
47 Walking