Subversion Repositories Kolibri OS

Rev

Rev 205 | Rev 1100 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;====================================================================
  2. ;===== ŽŠŽ …„Ž‘ŒŽ’€ ===========================================
  3. ;====================================================================
  4. scr_window:
  5. .start:
  6. .red:
  7.         call    .draw_window
  8. .still:
  9.         wait_event .red,close
  10.         jmp     .still
  11.  
  12. .draw_window:
  13.         start_draw_window
  14.         xor     eax,eax
  15.         movsx   ebx,word [scr.width]
  16.         movsx   ecx,word [scr.height]
  17.         ;xor     edx,edx
  18.         mov     edx,0x01000000
  19.         xor     esi,esi
  20.         xor     edi,edi
  21.         int     0x40
  22.  
  23.         movr     eax,7
  24.         mov     ebx,[scr_buf.ptr]
  25.         mov     ecx,[scr_buf.size]
  26.         xor     edx,edx
  27.         int     0x40
  28.  
  29.         movr     eax,13
  30.         mov     ebx,19*65536+231
  31.         mov     ecx,19*65536+10
  32.         mov     edx,0x00FF00
  33.         int     0x40
  34.  
  35.         mov     edi,.label
  36.         call    draw_label
  37.  
  38.         stop_draw_window
  39. ret
  40. .label label 20,20,0x80000000,$+4
  41. db 'â® ¢ è á­¨¬®ª. ‚ë室 - «î¡ ï ª« ¢¨è .',0