24,6 → 24,30 |
jmp ctx_menu_still |
;------------------------------------------------------------------------------ |
align 4 |
ctx_menu_mouse: |
mcall 37,2 |
xchg eax,ecx ;
᫨ ¥ ®¤ ¨§ ª®¯®ª ¥ ¦ â ¢®§¢à é ¥¬áï |
; ¢ £« ¢ë© 横« ¯®â®ª |
jecxz ctx_menu_still |
|
mcall 37,1 |
|
cmp ax, 0 ; ã⠯஢¥à塞 ¯à®¨§®èñ«-«¨ ª«¨ª § ¯à¥¤¥« ¬¨ ®ª ª®â¥ªá⮣® |
jb ctx_menu_exit ; ¬¥î, ¥á«¨ § ¯à¥¤¥« ¬¨ â® § ªàë¢ ¥¬ ª®â¥ªá⮥ ¬¥î |
|
cmp ax, 60 ; 41 |
ja ctx_menu_exit |
|
shr eax, 16 |
cmp ax, 0 |
jb ctx_menu_exit |
|
cmp ax, 133 |
ja ctx_menu_exit |
|
jmp ctx_menu_still |
;------------------------------------------------------------------------------ |
align 4 |
ctx_menu_key: |
mcall 2 |
;-------------------------------------- |
33,10 → 57,14 |
cmp ah, 1 |
jne @f |
|
mov eax, 18 |
mov ebx, 2 |
mov ecx, [n_slot] |
jmp .lllxxx |
; mov eax, 18 |
; mov ebx, 2 |
; mov ecx, [n_slot] |
; jmp .lllxxx |
mcall 18,3,[n_slot] |
mcall 72,1,3,1 |
mcall 68,1 |
jmp ctx_menu_exit |
;-------------------------------------- |
align 4 |
@@: |
57,30 → 85,6 |
jmp ctx_menu_exit |
;-------------------------------------- |
align 4 |
ctx_menu_mouse: |
mcall 37,2 |
xchg eax,ecx ;
᫨ ¥ ®¤ ¨§ ª®¯®ª ¥ ¦ â ¢®§¢à é ¥¬áï |
; ¢ £« ¢ë© 横« ¯®â®ª |
jecxz ctx_menu_still |
|
mcall 37,1 |
|
cmp ax, 0 ; ã⠯஢¥à塞 ¯à®¨§®èñ«-«¨ ª«¨ª § ¯à¥¤¥« ¬¨ ®ª ª®â¥ªá⮣® |
jb ctx_menu_exit ; ¬¥î, ¥á«¨ § ¯à¥¤¥« ¬¨ â® § ªàë¢ ¥¬ ª®â¥ªá⮥ ¬¥î |
|
cmp ax, 60 ; 41 |
ja ctx_menu_exit |
|
shr eax, 16 |
cmp ax, 0 |
jb ctx_menu_exit |
|
cmp ax, 133 |
ja ctx_menu_exit |
|
jmp ctx_menu_still |
;-------------------------------------- |
align 4 |
ctx_menu_exit: |
or eax,-1 |
mcall |