diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-10 22:48:30 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-10 22:58:21 +0200 |
| commit | 4b5ab5d1808949661b4b449af914f3659596ef73 (patch) | |
| tree | bf583393c9262c96bc244466e042725c7b0745bf /tools | |
| parent | 70d3a3de3a2fdef7e47b2bd510261d69390a3a9c (diff) | |
| download | nissy-core-4b5ab5d1808949661b4b449af914f3659596ef73.tar.gz nissy-core-4b5ab5d1808949661b4b449af914f3659596ef73.zip | |
8 bit tables
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/001_gendata_h48h0k4/gendata_h48h0k4.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/001_gendata_h48h0k4/gendata_h48h0k4.c b/tools/001_gendata_h48h0k4/gendata_h48h0k4.c index a2c57ca..0e3deb1 100644 --- a/tools/001_gendata_h48h0k4/gendata_h48h0k4.c +++ b/tools/001_gendata_h48h0k4/gendata_h48h0k4.c | |||
| @@ -36,6 +36,9 @@ void run(void) { | |||
| 36 | if (s == -1) { | 36 | if (s == -1) { |
| 37 | printf("Error generating table\n"); | 37 | printf("Error generating table\n"); |
| 38 | } else { | 38 | } else { |
| 39 | printf("Table is probably ok\n"); | ||
| 40 | /* | ||
| 41 | TODO: adapt to new tables | ||
| 39 | printf("Succesfully generated %" PRId64 " bytes. Table:\n", s); | 42 | printf("Succesfully generated %" PRId64 " bytes. Table:\n", s); |
| 40 | h48info = (uint32_t *)buf + 1 + (ETABLESIZE(HVALUE) + COCSEPSIZE) / 4; | 43 | h48info = (uint32_t *)buf + 1 + (ETABLESIZE(HVALUE) + COCSEPSIZE) / 4; |
| 41 | for (i = 0; i < MAXDEPTH+1 && h48info[i+1]; i++) { | 44 | for (i = 0; i < MAXDEPTH+1 && h48info[i+1]; i++) { |
| @@ -46,6 +49,7 @@ void run(void) { | |||
| 46 | expected[i]); | 49 | expected[i]); |
| 47 | printf("\n"); | 50 | printf("\n"); |
| 48 | } | 51 | } |
| 52 | */ | ||
| 49 | } | 53 | } |
| 50 | } | 54 | } |
| 51 | 55 | ||
