Mercurial > hg > Members > kono > os9 > sbc09
comparison src/trace.c @ 138:6f7276831219
TL/1 use x and y register
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jan 2019 19:32:10 +0900 |
parents | 9b661787d5ed |
children | f524c0c95559 |
comparison
equal
deleted
inserted
replaced
137:1078f3e31d9c | 138:6f7276831219 |
---|---|
157 int watch = phymem[b->address]; | 157 int watch = phymem[b->address]; |
158 #else | 158 #else |
159 int watch = mem[b->address]; | 159 int watch = mem[b->address]; |
160 #endif | 160 #endif |
161 if (ppc==b->address || b->watch != watch ) { | 161 if (ppc==b->address || b->watch != watch ) { |
162 if (b->watch != watch) | |
163 printf("%04x : %02x -> %02x ",b->address, b->watch ,watch); | |
162 b->watch = watch; | 164 b->watch = watch; |
163 if (b->count==-1) { // temporaly break point | 165 if (b->count==-1) { // temporaly break point |
164 BPTR next = b->next; | 166 BPTR next = b->next; |
165 free(b); | 167 free(b); |
166 *prev = next; | 168 *prev = next; |