WIP: eval_rom in binary

This commit is contained in:
Yuichi Nishiwaki
2017-04-22 17:48:26 -07:00
parent 89667cf994
commit cfb732afaf
5 changed files with 4599 additions and 1727 deletions
+4578 -1665
View File
File diff suppressed because it is too large Load Diff
+7 -3
View File
@@ -9,12 +9,16 @@
static size_t offset = 0;
#define DUMP(c) do { printf("0x%02x, ", c); if (++offset == 12) { puts(""); offset = 0; } } while (0)
static void
dump1(pic_state *pic, unsigned char c)
{
DUMP(c);
printf("0x%02x,", c);
if (++offset == 12) {
puts("");
offset = 0;
} else {
putchar(' ');
}
}
static void