|
|
@ -86,7 +86,7 @@ namespace hv {
|
|
|
|
for(;i<memory.size();i++) {
|
|
|
|
for(;i<memory.size();i++) {
|
|
|
|
if (i && i % ROW_SZ == 0) { //TODO: Change to i +=16 so we don't have to branch here on every byte. Make sure to not overrun buffer tho
|
|
|
|
if (i && i % ROW_SZ == 0) { //TODO: Change to i +=16 so we don't have to branch here on every byte. Make sure to not overrun buffer tho
|
|
|
|
print_exact(r_ascii);
|
|
|
|
print_exact(r_ascii);
|
|
|
|
fmt::print("\n0x{:016x} ", i+offset);
|
|
|
|
fmt::print("\n0x{:016x} ", i+offset); //TODO: Implement this manually then write the buffer with `print_exact`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
unsigned char idx = memory[i];
|
|
|
|
unsigned char idx = memory[i];
|
|
|
|
hex02(idx, hxbuf);
|
|
|
|
hex02(idx, hxbuf);
|
|
|
|