contribution from hpsolo:

F2/F4 displays which save state
F3 Linux menu fix
more key fixes for gui
This commit is contained in:
teuf
2001-05-09 15:06:37 +00:00
parent 35ac4fa22b
commit 120ae28c4c
3 changed files with 19 additions and 4 deletions

View File

@@ -177,6 +177,9 @@ EXTSYM numlockptr
EXTSYM CheckPriority
EXTSYM CheckAlwaysOnTop
%endif
%ifdef __LINUX__
EXTSYM numlockptr
%endif
NEWSYM GuiAsmStart

View File

@@ -1889,8 +1889,20 @@ GUIStateSelKeys:
inc cl
jmp .done
.noright
%ifdef __LINUX__
cmp al,90
je .vert
cmp dword[numlockptr],1
je .novert
%endif
cmp al,72
je .vert
%ifdef __LINUX__
cmp al,96
je .vert
cmp dword[numlockptr],1
je .novert
%endif
cmp al,80
jne .novert
.vert

View File

@@ -2188,7 +2188,7 @@ NEWSYM testpressed8b
;jne near .nowin32
%ifndef __MSDOS__
%ifdef __LINUX__
test byte[pressed+05Ch],1
test byte[pressed+92],1
%else
test byte[pressed+0CBh],1
%endif
@@ -2197,13 +2197,13 @@ NEWSYM testpressed8b
je .noleft2
dec bl
%ifdef __LINUX__
test byte[pressed+05Ch],1
mov byte[pressed+92],2
%else
mov byte[pressed+0CBh],2
%endif
.noleft2
%ifdef __LINUX__
test byte[pressed+05Eh],1
test byte[pressed+94],1
%else
test byte[pressed+0CDh],1
%endif
@@ -2212,7 +2212,7 @@ NEWSYM testpressed8b
je .noright2
inc bl
%ifdef __LINUX__
test byte[pressed+05Eh],1
mov byte[pressed+94],2
%else
mov byte[pressed+0CDh],2
%endif