Do some timer
What's the problem?
i did a map switching like basano
thats my new function to turn on/off the EPC light:
ROM:0047ED30 lbz r12, (switch - 0x7FFFF0)(r13) a byte on memory to save wich mode is active
ROM:0047ED34 cmpwi r12, 0
ROM:0047ED38 beq loc_47ED58
ROM:0047ED3C lbz r12, (B_nmin - 0x7FFFF0)(r13)
ROM:0047ED40 cmpwi r12, 0
ROM:0047ED44 beq loc_47ED58
ROM:0047ED48 lbz r12, (B_epcl - 0x7FFFF0)(r13)
ROM:0047ED4C ori r12, r12, 0x20
ROM:0047ED50 stb r12, (B_epcl - 0x7FFFF0)(r13)
ROM:0047ED54 b loc_47ED64
ROM:0047ED58 # ---------------------------------------------------------------------------
ROM:0047ED58
ROM:0047ED58 loc_47ED58: # CODE XREF: BASANO_MAIN-7B2E8↑j
ROM:0047ED58 # BASANO_MAIN-7B2DC↑j
ROM:0047ED58 lbz r12, (B_epcl - 0x7FFFF0)(r13)
ROM:0047ED5C rlwinm r12, r12, 0,27,25
ROM:0047ED60 stb r12, (B_epcl - 0x7FFFF0)(r13)
ROM:0047ED64
how can i add a instruction to make timer
many thanks