ADD file via upload

master
pumnflqv2 3 years ago
parent 0dbe4aa1db
commit a96102f10d

@ -0,0 +1,66 @@
# 1 "mouse.S"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "mouse.S"
# 1 "mouse.S"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "mouse.S"
# 1 "../../include/linux/config.h" 1
# 36 "../../include/linux/config.h"
# 47 "../../include/linux/config.h"
# 2 "mouse.S" 2
.globl mouse_interrupt
mouse_interrupt:
pushl %eax
pushl %ebx
pushl %ecx
pushl %edx
push %ds
movl $0x10,%eax
mov %ax,%ds #call
xor %eax,%eax
#$0x60,inb
#AL
#
inb $0x60,%al #
pushl %eax
call readmouse #c
addl $4,%esp
#mouse_interupt 8259A(EOI)
movb $0x20,%al
outb %al,$0xA0
outb %al,$0x20
pop %ds
popl %edx
popl %ecx
popl %ebx
popl %eax
iret
Loading…
Cancel
Save