Crystal Beans From Dungeon Explorer:Cutscene engine ROM map

From Data Crystal
Jump to: navigation, search


  • 146000-147907 (6408) = Cutscene font graphics
  • 147908-14AFFF (14072) = Unknown data, doesn't seem to be referenced
  • 14B000-14B9B8 (2489) = Compressed graphics for weapons shadow
  • 14B9B9-14B9DC (36) = Compressed palette for weapons shadow
  • 14B9DD-14BDEB (1039) = Unknown compressed data (weapons shadow tilemap?)
  • 14BDEC-14CA10 (3109) = Compressed graphics for rain cloud
  • 14CA11-14CA2E (30) = Compressed palette for rain cloud, crystal shards and some unknown sprites
  • 14CA2F-14D0FF (1745) = Unknown compressed data (rain cloud tilemap?)
  • 14D100-14D239 (314) = Compressed graphics for crystal shards
  • 14D23A-14D77E (1349) = Unknown compressed data (crystal shards tilemap?)
  • 14D77F-14DA93 (789) = Compressed graphics for little beanstalk
  • 14DA94-14DAB6 (35) = Compressed palette for little beanstalk
  • 14DAB7-14DBB4 (254) = Unknown compressed data (little beanstalk tilemap?)
  • 14DBB5-14DC56 (162) = Compressed graphics for small crystals
  • 14DC57-14DCD7 (129) = Compressed palette for small crystals
  • 14DCD8-14E521 (2122) = Compressed graphics for other little beanstalk
  • 14E522-14E562 (65) = Compressed palette for other little beanstalk
  • 14E563-14E724 (450) = Unknown compressed data (other little beanstalk tilemap?)
  • 14E725-14E8CE (426) = Compressed graphics for small growing beanstalk
  • 14E8CF-14E8F1 (35) = Compressed palette for small growing beanstalk
  • 14E8F2-15146F (11134) = Compressed graphics for world map
  • 151470-151503 (148) = Compressed initial palette, also used for title screen and world map
  • 151504-15155C (89) = compressed additional palette for world map
  • 15155D-151A14 (1208) = Unknown Compressed data (world map tilemap?)
  • 151A15-1536DB (7367) = Compressed graphics for world map sprites
  • 1536DC-153759 (126) = Compressed palette for world map sprites
  • 15375A-156478 (11551) = Compressed graphics for monsters
  • 156479-1564C5 (77) = Compressed palette for monsters
  • 1564C6-156900 (1083) = Unknown compressed data (monsters tilemap?)
  • 156901-1585A6 (7334) = Compressed graphics for monster outlines
  • 1585A7-1585EC (70) = Compressed palette for monster outlines
  • 1585ED-1589DB (1007) = Unknown compressed data (monsters outlines tilemap?)
  • 1589DC-15AE21 (9286) = Compressed graphics for large beanstalk
  • 15AE22-15AE58 (55) = Compressed palette for large beanstalk
  • 15AE59-15B1D5 (893) = Unknown compressed data (large beanstalk tilemap?)
  • 15B1D6-15B555 (896) = Unknown compressed data (large beanstalk tilemap?)
  • 15B556-15EC94 (14143) = Compressed graphics for large growing beanstalk
  • 15EC95-15ECD0 (60) = Compressed palette for large growing beanstalk
  • 15ECD1-15F320 (1616) = Unknown compressed data (large growing beanstalk tilemap?)
  • 15F321-16026D (3917) = Compressed graphics for pedestal
  • 16026E-1602D5 (104) = Compressed palette for pedestal
  • 1602D6-160500 (555) = Unknown compressed data (pedestal tilemap?)
  • 160501-16119D (3229) = Compressed graphics for shining crystal
  • 16119E-1611C0 (35) = Compressed palette for shining crystal
  • 1611C1-162871 (5809) = Compressed graphics for castle
  • 162872-1628E8 (119) = Compressed palette for castle
  • 1628E9-162AF3 (523) = Unknown compressed data (throne room tilemap?)
  • 162AF4-162CD2 (479) = Unknown compressed data (bean room tilemap?)
  • 162CD3-163730 (2654) = Compressed graphics for boss room
  • 163731-1637BF (143) = Compressed palette for boss room
  • 1637C0-1638C9 (266) = Unknown compressed data (boss room tilemap?)
  • 1638CA-164C62 (5017) = Compressed graphics for characters
  • 164C63-164CEB (137) = Compressed palette for characters
  • 164CEC-164CFC (17) = Compressed additional palette for castle
  • 164CFD-1694F5 (18425) = Compressed graphics for title screen background
  • 1694F6-169548 (83) = Compressed additional palette for title screen background
  • 169549-169BB1 (1641) = Unknown compressed data (title screen background tilemap?)
  • 169BB2-16B4BC (6411) = Compressed graphics for title screen text
  • 16B4BD-16B52C (112) = Compressed palette for title screen text
  • 16B52D-16BA07 (1243) = Compressed graphics for title screen clouds
  • 16BA08-16BA12 (11) = Compressed palette for title screen clouds
  • 16BA13-16BECB (1209) = Unknown compressed data (title screen clouds tilemap?)
  • 16BECC-16D7D5 (6410) = Compressed graphics for castle sprites
  • 16D7D6-16D8A2 (205) = Compressed palette for castle sprites
  • 16D8A3-17001B (10105) = Compressed graphics for castle people sprites
  • 17001C-171A36 (6683) = Compressed graphics for town
  • 171A37-171ACE (152) = Compressed palette for town
  • 171ACF-171CF4 (550) = Unknown Compressed data (town tilemap?)
  • 171CF5-1728B7 (3011) = Compressed graphics for credit sprites
  • 1728B8-1728F0 (57) = Compressed palette for credit sprites
  • 1728F1-177FFF (22287) = Unknown data, doesn't seem to be referenced
  • 178000-17811E (287) = Cutscene engine asm code (script related)
    • 178000 = ShowCutscene(byte cutsceneIndex<A>)
  • 17811F-178122 (4) = Unknown data (bytes)
  • 178123-178137 (21) = Cutscene engine asm code (script related, 1 function)
  • 178138-178141 (10) = Cutscene script pointer table (5 16-bits pointer)
  • 178142-1781AD (108) = Cutscene engine asm code (script related)
    • 17816A = ExecuteScript?()
    • 17817C = ExecuteNextCommand?()
  • 1781AE-1781CF (34) = Cutscene script command function pointer table (17 16-bits pointer)
  • 1781D0-178404 (565) = Cutscene engine asm code (script command handlers)
    • 1781D0 = Cmd20_EndOfData()
    • 1781D9 = Cmd00()
    • 1781EE = Cmd02()
    • 178203 = Cmd04()
    • 178265 = Cmd1A()
    • 17829E = Cmd06()
    • 1782B0 = Cmd08()
    • 1782C2 = SetSrcAddr()
    • 1782D2 = SetUncompressedLength()
    • 1782D9 = SetVRAMAddr()
    • 1782E0 = Cmd0C()
    • 178319 = Cmd0A()
  • 178405-178414 (16) = 16-bits pointers to functions
  • 178415-178960 (1356) = Cutscene engine asm code (script command handlers)
    • 1784A5 = Cmd10()
    • 178540 = Cmd0E()
    • 17855F = SetScrollRegs()
    • 1785AC = Cmd12()
    • 1786A4 = Cmd14()
    • 1786C5 = Cmd16()
    • 178720 = Cmd18()
    • 178756 = Cmd1C()
    • 178776 = Cmd1E()
    • 1788F2 = SendToVram()
    • 178927 = CheckCutsceneInterruption()
  • 178961-178965 (5) = Cutscene interruption control bytes (1 if cutscene can be interrupted by pressing the START button, 0 otherwise)
  • 178966-178D1A (948) = Cutscene engine asm code
    • 178966 = InstallCutsceneNMIHandler()
    • 17899D = CutsceneNMIHandler()
    • 178A29 = UploadPalette()
    • 178A9B = UploadToVRAM()
    • 178CAC = SendToVRAM()
  • 178D1A-178D1D (4) = Unknown data (words)
  • 178D1E-179129 (1035) = Cutscene engine asm code
    • 178DBD = MemsetVRAM?()
    • 178DD3 = DecompToWRAM()
    • 178DFC = DecompToVRAM()
    • 178E26 = DecompToPaletteBuf()
    • 178F37 = SetOAMFromArray()
    • 179037 = LzssInitVars()
    • 1790CD = LzssGetNextByte()
    • 1790DC = byte<A> tLzssUncompressNextByte()
  • 179129-179192 (106) = Cutscene sprite data struct list
  • 179193-179194 (2) = 16-bits pointer to preceding Cutscene sprite data struct list
  • 179195-17922F (155) = Cutscene sprite data struct list
  • 179230-179231 (2) = 16-bits pointer to preceding Cutscene sprite data struct list
  • 179232-179328 (247) = Cutscene sprite data struct lists
  • 179329-17932C (4) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17932D-1796C0 (916) = Cutscene sprite data struct lists
  • 1796C1-1796CC (12) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 1796CD-179C86 (1466) = Cutscene sprite data struct lists
  • 179C87-179C9A (20) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 179C9B-17A1B5 (1307) = Cutscene sprite data struct lists
  • 17A1B6-17A1DB (38) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17A1DC-17A1FB (32) = Cutscene sprite data struct lists
  • 17A1FC-17A203 (8) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17A204-17A347 (324) = Cutscene sprite data struct lists
  • 17A348-17A359 (18) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17A35A-17A404 (171) = Cutscene sprite data struct lists
  • 17A405-17A40A (6) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17A40B-17A6C6 (700) = Cutscene sprite data struct lists
  • 17A6C7-17A6E2 (28) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17A6E3-17A966 (644) = Cutscene sprite data struct lists
  • 17A967-17A982 (28) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17A983-17AA31 (175) = Cutscene sprite data struct lists
  • 17AA32-17AA69 (56) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17AA6A-17AAE6 (125) = Cutscene sprite data struct lists
  • 17AAE7-17AB0E (40) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17AB0F-17ABD9 (203) = Cutscene sprite data struct lists
  • 17ABDA-17ABE7 (14) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17ABE8-17ACD6 (239) = Cutscene sprite data struct lists
  • 17ACD7-17ACE6 (16) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17ACE7-17AE71 (395) = Cutscene sprite data struct lists
  • 17AE72-17AE77 (6) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17AE78-17AF2C (181) = Cutscene sprite data struct lists
  • 17AF2D-17AF46 (26) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17AF47-17B24C (774) = Cutscene sprite data struct lists
  • 17B24D-17B254 (8) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17B255-17B450 (508) = Cutscene sprite data struct lists
  • 17B451-17B458 (8) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17B459-17B50D (181) = Cutscene sprite data struct lists
  • 17B50E-17B527 (26) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17B528-17B5DC (181) = Cutscene sprite data struct lists
  • 17B5DD-17B5F6 (26) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17B5F7-17B6AB (181) = Cutscene sprite data struct lists
  • 17B6AC-17B6C5 (26) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17B6C6-17B77A (181) = Cutscene sprite data struct lists
  • 17B77B-17B794 (26) = 16-bits pointers to preceding Cutscene sprite data struct lists
  • 17B795-17B8F5 (353) = Cutscene sprite data struct lists
  • 17B8F6-17B8FB (6) = 16-bits pointers to preceding EndingSpritesStructs
  • 17B8FC-17BDF2 (1271) = Cutscene sprite control
  • 17BDF3-17BE9F (173) = Script for title screen
  • 17BEA0-17C22F (912) = Script for introduction
  • 17C230-17C3D9 (426) = Script for beanstalk growing scene
  • 17C3DA-17C7D1 (1016) = Script for ending and credits
  • 17C7D2-17C7ED (28) = Script for mouse message
  • 17C7EE-17C821 (34) = Cutscene engine asm code (InitScreenRegs?())
  • 17C822-17C862 (65) = Cutscene screen registers initialization structs
  • 17C863-17C982 (288) = Cutscene engine asm code
    • 17C8BA = PlaySong()
    • 17C8CE = SetLogoScrollFlag()
    • 17C8D6 = SetOBSEL()
    • 17C8E9 = PrintScrollingString()
    • 17C95A = PutNormalString()
  • 17C983-17C999 (23) = Line to start printing on for each cutscene strings
  • 17C99A-17C9B0 (23) = Number of text lines in the window for each cutscene strings
  • 17C9B1-17C9B6 (6) = Used to specify the lower right corner of the window for the 3 window size
  • 17C9B7-17C9D2 (28) = Cutscene engine asm code (1 function)
  • 17C9D3-17CA1A (72) = Unknown data (words)
  • 17CA1B-17CA70 (86) = Cutscene engine asm code
  • 17CA71-17CB73 (259) = Unknown data (words)
  • 17CB74-17CBE0 (109) = Cutscene engine asm code (1 function)
  • 17CBE1-17CC14 (52) = Unknown data
  • 17CC15-17CC76 (98) = Cutscene engine asm code
  • 17CC77-17CC7A (4) = Unknown data (16-bits pointers)
  • 17CC7B-17CD61 (231) = Cutscene engine asm code
  • 17CD62-17CD71 (16) = Unknown data (words)
  • 17CD72-17CE0F (158) = Cutscene engine asm code
  • 17CE10-17CE1F (16) = Unknown data (words)
  • 17CE20-17CE83 (100) = Direct HDMA table
  • 17CE84-17D197 (788) = Cutscene engine asm code
    • 17D02C = SetTextWindow()
  • 17D198-17D1B1 (26) = Unknown data
  • 17D1B2-17D2C7 (278) = Cutscene engine asm code
  • 17D2C8-17D2CF (8) = Unknown data (16-bits pointers)
  • 17D2D0-17D313 (68) = Cutscene engine asm code (1 function)
  • 17D314-17D319 (6) = Unknown data, doesn't seem to be referenced
  • 17D31A-17D358 (63) = Cutscene engine asm code (1 function)
  • 17D359-17D36D (21) = Unknown data (bytes)
  • 17D36E-17D3A4 (55) = Cutscene engine asm code (1 function)
  • 17D3A5-17D3BC (24) = Unknown data ({word, word, word} structs)
  • 17D3BD-17D3E3 (39) = Cutscene engine asm code (1 function)
  • 17D3E4-17D5E3 (512) = Unknown data (bytes)
  • 17D5E4-17D611 (46) = Cutscene string pointer table (23 16-bits pointers)
  • 17D612-17D615 (4) = Unreferenced cutscene string
  • 17D616-17DFC3 (2477) = Cutscene strings
  • 17DFC4-17E488 (1221) = Cutscene engine asm code (string display related)
    • 17DFC4 = iPrintNormalString(word stringIndex<A>, word startRow<Y>)
    • 17E09D = PrepScrollingString()
    • 17E141 = PrintScrollingString()
    • 17E1F0 = UpdateBufIndex()
    • 17E200 = GetNextChar()
    • 17E22E = PutChar()
    • 17E2C7 = LoadTile()
    • 17E308 = GetTileMapIndex(word tileIndex<$38>)
    • 17E322 = UpdateTileMap()
  • 17E489-17FFFF (7031) = Unknown data, doesn't seem to be referenced