forked from KolibriOS/kolibrios
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:
parent
de8931dae4
commit
a16331c816
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user