No changes between revisions
/programs/games/mblocks/trunk/mblocks.asm |
258,31 → 258,37 |
jmp @b |
|
draw_window: |
mov eax, 48 |
mov ebx, 3 |
push 48 |
pop eax |
push 3 |
pop ebx |
mov ecx, color_table |
mov edx, 40 |
push 4*10 |
pop edx |
int 0x40 ; get color table |
|
mov eax, 12 |
mov ebx, 1 |
push 12 |
pop eax |
push 1 |
pop ebx |
int 0x40 ; start redraw |
|
push ebx |
xor eax, eax |
mov ebx, 100*65536 + WindowWidth |
mov ecx, 100*65536 + WindowHeight |
add ecx, [SkinHeight] |
mov edx, 0x14C0C0C0 |
mov edi, caption |
int 0x40 |
|
mov edx, 4C0C0C0h |
int 0x40 ; define window |
mov al, 71 |
pop ebx |
mov ecx, caption |
int 0x40 ; set caption |
call draw_aux |
call draw_field |
|
mov eax, 12 |
mov ebx, 2 |
int 0x40 ; end redraw |
|
push 12 |
pop eax |
push 2 |
pop ebx |
int 0x40 |
ret |
|
caption db 'Memory Blocks L&V Edition',0 |