aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md3
-rw-r--r--devkit/test.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/TODO.md b/TODO.md
index fb685ab..b2f00b7 100644
--- a/TODO.md
+++ b/TODO.md
@@ -27,6 +27,9 @@ https://git.lidavidm.me/cacheracer/.
- [ ] Core status
- [ ] Cache info
- [ ] Enemy memory should be inaccessible unless in sneak-attack mode
+- [ ] Easy snooping: instead of storing data in cache, just track tags
+ and defer to memory when data actually read (depends on memory not
+ itself stalling)
## Scoring
diff --git a/devkit/test.c b/devkit/test.c
index ddf25a4..2649f20 100644
--- a/devkit/test.c
+++ b/devkit/test.c
@@ -1,11 +1,7 @@
#include "cacheracer.h"
void __start(int core_id, unsigned char payload) {
- printi(HOME_RW_START - sizeof(struct player_status));
- /* int test = global + 2; */
- /* print(hello); */
int *ptr = (int*) (HOME_DATA_START + 0x100 * core_id);
- /* int *ptr = (int*) (0x6000); */
int i = 0;
if (core_id > 1) {
prints("Core ID > 1, sneak attacking");