aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2016-01-25 14:45:32 -0500
committerDavid Li <li.davidm96@gmail.com>2016-01-25 14:45:32 -0500
commit0a17928ce7a20ffb06e55d8ea2edc98a9ec50260 (patch)
treea43be4681a7ad983973721cb7d66adae27f44e75
parente46c829c3703be25c457e75bb7f46c05694f5e75 (diff)
docs(devkit): remove useless code in example bot
-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");