Subversion Repositories Kolibri OS

Rev

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

  1. ;---------------------------------------------------------
  2. ;--------initializate data and params of program----------
  3. ;---------------------------------------------------------
  4.         mov     [Scroll1CoordinatX],8+1
  5.         mov     [Scroll2CoordinatY],20+15+1+50+3
  6.         mov     [Window_SizeX],640
  7.         mov     [Window_SizeY],220
  8.         mov     [Window_CordinatX],50
  9.         mov     [Window_CordinatY],50
  10.         mov     [WorkScreen_SizeX],100
  11.         mov     [WorkScreen_SizeY],100
  12.         mov     [MaxWorkScreen_SizeX],100
  13.         mov     [MaxWorkScreen_SizeY],100
  14.         and     [PosX],0
  15.         and     [PosY],0
  16.         mov     [Picture_SizeX],640;400
  17.         mov     [Picture_SizeY],400;280
  18.         mov     [k],1
  19.  
  20. ;   mov [ScreenPointer],I_END ; S = 0, L = 3600000 + 60000 + 500000 = 4160000 = 3,97 Mb
  21. ;   mov [PointerToPicture],     I_END+(1200*1000*3)+50*(20*20*3)+500000 ; S = 4160000, L = 768000 = 750 Kb
  22. ;   mov [PointerToCopyPicture], I_END+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3) ; S = 4928000, L = 768000 = 750 Kb
  23. ;   mov [PointerToCopyPicture2],I_END+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*2 ; S = 5696000, L = 768000 = 750 Kb
  24. ;   mov [PointerToEditBufer],   I_END+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*3 ; S = 6464000, L = 768000 = 750 Kb
  25. ;   mov [PointerToSpriteBufer], I_END+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*4 ; S = 7232000, L = 768000 = 750 Kb
  26. ;   mov [PointerToPalette],     I_END+(1200*100*3)+50*(20*20*3)+1  ; S = 420001
  27. ;   mov [ReserveArray],         I_END+(1200*1000)*3+50*(20*20*3)+8 ; S = 3660008
  28.  
  29.         mcall   68,12,4096
  30.         mov     [ScreenPointer],eax
  31.  
  32.         and     [save_flag],0
  33.         mov     [line_width],1
  34.         mov     [lastik_is_active],0
  35.         and     [crossing],0
  36.         and     [finishing_crossing],0
  37.         and     [number_undo],0
  38.         and     [instrument_used],0
  39.         and     [DrawSprite_flag],0
  40. finit
  41.