Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Serial Repeaters not supported? #8

Open
TheGent opened this issue Aug 11, 2021 · 1 comment
Open

Serial Repeaters not supported? #8

TheGent opened this issue Aug 11, 2021 · 1 comment

Comments

@TheGent
Copy link

TheGent commented Aug 11, 2021

I have tried using serial repeaters with alt64 but they do not seem to be supported?

@parasyte
Copy link
Owner

It's supported:

alt64/utils.c

Lines 1090 to 1103 in 88473a8

// GS Patch/Repeater
"srl $t8, $v0, 8;"
"andi $t8, $t8, 0x00FF;" // Get address count
"andi $t7, $v0, 0x00FF;" // Get address increment
"lw $v0, 0x0000($t9);" // Load address
"lw $k1, 0x0004($t9);" // Load value
"addiu $t9, $t9, 0x0008;"
"2:"
"sh $k1, 0x0000($v0);" // Repeater/Patch write
"addiu $t8, $t8, -1;"
"addu $v0, $v0, $t7;"
"bnez $t8, 2b;"
"addu $k1, $k1, $v1;"

What code are you using, and what result do you expect it to have?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants