Ignore:
Timestamp:
Jun 29, 2017, 11:02:22 AM (5 years ago)
Author:
max@…
Message:

retrieve the pressed key, and display it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_cpu.S

    r85 r91  
    5656        ret
    5757
     58ASM_ENTRY(in8)
     59        movq    %rdi,%rdx
     60        xorq    %rax,%rax
     61        inb     %dx,%al
     62        ret
     63
    5864ASM_ENTRY(out8)
    5965        movq    %rdi,%rdx
Note: See TracChangeset for help on using the changeset viewer.