diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-12-23 22:48:47 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-12-23 22:48:47 -0800 |
commit | 169adc36d3d90302a9837b9b1dc1b94de43e2350 (patch) | |
tree | 510e8d91ff78dd546c6b292b6092e7e29c5f1eb2 | |
parent | a94ac8f06826571666ea0a88feb3a4bf35b4ddfe (diff) | |
download | mu-169adc36d3d90302a9837b9b1dc1b94de43e2350.tar.gz |
7394
I think https://stackoverflow.com/questions/37618111/keyboard-irq-within-an-x86-kernel has more insight to provide. Among other things the comment about grub may answer the distinction between entry 0x21 and entry 9.
-rw-r--r-- | apps/boot.hex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/boot.hex b/apps/boot.hex index d8c80e79..181fdcd4 100644 --- a/apps/boot.hex +++ b/apps/boot.hex @@ -224,7 +224,7 @@ e9 fb ff ff ff # loop forever # acknowledge interrupt b0 20 # al <- 0x20 e6 20 # port 0x20 <- al - # read keyboard status (IBF from https://web.archive.org/web/20040604041507/http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/keyboard/atkeyboard.html) + # read keyboard status (TODO: why bit 0? Doesn't line up with https://web.archive.org/web/20040604041507/http://panda.cs.ndsu.nodak.edu/~achapwes/PICmicro/keyboard/atkeyboard.html) e4 64 # al <- port 0x64 a8 01 # set zf if bit 0 (least significant) is not set 74 00 # if bit 0 is not set, skip to epilogue HERE |