Subversion Repositories Kolibri OS

Rev

Rev 485 | Rev 1643 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
255 heavyiron 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
1632 mario79 19
 
20
;   mov [ScreenPointer],0x19000
21
;   mov [PointerToPicture],0x19000+(1200*1000*3)+50*(20*20*3)+500000
22
;   mov [PointerToCopyPicture],0x19000+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)
23
;   mov [PointerToCopyPicture2],0x19000+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*2
24
;   mov [PointerToEditBufer],0x19000+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*3
25
;   mov [PointerToSpriteBufer],0x19000+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*4
26
;   mov [PointerToPalette],0x19000+(1200*100*3)+50*(20*20*3)+1
27
;   mov [ReserveArray],0x19000+(1200*1000)*3+50*(20*20*3)+8
28
 
29
;   mov [ScreenPointer],I_END ; S = 0, L = 3600000 + 60000 + 500000 = 4160000 = 3,97 Mb
30
;   mov [PointerToPicture],     I_END+(1200*1000*3)+50*(20*20*3)+500000 ; S = 4160000, L = 768000 = 750 Kb
31
;   mov [PointerToCopyPicture], I_END+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3) ; S = 4928000, L = 768000 = 750 Kb
32
;   mov [PointerToCopyPicture2],I_END+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*2 ; S = 5696000, L = 768000 = 750 Kb
33
;   mov [PointerToEditBufer],   I_END+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*3 ; S = 6464000, L = 768000 = 750 Kb
34
;   mov [PointerToSpriteBufer], I_END+(1200*1000*3)+50*(20*20*3)+500000+(640*400*3)*4 ; S = 7232000, L = 768000 = 750 Kb
35
;   mov [PointerToPalette],     I_END+(1200*100*3)+50*(20*20*3)+1  ; S = 420001
36
;   mov [ReserveArray],         I_END+(1200*1000)*3+50*(20*20*3)+8 ; S = 3660008
37
 
38
	mcall	68,12,4096
39
	mov	[ScreenPointer],eax
40
 
255 heavyiron 41
   and [save_flag],0
42
   mov [line_width],1
43
   mov [lastik_is_active],0
44
   and [crossing],0
45
   and [finishing_crossing],0
46
   and [number_undo],0
47
   and [instrument_used],0
48
   and [DrawSprite_flag],0
1632 mario79 49
;   and [extended_memory],0
255 heavyiron 50
 
51
   ;mov eax,68
52
   ;mov ebx,11
485 heavyiron 53
   ;mcall
255 heavyiron 54
 
55
   ;mov eax,68
56
   ;mov ebx,12
57
   ;mov ecx,60000
485 heavyiron 58
   ;mcall
255 heavyiron 59
 
60
   ;mov [PointerToIcons],eax
61
 
62
   finit