summaryrefslogtreecommitdiff
path: root/asm/card_strings.c
AgeCommit message (Collapse)Author
2021-05-10replace card stringsIru Cai
I generate a script with the following program to replace the refs in card_strings. int main() { const unsigned addr = 0x48123a; for (int i = 0; i < 12 * 3 * 30; i++) { unsigned offset = i * 4; printf("sed -i 's/ref_%08x/(card_strings+%d)/g' rich4.asm\n", addr + offset, offset); } }