📄 ps2.asm
字号:
;
; Extended Operating System Loader (XOSL)
; Copyright (c) 1999 by Geurt Vos
;
; This code is distributed under GNU General Public License (GPL)
;
; The full text of the license can be found in the GPL.TXT file,
; or at http://www.gnu.org
;
.model compact
.386p
.code
public @CMouse@Ps2Initialize$qi
;int CMouse::PS2Initialize(int PackSize);
@CMouse@Ps2Initialize$qi proc c
arg @@PackSize: word
mov ax,0c205h
mov bh,byte ptr @@PackSize
int 15h
or ah,ah
jnz PS2IErr
mov ax,0c201h
int 15h
or ah,ah
jz PS2IEnd
PS2IErr: mov ah,1
PS2IEnd: shr ax,8
ret
endp
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -