If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!
Talk:Class of Heroes
Jump to navigation
Jump to search
This is the talk page for Class of Heroes.
|
|
Debug Mode in US release
Place this code at RAM address 0x09800004, and Set jal 0x09800004 at somewhere(e.g.0x08807c58) to access some debug menu. To change debug menu, Set value(0x00 - 0x12) at address 0x09800000. however, It is not perfect. because at the same time other menu also move.
; alloc stack frame addiu sp,sp,-0x20 sw ra,0x10(sp) sw s1,0x4(sp) sw s0,0x0(sp) ; set value ; s0 <- address of debug address table ; s1 <- 0x09800000(debug page number) lui s0,0x8A0 lui s1,0x980 addiu s0,s0,0x33D4 ; access lb a1,0x0(s1) sll a1,a1,0x2 addu a1,a1,s0 lw a1,0x0(a1) jalr a1 move a0,s1 lw s0,0x0(sp) lw s1,0x4(sp) lw ra,0x10(sp) jr ra ; free stack frame addiu sp,sp,0x20
--athena/ユウリ マヤ (talk) 08:47, 6 February 2018 (EST)
- Set jal 0x09800004 at 0x08886750 to able to control debug menu only. --athena/ユウリ マヤ (talk) 11:02, 28 March 2018 (EDT)