diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-04-05 21:10:45 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-04-05 21:15:06 -0700 |
commit | 928fd47d680a5cbdfa798c4a66ee61f693407faf (patch) | |
tree | 769ffeaa141867939ed4e80ef41222c0e4430c66 /linux/translate | |
parent | 463878a4a4690392455080282287316879a5a649 (diff) | |
download | mu-928fd47d680a5cbdfa798c4a66ee61f693407faf.tar.gz |
snapshot: stupid debugging session
I spent a while building a little keyboard scancode printer: $ ./translate ex1.mu && qemu-system-i386 disk.img ..and wondering why up-arrow was 0x48 in hex but 724 in decimal. I ended up paranoidly poking at a bunch of crap (though there _is_ a cool chromatography-based debugging technique in 126write-int-decimal.subx) before I realized: - 724 just has one extra digit over the correct answer - the 0xe0 scan code is a 3-digit number in decimal -- and the final digit is '4' There's nothing actually wrong.
Diffstat (limited to 'linux/translate')
0 files changed, 0 insertions, 0 deletions