about summary refs log tree commit diff stats
path: root/apps/ex1.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-23 22:02:06 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-23 22:18:11 -0800
commita94ac8f06826571666ea0a88feb3a4bf35b4ddfe (patch)
tree2114645b75df046564670628a6e6f4e2c0f552d5 /apps/ex1.subx
parent3a66a9093065bf7565f3809ba92e90d4d16b3b7d (diff)
downloadmu-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 'apps/ex1.subx')
0 files changed, 0 insertions, 0 deletions