diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-12-23 22:02:06 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-12-23 22:18:11 -0800 |
commit | a94ac8f06826571666ea0a88feb3a4bf35b4ddfe (patch) | |
tree | 2114645b75df046564670628a6e6f4e2c0f552d5 /README.md | |
parent | 3a66a9093065bf7565f3809ba92e90d4d16b3b7d (diff) | |
download | mu-a94ac8f06826571666ea0a88feb3a4bf35b4ddfe.tar.gz |
7393
Snapshot. Keyboard interrupt being triggered. This was hard to debug until https://stackoverflow.com/questions/37618111/keyboard-irq-within-an-x86-kernel reminded me that I'd forgotten to enable IRQ1 on port 0x21. For a while I was confused by never hitting a breakpoint at the start of the keyboard handler. Then I found https://sourceforge.net/p/bochs/discussion/39592/thread/5e397455 and started skipping one instruction in my breakpoint. I still don't understand the discrepancy between some people installing the handler at entry 9, and others installing at entry 0x21 = 33.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md index 34070bbc..f39cd10b 100644 --- a/README.md +++ b/README.md @@ -220,3 +220,6 @@ claims of completeness: - Wikipedia on BIOS interfaces: [Int 10h](https://en.wikipedia.org/wiki/INT_10H), [Int 13h](https://en.wikipedia.org/wiki/INT_13H). - [Some tips on programming bootloaders](https://stackoverflow.com/questions/43786251/int-13h-42h-doesnt-load-anything-in-bochs/43787939#43787939) by Michael Petch. +- [xv6, the port of Unix Version 6 to x86 processors](https://github.com/mit-pdos/xv6-public) +- Some tips on handling keyboard interrupts by [Alex Dzyoba](https://alex.dzyoba.com/blog/os-interrupts) + and [Michael Petch](https://stackoverflow.com/questions/37618111/keyboard-irq-within-an-x86-kernel). |