f3 menu is fixed, but the keys still move pretty fast
This commit is contained in:
@@ -1218,7 +1218,11 @@ DetermineNewest:
|
|||||||
mov dword[newestfiledate],0
|
mov dword[newestfiledate],0
|
||||||
mov byte[newestfileloc],0
|
mov byte[newestfileloc],0
|
||||||
|
|
||||||
|
%ifdef __LINUX__
|
||||||
|
determinenewhelp 0,'t'
|
||||||
|
%else
|
||||||
determinenewhelp 0,'T'
|
determinenewhelp 0,'T'
|
||||||
|
%endif
|
||||||
determinenewhelp 1,'1'
|
determinenewhelp 1,'1'
|
||||||
determinenewhelp 2,'2'
|
determinenewhelp 2,'2'
|
||||||
determinenewhelp 3,'3'
|
determinenewhelp 3,'3'
|
||||||
@@ -1474,6 +1478,7 @@ NEWSYM drawfillboxsc16b
|
|||||||
|
|
||||||
NEWSYM drawbox
|
NEWSYM drawbox
|
||||||
; draws a box according to position bl and color dl
|
; draws a box according to position bl and color dl
|
||||||
|
STUB_ASM
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov al,11
|
mov al,11
|
||||||
mul bl
|
mul bl
|
||||||
@@ -1597,7 +1602,11 @@ NEWSYM saveselect
|
|||||||
mov bl,byte[fnamest+eax]
|
mov bl,byte[fnamest+eax]
|
||||||
push ebx
|
push ebx
|
||||||
call DetermineNewest
|
call DetermineNewest
|
||||||
|
%ifdef __LINUX__
|
||||||
|
drawfillboxhelp 0,'t'
|
||||||
|
%else
|
||||||
drawfillboxhelp 0,'T'
|
drawfillboxhelp 0,'T'
|
||||||
|
%endif
|
||||||
drawfillboxhelp 1,'1'
|
drawfillboxhelp 1,'1'
|
||||||
drawfillboxhelp 2,'2'
|
drawfillboxhelp 2,'2'
|
||||||
drawfillboxhelp 3,'3'
|
drawfillboxhelp 3,'3'
|
||||||
@@ -1686,7 +1695,11 @@ NEWSYM saveselect
|
|||||||
mov bl,0
|
mov bl,0
|
||||||
mov ebx,[statefileloc]
|
mov ebx,[statefileloc]
|
||||||
mov al,byte[fnamest+ebx]
|
mov al,byte[fnamest+ebx]
|
||||||
|
%ifdef __LINUX__
|
||||||
|
cmp al,'t'
|
||||||
|
%else
|
||||||
cmp al,'T'
|
cmp al,'T'
|
||||||
|
%endif
|
||||||
jne .noT
|
jne .noT
|
||||||
mov bl,0
|
mov bl,0
|
||||||
jmp .nexter
|
jmp .nexter
|
||||||
@@ -1744,7 +1757,11 @@ NEWSYM saveselect
|
|||||||
mov byte[pressed+28],0
|
mov byte[pressed+28],0
|
||||||
cmp bl,0
|
cmp bl,0
|
||||||
jne .nozero
|
jne .nozero
|
||||||
|
%ifdef __LINUX__
|
||||||
|
mov al,'t'
|
||||||
|
%else
|
||||||
mov al,'T'
|
mov al,'T'
|
||||||
|
%endif
|
||||||
jmp .save
|
jmp .save
|
||||||
.nozero
|
.nozero
|
||||||
add bl,48
|
add bl,48
|
||||||
@@ -1860,7 +1877,11 @@ NEWSYM saveselect
|
|||||||
mov bl,byte[fnamest+eax]
|
mov bl,byte[fnamest+eax]
|
||||||
push ebx
|
push ebx
|
||||||
call DetermineNewest
|
call DetermineNewest
|
||||||
|
%ifdef __LINUX__
|
||||||
|
drawfillboxhelp16b 0,'t'
|
||||||
|
%else
|
||||||
drawfillboxhelp16b 0,'T'
|
drawfillboxhelp16b 0,'T'
|
||||||
|
%endif
|
||||||
drawfillboxhelp16b 1,'1'
|
drawfillboxhelp16b 1,'1'
|
||||||
drawfillboxhelp16b 2,'2'
|
drawfillboxhelp16b 2,'2'
|
||||||
drawfillboxhelp16b 3,'3'
|
drawfillboxhelp16b 3,'3'
|
||||||
@@ -1950,7 +1971,11 @@ NEWSYM saveselect
|
|||||||
mov bl,0
|
mov bl,0
|
||||||
mov ebx,[statefileloc]
|
mov ebx,[statefileloc]
|
||||||
mov al,byte[fnamest+ebx]
|
mov al,byte[fnamest+ebx]
|
||||||
|
%ifdef __LINUX__
|
||||||
|
cmp al,'t'
|
||||||
|
%else
|
||||||
cmp al,'T'
|
cmp al,'T'
|
||||||
|
%endif
|
||||||
jne .noT16b
|
jne .noT16b
|
||||||
mov bl,0
|
mov bl,0
|
||||||
jmp .nexter16b
|
jmp .nexter16b
|
||||||
@@ -1979,7 +2004,11 @@ NEWSYM saveselect
|
|||||||
push ecx
|
push ecx
|
||||||
cmp bl,0
|
cmp bl,0
|
||||||
jne .nozero16b2
|
jne .nozero16b2
|
||||||
|
%ifdef __LINUX__
|
||||||
|
mov cl,'t'
|
||||||
|
%else
|
||||||
mov cl,'T'
|
mov cl,'T'
|
||||||
|
%endif
|
||||||
jmp .save16b2
|
jmp .save16b2
|
||||||
.nozero16b2
|
.nozero16b2
|
||||||
mov cl,bl
|
mov cl,bl
|
||||||
@@ -2045,7 +2074,11 @@ NEWSYM saveselect
|
|||||||
mov byte[pressed+28],0
|
mov byte[pressed+28],0
|
||||||
cmp bl,0
|
cmp bl,0
|
||||||
jne .nozero16b
|
jne .nozero16b
|
||||||
|
%ifdef __LINUX__
|
||||||
|
mov al,'t'
|
||||||
|
%else
|
||||||
mov al,'T'
|
mov al,'T'
|
||||||
|
%endif
|
||||||
jmp .save16b
|
jmp .save16b
|
||||||
.nozero16b
|
.nozero16b
|
||||||
add bl,48
|
add bl,48
|
||||||
|
|||||||
Reference in New Issue
Block a user