fork/training-mode-ce
git clone https://git.julia.blue/fork/training-mode-ce
f9241ee
techchase-camera
1# To be inserted at 80394a6c 2.include "../../Globals.s" 3 4# Remove all previous OSReports 5# load r3, 0x804cf7e8 6# li r4, 0 7# stw r4, 0xC(r3) 8 9# Play SFX? 10li r3 , 317 # 188 = warning #317 = gasp 11branchl r12 , SFX_PlaySoundAtFullVolume 12 13############################# 14## OS Report Tweet Message ## 15############################# 16 17load r20 , 0x803456a8 # OSReport 18 19# OSReport Blank Line 20bl NewLine 21mflr r3 22mtctr r20 23bctrl 24 25# OSReport # Line 26bl PoundLine 27mflr r3 28mtctr r20 29bctrl 30 31# OSReport Error Message 32bl ResetCombo # StackDumpMessage1 33mflr r3 34mtctr r20 35bctrl 36 37# OSReport # Line 38bl PoundLine 39mflr r3 40mtctr r20 41bctrl 42 43# OSReport Blank Line 44bl NewLine 45mflr r3 46mtctr r20 47bctrl 48 49# OSReport Mod Version 50rtocbl r12 , TM_GetTMVersLong 51mr r4 , r3 52bl Version 53mflr r3 54mtctr r20 55bctrl 56 57# OSReport Compile Date 58rtocbl r12 , TM_GetTMCompile 59mtctr r20 60bctrl 61 62# OSReport Blank Line 63bl NewLine 64mflr r3 65mtctr r20 66bctrl 67 68b Exit 69 70######################################################### 71 72PoundLine : 73blrl 74.long 0x23232323 75.long 0x23232323 76.long 0x23232323 77.long 0x23232323 78.long 0x23232323 79.long 0x23232323 80.long 0x23232323 81.long 0x23232323 82.long 0x23232323 83.long 0x23232323 84.long 0x23232323 85.long 0x23232323 86.long 0x23232323 87.long 0x230A0000 88 89NewLine : 90blrl 91.long 0x0A000000 92 93Version : 94blrl 95.string "%s\n" 96.align 2 97 98ResetCombo : 99blrl 100.string "## TWEET A PICTURE OF THIS MESSAGE TO @rwing_aitch ##\n## After submitting, PRESS LRA-START to reboot ##\n" 101.align 2 102 103######################################################### 104 105Exit : 106addi r3 , r30 , 2252