kiv and libimg.asm: Follow asm style guide, no semantic changes.

git-svn-id: svn://kolibrios.org@8497 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2020-12-30 05:32:02 +00:00
parent de8931dae4
commit a16331c816
2 changed files with 2504 additions and 2461 deletions

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,8 @@ START:
mcall SF_SYSTEM, SSF_MOUSE_SETTINGS, SSSF_SET_SPEEDUP, 5
mcall SF_SYS_MISC, SSF_HEAP_INIT
mcall SF_KEYBOARD, SSF_SET_INPUT_MODE, 1 ; set kbd mode to scancodes
mcall SF_SET_EVENTS_MASK, EVM_REDRAW or EVM_KEY or EVM_BUTTON or EVM_MOUSE or EVM_MOUSE_FILTER
mcall SF_SET_EVENTS_MASK, EVM_REDRAW or EVM_KEY or EVM_BUTTON or \
EVM_MOUSE or EVM_MOUSE_FILTER
stdcall dll.Load, @IMPORT
or eax, eax
@ -1062,9 +1063,9 @@ proc draw_window
cmp [window.width], 0
jne @f
mcall SF_GET_SCREEN_SIZE
mov ebx,eax ;
shr ebx,16 ; ebx = width
movzx esi,ax ; esi = height
mov ebx, eax
shr ebx, 16 ; ebx = width
movzx esi, ax ; esi = height
mov eax, ebx
xor edx, edx