diff options
author | Iru Cai <mytbk920423@gmail.com> | 2021-05-10 20:37:57 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2021-05-10 20:39:53 +0800 |
commit | 03be543d2e4ed7c9da5b63b74625d4b802bd9316 (patch) | |
tree | 23f84dc08617706703964f6f0dd3903b7cf44d6e /readme.rst | |
parent | d7620b8069cc098e317f6bdaa2d05b8a36db4c61 (diff) | |
download | rich4-03be543d2e4ed7c9da5b63b74625d4b802bd9316.tar.xz |
replace card strings
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);
}
}
Diffstat (limited to 'readme.rst')
0 files changed, 0 insertions, 0 deletions