Replaced all the slow 'loop' instructions.

This commit is contained in:
stainless
2001-09-08 02:28:25 +00:00
parent 8880dcfb68
commit 6dc7a5c5d5
10 changed files with 248 additions and 82 deletions

View File

@@ -146,7 +146,9 @@ CalibrateDispA:
.a
mov byte[pressed+ebx],0
inc ebx
loop .a
; loop .a
dec ecx
jnz .a
call GUIUnBuffer
call DisplayBoxes
call DisplayMenu
@@ -171,7 +173,9 @@ CalibrateDispB:
.a
mov byte[pressed+ebx],0
inc ebx
loop .a
; loop .a
dec ecx
jnz .a
call GUIUnBuffer
call DisplayBoxes
call DisplayMenu
@@ -207,7 +211,9 @@ SetAllKeys:
.a
mov byte[pressed+ebx],0
inc ebx
loop .a
; loop .a
dec ecx
jnz .a
mov byte[GUICBHold],0
mov edi,pl1selk