Fps display [Mew] - Printable Version +- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com) +-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51) +--- Forum: Misc/Other (https://mariokartwii.com/forumdisplay.php?fid=55) +--- Thread: Fps display [Mew] (/showthread.php?tid=1616) |
Fps display [Mew] - Mewmaster99 - 09-01-2020 Fps display by Mew This code will display your current fps (frames per second) to theĀ milliseconds of the timer Uses vector of 80001660. Make sure no other codes use that vector. NTSC U: C27ED9F8 00000005 3D408042 614A50F0 C12A0000 3D808000 39601660 FDA0481C 7DAC5FAE 838C1660 60000000 00000000 PAL: C27F84F8 00000005 3D408042 614A9470 C12A0000 3D808000 39601660 FDA0481C 7DAC5FAE 838C1660 60000000 00000000 NTSC J: C27F7B64 00000005 3D408042 614A8DF0 C12A0000 3D808000 39601660 FDA0481C 7DAC5FAE 838C1660 60000000 00000000 NTSC K: C27E68B8 00000005 3D408041 614A7490 C12A0000 3D808000 39601660 FDA0481C 7DAC5FAE 838C1660 60000000 00000000 Code credits: Seeky for helping me through making thisĀ JoshuaMK for the timer address and the public symbol map for having the framerate address Source Ntsc U: insert address: 807ED9F8 .set framerate, 0x804250f0 lis r10, framerate@ha lfs f9, framerate@l (r10) lis r12, 0x8000 li r11, 0x1660 fctiw f13, f9 stfiwx f13, r12, r11 lwz r28, 0x1660 (r12) RE: Fps display [Mew] - Jeffy/Wrath - 09-13-2020 tested NTSC-K and NTSC-J works great RE: Fps display [Mew] - Mewmaster99 - 09-13-2020 Epic, thanks RE: Fps display [Mew] - Vega - 09-13-2020 Here's a more optimized source. It is untested. Nice code btw. The GPR used for setting the framerate address is r28 instead of r12 as it's actually safer than r12 due to r28's value being replaced no matter what at the end. The converted float is stored to the negative stack space so the exception vector area won't be used. This should be safe since your code contains no function calls. Code: #Address Ports |