Skip to content

Commit

Permalink
timer working in presence of null keyboard handler
Browse files Browse the repository at this point in the history
  • Loading branch information
akkartik committed Jun 30, 2021
1 parent 069a8df commit cd411f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timer.subx
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ initialize_32bit_mode:
# pin idt_descriptor below.
0f 01 3/subop/lidt 0/mod/indirect 5/rm32/use-disp32 0x7f00/disp32/idt_descriptor

# enable timer IRQ0
b0/copy-to-al 0xfe/imm8 # disable mask for IRQ0
# enable timer IRQ0 and keyboard IRQ1
b0/copy-to-al 0xfc/imm8 # disable mask for IRQ0 and IRQ1
e6/write-al-into-port 0x21/imm8

fb/enable-interrupts
Expand Down

0 comments on commit cd411f0

Please sign in to comment.