2007-02-01 12:46:48 +03:00
|
|
|
|
;====================================================================
|
|
|
|
|
;===== <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ===========================================
|
|
|
|
|
;====================================================================
|
2006-11-02 17:18:23 +03:00
|
|
|
|
scr_window:
|
|
|
|
|
.start:
|
|
|
|
|
.red:
|
2009-06-01 22:25:07 +04:00
|
|
|
|
call .draw_window
|
2006-11-02 17:18:23 +03:00
|
|
|
|
.still:
|
2009-06-01 22:25:07 +04:00
|
|
|
|
wait_event .red,close
|
|
|
|
|
jmp .still
|
2006-11-02 17:18:23 +03:00
|
|
|
|
|
|
|
|
|
.draw_window:
|
2009-06-01 22:25:07 +04:00
|
|
|
|
start_draw_window
|
|
|
|
|
xor eax,eax
|
|
|
|
|
movsx ebx,word [scr.width]
|
|
|
|
|
movsx ecx,word [scr.height]
|
|
|
|
|
;xor edx,edx
|
|
|
|
|
mov edx,0x01000000
|
|
|
|
|
xor esi,esi
|
|
|
|
|
xor edi,edi
|
|
|
|
|
mcall
|
2006-11-02 17:18:23 +03:00
|
|
|
|
|
2009-06-01 22:25:07 +04:00
|
|
|
|
mov eax,7
|
|
|
|
|
mov ebx,dword [scr_buf.ptr]
|
|
|
|
|
mov ecx,dword [scr_buf.size]
|
|
|
|
|
xor edx,edx
|
|
|
|
|
mcall
|
2006-11-02 17:18:23 +03:00
|
|
|
|
|
2009-06-01 22:25:07 +04:00
|
|
|
|
mov eax,13
|
|
|
|
|
mov ebx,19*65536+231
|
|
|
|
|
mov ecx,19*65536+10
|
|
|
|
|
mov edx,0x00FF00
|
|
|
|
|
mcall
|
2006-11-02 17:18:23 +03:00
|
|
|
|
|
2009-06-01 22:25:07 +04:00
|
|
|
|
mov edi,.label
|
|
|
|
|
call draw_label
|
2006-11-02 17:18:23 +03:00
|
|
|
|
|
2009-06-01 22:25:07 +04:00
|
|
|
|
stop_draw_window
|
2006-11-02 17:18:23 +03:00
|
|
|
|
ret
|
|
|
|
|
.label label 20,20,0x80000000,$+4
|
2009-06-01 22:25:07 +04:00
|
|
|
|
db '<27><><EFBFBD> <20><><EFBFBD> ᭨<><E1ADA8><EFBFBD>. <20><>室 - <20><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.',0
|
|
|
|
|
|