Thanks for posting this! As my version is "hacky".
Btw here's a snippet of source to allow the user to hold/press their other buttons.
Btw here's a snippet of source to allow the user to hold/press their other buttons.
Code:
.if (region == 'E' || region == 'e') # RMCE
lis r12, 0x8034
.elseif (region == 'P' || region == 'p') # RMCP
lis r12, 0x8034
.elseif (region == 'J' || region == 'j') # RMCJ
lis r12, 0x8034
.elseif (region == 'K' || region == 'k') # RMCK
lis r12, 0x8033
.else # Invalid Region
.err
.endif
ori r12, r12, 0xXXXX
lhz r12, 0 (r12)
li r11, 0xZZZZ
and r0, r11, r12
cmpw r0, r11
bne+ end