/kernel/trunk/core/heap.inc |
---|
214,8 → 214,7 |
btr [ebx], eax |
mov [mem_block_start],ebx |
sub ebx, mem_block_map |
shl ebx, 3 |
add eax,ebx |
lea eax,[eax+ebx*8] |
shl eax, 5 |
add eax, [mem_block_arr] |
dec [free_blocks] |
/kernel/trunk/core/memory.inc |
---|
172,8 → 172,7 |
btr [ebx], eax |
mov [page_start],ebx |
sub ebx, sys_pgmap |
shl ebx, 3 |
add eax,ebx |
lea eax, [eax+ebx*8] |
shl eax, 12 |
dec [pg_data.pages_free] |
popfd |
/kernel/trunk/drivers/ati2d.asm |
---|
430,8 → 430,7 |
mov [cursor_start],ebx |
sub ebx, cursor_map |
shl ebx, 3 |
add eax,ebx |
lea eax,[eax+ebx*8] |
shl eax,14 |
add eax, LFBAddress+CURSOR_IMAGE_OFFSET |
/kernel/trunk/gui/event.inc |
---|
44,8 → 44,7 |
btr [ebx], eax |
mov [event_start],ebx |
sub ebx, event_map |
shl ebx, 3 |
add eax,ebx |
lea eax,[eax+ebx*8] |
shl eax,5 |
add eax, [events] |
popfd |
/kernel/trunk/video/cursors.inc |
---|
282,8 → 282,7 |
mov [cursor_start],ebx |
sub ebx, cursor_map |
shl ebx, 3 |
add eax,ebx |
lea eax,[eax+ebx*8] |
shl eax,3 |
lea eax,[cursors+eax+eax*2] |