Magical Vacation:Notes

From Data Crystal
Revision as of 18:40, 21 January 2014 by Lytron (talk | contribs) (**Structure of the Intro/Title Screen Subroutine**: About the first half of it, presented in a diagram)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Structure of the Intro/Title Screen Subroutine

This is not complete at the moment, and the comments might be a bit misunderstanding. Yet it shows all Subroutines that are called (without dublicates).

|--- $080972B4 - INTRO/TITLE
|--- --- $08098484 -
|--- --- --- $080C1FE4 - Data Transfer
|--- --- $080B6970 -
|--- --- --- $080B74E0 - 
|--- --- --- --- $080BFA78 -
|--- --- --- --- --- $080BF9E0 - SRAM Stuff
|--- --- --- --- --- --- $080BFC58 - No Subroutine
|--- --- --- --- --- --- $080C0578 - Jump to address in r5
|--- --- --- --- --- --- $080C0578 again
|--- --- --- $080BFB30 - No Subroutine
|--- --- --- $080B6AF0 - 
|--- --- --- --- $080B74F8 -
|--- --- --- --- --- $080BFD40 -
|--- --- --- --- --- --- $080C0570 - Jump to address in r3
|--- --- --- --- --- $080BFDEC -
|--- --- --- --- --- --- $080C0570 again
|--- --- --- --- $080B6BB4 - 
|--- --- --- --- --- $080BEBA8 - No Subroutine
|--- --- --- --- $080B7414 - <NEVER EXECUTED(?)>
|--- --- --- --- --- $080B7628 -
|--- --- --- --- --- --- $080C0564 - bx r0
|--- --- --- --- --- $080C1FE4 again (Data Transfer)
|--- --- --- --- --- $080B6E14 -
|--- --- --- --- --- --- $080B6E98 - 
|--- --- --- --- --- --- --- $080B9AC0 No Subroutine, kurz
|--- --- --- --- --- --- --- $080BD320 No Subroutine, kurz
|--- --- --- --- --- --- --- $080BEF68 No Subroutine, kurz
|--- --- --- --- --- --- --- $080C1FE4 again (Data Transfer)
|--- --- --- --- --- --- --- $080BEBA8 again (No Subroutine)
|--- --- --- --- --- --- $080C1FE4 again (Data Transfer)
|--- --- --- --- --- --- $080B755C
|--- --- --- --- --- --- --- $080C056C bx r2
|--- --- --- --- --- --- --- $080BFDEC again
|--- --- --- --- $080C1FE4 again (Data Transfer)
|--- --- --- --- $080B6C14 -
|--- --- --- --- --- $080C1FE4 again (Data Transfer)
|--- --- $0805B564 - Jump SR
|--- --- --- $080C2044 - Loop infinitely?
|--- --- $0809C8C0 -
|--- --- --- $080B6970 again
|--- --- --- $080BE90C - No Subroutine
|--- --- --- $0809D0C0 -
|--- --- --- --- $080BF278 - No Subroutine
|--- --- --- --- $0809D3B4 -
|--- --- --- --- --- $0809D48C -
|--- --- --- --- $0809D4CC -
|--- --- --- --- --- $0809D5F0 -
|--- --- --- --- $0809D758 -
|--- --- --- --- --- $0809D880 -
|--- --- --- --- --- --- $080BD380 - Few Code, no Subroutine
|--- --- --- --- --- $080BD320 - Few Code, no Subroutine
|--- --- --- --- --- $080BD340 - Few Code, no Subroutine
|--- --- --- --- --- $080BD360 - Few Code, no Subroutine
|--- --- --- --- --- $0809DA20 -
|--- --- --- --- --- --- $0809DA40 - Much Code, no Subroutine
|--- --- --- --- --- --- $0809DD0C - No Subroutine
|--- --- --- --- --- --- $0809DDDC -
|--- --- --- --- --- --- --- $080BBAC0 - Few Code, no Subroutine
|--- --- --- --- --- --- --- $080C05A0 - No Subroutine
|--- --- --- --- --- $0809E448 -
|--- --- --- --- --- --- $080BBBBC -
|--- --- --- --- --- --- --- $080428D0 - 
|--- --- --- --- --- --- --- --- $080C05A0 again
|--- --- --- --- --- --- --- $080C0708 -
|--- --- --- --- --- --- --- --- $080C0634 - Does nothing, returns directly
|--- --- --- --- --- --- $080BBBF8 -
|--- --- --- --- --- --- --- $080479E8 - Few Code, no Subroutine
|--- --- --- --- --- --- --- $080C0708 again
|--- --- --- --- $0809E500 -
|--- --- --- --- --- $080BE330 again
|--- --- --- --- --- $080B86E0 -
|--- --- --- --- --- --- $080C0570 - bx r3
|--- --- --- --- --- $080B9B88 -
|--- --- --- --- --- --- $080C0568 - bx r1
|--- --- --- --- --- $0809E788 -
|--- --- --- --- --- --- $080BD320 again
|--- --- --- --- --- --- $080BC030 -
|--- --- --- --- --- --- --- $080BC2BC -
|--- --- --- --- --- --- --- --- $080BD320 again
|--- --- --- --- --- --- --- --- $080C05A0 again
|--- --- --- --- --- --- --- --- $080BB51C - Few Code, no Subroutine
|--- --- --- --- --- --- --- $080C05A0 again
|--- --- --- --- --- --- $080C05A0 again
|--- --- --- --- --- --- $080BB51C again
|--- --- --- --- --- --- $080B97E8 - 
|--- --- --- --- --- --- --- $080B9AC0 again
|--- --- --- --- $0809EA38 -
|--- --- --- --- --- $0809EA58 - Few Code, no Subroutine
|--- --- --- --- --- $0809EAA0 - no Subroutine
|--- --- --- --- --- $0809EB6C - no Subroutine
|--- --- --- --- $0809EC04 -
|--- --- --- --- --- $0809ED10 - no Subroutine
|--- --- --- --- $080BA630 - Few Code, no Subroutine
|--- --- --- --- $080BA65C - Few Code, no Subroutine
|--- --- --- --- $080BA678 - Few Code, no Subroutine
|--- --- --- --- $080BA694 - Few Code, no Subroutine
|--- --- --- --- $080BA6B0 - Few Code, no Subroutine
|--- --- --- --- $080BDD70 -
|--- --- --- --- --- $080BF9A4 - swi CpuSEt
|--- --- --- --- --- $080BF500 - Few Code, no Subroutine
|--- --- --- --- $080BD320 again
|--- --- --- --- $080BE72C - Few Code, no Subroutine
|--- --- --- --- $080BE7FC - Few Code, no Subroutine
|--- --- /-- $0809CA14 -
|--- --- --- --- $080A7AD8 - Few Code, no Subroutine
|--- --- --- --- $080B2E48
|--- --- --- --- --- $080B56C0
|--- --- --- --- --- $080B4AAC - Few Code, no Subroutine
|--- --- --- --- --- $080C056C - bx r2
|--- --- --- --- $080BE3B8
|--- --- --- --- --- $080BE420
|--- --- --- --- --- --- $080C05A0
|--- --- --- --- $080A8EAC - Much Code, no Subroutine
|--- --- --- --- $0805B564 again
|--- --- --- --- $080B4AF0
|--- --- --- --- --- $080C056C - bx r2
|--- --- --- --- --- $080B51E4
|--- --- --- --- --- --- $080B56C0
|--- --- --- --- --- --- --- $080BD5E0
|--- --- --- --- --- --- $080B532C
|--- --- --- --- --- --- --- $080B53B0
|--- --- --- --- --- --- --- --- $080BD5E0 again
|--- --- --- --- --- --- --- $080B5494
|--- --- --- --- --- --- --- --- $080BD5E0 again
|--- --- --- --- --- --- --- $080B5608
|--- --- --- --- --- --- --- --- $080BD5E0 again
|--- --- --- --- --- $080B5264
|--- --- --- --- --- --- $080B56C0 again
|--- --- --- --- --- --- $080B532C again
|--- --- --- --- --- $080B52C8
|--- --- --- --- --- --- $080B56C0 again
|--- --- --- --- --- --- $080B532C again
|--- --- --- --- $0809CD54
|--- --- --- --- --- $0809CE60
|--- --- --- --- --- --- $0809CFA0
|--- --- --- --- --- --- --- $0809CFF4 - Few Code
|--- --- --- --- --- --- --- --- $080BE998
|--- --- --- --- --- --- --- $080BE750
|--- --- --- --- --- --- --- $080A0E48
|--- --- --- --- --- --- --- --- $080A6DD4
|--- --- --- --- --- --- --- --- --- $080BF9C0 - Few Code, swi
|--- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- $080A6E3C
|--- --- --- --- --- --- --- --- --- $080B6AAC
|--- --- --- --- --- --- --- --- --- --- $080B71C4
|--- --- --- --- --- --- --- --- --- --- --- $080B755C again
|--- --- --- --- --- --- --- --- --- --- $080B7228
|--- --- --- --- --- --- --- --- --- --- --- $080B7400 - Few Code, no Subroutine
|--- --- --- --- --- --- --- --- --- --- --- $08008E98
|--- --- --- --- --- --- --- --- --- --- --- --- $080C1FE4 again
|--- --- --- --- --- --- --- --- --- --- --- $080BEBA8 again
|--- --- --- --- --- --- --- --- --- --- --- $080C1FE4 again
|--- --- --- --- --- --- --- --- --- --- --- $080B755C again
|--- --- --- --- --- --- --- --- --- --- $080B6E14 again
|--- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $080B2E48 again
|--- --- --- --- --- --- --- --- --- $080A6DAC - Few Code, no Subroutine
|--- --- --- --- --- --- --- --- --- $080A8EAC - Much Code, no Subroutine
|--- --- --- --- --- --- --- --- $080A6EBC
|--- --- --- --- --- --- --- --- --- $080BD9B4
|--- --- --- --- --- --- --- --- --- --- $080BD9FC
|--- --- --- --- --- --- --- --- --- --- $08042910 - Much Code, no Subroutine
|--- --- --- --- --- --- --- --- --- --- $080BDAB4
|--- --- --- --- --- --- --- --- --- --- --- $080BD380 again
|--- --- --- --- --- --- --- --- --- --- --- $080BA39C
|--- --- --- --- --- --- --- --- --- --- --- --- $080BEF68 again
|--- --- --- --- --- --- --- --- --- --- --- $080BB608
|--- --- --- --- --- --- --- --- --- --- --- --- $080BD3A0 - few Code
|--- --- --- --- --- --- --- --- --- --- --- --- --- $080C0708 again
|--- --- --- --- --- --- --- --- --- --- --- --- $080BEF68 again
|--- --- --- --- --- --- --- --- --- --- --- --- $080BB7FC
|--- --- --- --- --- --- --- --- --- --- --- --- --- $080BBAE4
|--- --- --- --- --- --- --- --- --- --- --- --- --- --- $080BD3A0 again
|--- --- --- --- --- --- --- --- --- --- --- --- --- $080BBA08
|--- --- --- --- --- --- --- --- --- --- --- --- --- --- $080BB444 - Few Code, no Subroutine
|--- --- --- --- --- --- --- --- --- --- --- --- --- --- $080BB4C8
|--- --- --- --- --- --- --- --- --- --- --- --- --- $080BB78C
|--- --- --- --- --- --- --- --- --- --- --- --- --- --- $080C0708 again
|--- --- --- --- --- --- --- --- --- --- --- --- --- --- $080BB444 again
|--- --- --- --- --- --- --- --- --- --- $080B9B28 - Few Code, no Subroutine
|--- --- --- --- --- --- --- --- --- $080A6DAC again
|--- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $080A8EAC again
|--- --- --- --- --- --- --- --- $080A6F28
|--- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $0809EE90
|--- --- --- --- --- --- --- --- --- --- $0800EBE4
|--- --- --- --- --- --- --- --- --- --- --- $0800EC3C
|--- --- --- --- --- --- --- --- --- $080A8EAC again
|--- --- --- --- --- --- --- --- --- $080A6DAC again
|--- --- --- --- --- --- --- --- $080A5B84
|--- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $080A9298
|--- --- --- --- --- --- --- --- --- --- $080BD520
|--- --- --- --- --- --- --- --- --- --- --- $080BE330 again
|--- --- --- --- --- --- --- --- --- --- $080BF094
|--- --- --- --- --- --- --- --- --- --- --- $080BEDE4
|--- --- --- --- --- --- --- --- --- --- --- --- $080BEDE4 --- Yeah, recursion
|--- --- --- --- --- --- --- --- --- --- $080BF0EC
|--- --- --- --- --- --- --- --- --- --- --- $080BF094 again
|--- --- --- --- --- --- --- --- --- --- --- $080BEDE4 again
|--- --- --- --- --- --- --- --- --- --- $080C1FE4 again
|--- --- --- --- --- --- --- --- $080A59E8
|--- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $080C056C bx r2
|--- --- --- --- --- --- --- --- --- $080BE848
|--- --- --- --- --- --- --- --- $080A4D8C
|--- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $080A6DAC again
|--- --- --- --- --- --- --- --- --- $080C056C bx r2
|--- --- --- --- --- --- --- --- --- $080BE848 again
|--- --- --- --- --- --- --- --- $080A41F0
|--- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $080A81B4 - No Subroutine
|--- --- --- --- --- --- --- --- --- $080B56C0 again
|--- --- --- --- --- --- --- --- --- $080C0570 bx r3
|--- --- --- --- --- --- --- --- --- $080BC55C
|--- --- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $080BC5F4
|--- --- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- $080BC94C
|--- --- --- --- --- --- --- --- --- --- $080C0708 again
|--- --- --- --- --- --- --- --- --- --- $0805B564 again
|--- --- --- --- --- --- --- --- --- --- $080C0780
|--- --- --- --- --- --- --- --- --- --- --- $080C0634 again
|--- --- --- --- --- --- --- --- --- --- --- $080C1F28
|--- --- --- --- --- --- --- --- --- $080B2E48 again
|--- --- --- --- --- --- --- --- --- $080BE848 again
|--- --- --- --- --- --- --- --- $080C0570 - bx r3
|--- --- --- --- --- --- --- $0809D018
|--- --- --- --- --- --- --- --- $080B77E0
|--- --- --- --- --- --- --- --- --- $080C1FE4 again - Data Transfer
|--- --- --- --- --- --- --- --- --- $080B786C
|--- --- --- --- --- --- --- --- --- --- $080C056C bx r2
|--- --- --- --- --- --- --- --- --- $080B7A40
|--- --- --- --- --- --- --- --- --- --- $080B7EE4 - Few Code, no Subroutine
|--- --- --- --- --- --- --- --- --- --- $080BE028
|--- --- --- --- --- --- --- --- --- --- --- $080C056C bx r2
|--- --- --- --- --- --- --- --- --- --- $080C056C bx r2
|--- --- --- --- --- --- --- --- --- $080B7BAC
|--- --- --- --- --- --- --- --- --- --- $080C056C bx r2
|--- --- --- --- --- --- --- --- --- $080B7F00
|--- --- --- --- --- --- --- --- --- --- $080B8284
|--- --- --- --- --- --- --- --- --- --- --- $080B776C
|--- --- --- --- --- --- --- --- --- --- --- $080BDE74
|--- --- --- --- --- --- --- --- --- --- --- --- $080BF500 again
|--- --- --- --- --- --- --- --- --- --- --- --- $080BDFD0
|--- --- --- --- --- --- --- --- --- --- --- --- --- $080C1FE4 again - Data Transfer
|--- --- --- --- --- --- --- --- --- --- --- $080B7780
|--- --- --- --- --- --- --- --- --- --- --- --- $080A9184
|--- --- --- --- --- --- --- --- --- --- $080B2E48 again
|--- --- --- --- --- --- --- --- $080A975C
|--- --- --- --- --- --- --- --- --- $080B1F44
|--- --- --- --- --- --- --- --- --- --- $080BD684
|--- --- --- --- --- --- --- --- --- $080C0568 bx r1
|--- --- --- --- --- --- --- --- --- $080AFD60
|--- --- --- --- --- --- --- --- --- --- $080B10D0
|--- --- --- --- --- --- --- --- --- --- --- $080BD684 again
|--- --- --- --- --- --- --- --- --- --- $080BD72C
|--- --- --- --- --- --- --- --- --- --- --- $080BD684 again
|--- --- --- --- --- --- --- --- --- --- $080B0FF8
|--- --- --- --- --- --- --- --- --- --- --- $080B10D0 again
|--- --- --- --- --- --- --- --- --- --- $080B2674
|--- --- --- --- --- --- --- --- --- --- --- $080BD884
|--- --- --- --- --- --- --- --- --- --- --- --- $080BF9A8 swi Div
|--- --- --- --- --- --- --- --- --- --- --- --- $080BF9AC swi Div / add r0, r1, #0x0
|--- --- --- --- --- --- --- --- --- --- --- $080BD684 again
|--- --- --- --- --- --- --- --- --- --- $080B58F0
|--- --- --- --- --- --- --- --- --- $080B1AB4
|--- --- --- --- --- --- --- --- --- --- $080B10D0 again
|--- --- --- --- --- --- --- --- --- $080B0DB8
|--- --- --- --- --- --- --- --- --- --- $080B0ED4
|--- --- --- --- --- --- --- --- --- --- --- $080B10D0 again
|--- --- --- --- --- --- --- --- --- --- $080B0E44
|--- --- --- --- --- --- --- --- --- --- --- $080B10D0 again
|--- --- --- --- --- --- --- --- --- $080C056C bx r2
|--- --- --- --- --- --- --- --- $080B4AF0 again
|--- --- --- --- --- --- --- --- $080B5CA4
|--- --- --- --- --- --- --- --- --- $080B64D0
|--- --- --- --- --- --- --- --- --- --- $080BEE90
|--- --- --- --- --- --- --- --- --- --- --- $080BEEFC
|--- --- --- --- --- --- --- --- --- --- --- $080BEDE4 again
|--- --- --- --- --- --- --- --- --- --- $080B694C
|--- --- --- --- --- --- --- --- --- --- --- $080B1EDC
|--- --- --- --- --- --- --- --- --- --- --- --- $080B1A4C
|--- --- --- --- --- --- --- --- --- --- --- --- --- $080BD684 again
|--- --- --- --- --- --- --- --- --- --- --- --- $080B1180
|--- --- --- --- --- --- --- --- --- --- --- --- --- $080BD684 again
|--- --- --- --- --- --- --- --- --- --- $080B6898
|--- --- --- --- --- --- --- --- --- --- --- $080B1EDC again
|--- --- --- --- --- --- --- --- --- --- $080BD684 again
|--- --- --- --- --- --- --- --- --- --- $080BEBD8
|--- --- --- --- --- --- --- --- --- --- --- $080BEC2C - Few Code, no Subroutine
|--- --- --- --- --- --- --- --- --- --- $080BF9AC again - swi Div / add r0, r1, #0x0
|--- --- --- --- --- --- --- --- --- $080B5CFC