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 CheckPriority
EXTSYM CheckAlwaysOnTop EXTSYM CheckAlwaysOnTop
%endif %endif
%ifdef __LINUX__
EXTSYM numlockptr
%endif
NEWSYM GuiAsmStart NEWSYM GuiAsmStart

View File

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

View File

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