Subversion Repositories Kolibri OS

Rev

Rev 387 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 387 Rev 400
Line 22... Line 22...
22
;    0x9044 -  word - version (BCD)
22
;    0x9044 -  word - version (BCD)
23
;    0x9046 -  word - flags
23
;    0x9046 -  word - flags
24
;
24
;
25
;   Runtime:
25
;   Runtime:
26
;
26
;
-
 
27
; 0x00000000 -> 0x7FBFFFFF  application 2Gb-4Mb
-
 
28
; 0x7FC00000 -> 0x7FFFFFFF  page tables 4Mb
-
 
29
 
-
 
30
 
27
;   0000  ->   1FFF   window_data   - 256 entries
31
; 0x80000000 -> 1FFF   window_data   - 256 entries
28
;
32
;
29
;         0000 dword  x start
33
;         0000 dword  x start
30
;         0004 dword  y start
34
;         0004 dword  y start
31
;         0008 dword  x size
35
;         0008 dword  x size
32
;         000C dword  y size
36
;         000C dword  y size
Line 117... Line 121...
117
;   FFF2              write and read bank in screen
121
;   FFF2              write and read bank in screen
118
;   FFF4  byte        0 if first mouse draw & do not return picture under
122
;   FFF4  byte        0 if first mouse draw & do not return picture under
119
;   FFF5  byte        1 do not draw pointer
123
;   FFF5  byte        1 do not draw pointer
120
;   FFFF  byte        do not change task for 1/100 sec.
124
;   FFFF  byte        do not change task for 1/100 sec.
121
;
125
;
122
;  10000  ->  3DBFF   kernel, 32-bit run-time code (up to 183 Kb)
126
; 0x80010000 ->  3DBFF   kernel, 32-bit run-time code (up to 183 Kb)
123
;  3DC00  ->  3EBFF   stack at boot time (4Kb)
127
; 0x8003DC00 ->  3EBFF   stack at boot time (4Kb)
124
;  3EC00  ->  3F5FF   basic text font II
128
; 0x8003EC00 ->  3F5FF   basic text font II
125
;  3F600  ->  3FFFF   basic text font I
129
; 0x8003F600 ->  3FFFF   basic text font I
126
;  40000  ->  4FFFF   data of retrieved disks and partitions (Mario79)
130
; 0x80040000 ->  4FFFF   data of retrieved disks and partitions (Mario79)
Line 127... Line 131...
127
 
131
 
128
;  50000  ->  50FFF   main page directory
132
; 0x80050000 ->  50FFF   main page directory
Line 129... Line 133...
129
;  50200  ->  5FFFF   pages bitmap
133
; 0x80050200 ->  5FFFF   pages bitmap
130
 
134
 
131
;  60000  ->  7FFFF   free (128 Kb)
135
; 0x80060000 ->  7FFFF   free (128 Kb)
132
;  80000  ->  8FFFF   additional app info, in 256 byte steps - 256 entries
136
; 0x80080000 ->  8FFFF   additional app info, in 256 byte steps - 256 entries
133
;
137
;
-
 
138
;         00  11db  name of app running
134
;           00  11db  name of app running
139
;         10 dword  pointer to  fpu save area
-
 
140
;         14 dword  event count
-
 
141
;         18 dword  user fpu exceptoins handler
-
 
142
;         1c dword  user sse exceptions handler
-
 
143
;         20 dword  PL0 stack base
-
 
144
;         24 dword  user heap base
-
 
145
;         28 dword  user heap top
-
 
146
;         2c dword  window cursor handle
-
 
147
;         30 dword  first event in list
-
 
148
;         34 dword  last event in list
-
 
149
;         38 dword  first kernel object in list
-
 
150
;         3c dword  last kernel object in list
-
 
151
;
135
;           10 108db  floating point unit save area
152
;         40-7F     unused
136
;           7f byte   0= no fpu saved ,  1= fpu saved to 0x10 -> restore
153
;
137
;           80 dword  address of random shaped window area
154
;         80 dword  address of random shaped window area
138
;           84 byte   shape area scale
155
;         84 byte   shape area scale
139
;           88 dword  free
156
;         88 dword  free
Line 150... Line 167...
150
;           B4  byte  keyboard mode: 0 = keymap, 1 = scancodes
167
;         B4  byte  keyboard mode: 0 = keymap, 1 = scancodes
151
;           B8 dword  physical address of directory table
168
;         B8 dword  physical address of directory table
152
;           BC dword  address of debug event memory
169
;         BC dword  address of debug event memory
153
;           C0  5 dd  thread debug registers: DR0,DR1,DR2,DR3,DR7
170
;         C0  5 dd  thread debug registers: DR0,DR1,DR2,DR3,DR7
154
;
171
;
155
;  90000  ->  9FFFF   tmp
172
; 0x80090000 ->  9FFFF   tmp
156
;  A0000  ->  AFFFF   screen access area
173
; 0x800A0000 ->  AFFFF   screen access area
157
;  B0000  ->  FFFFF   bios rest in peace -area
174
; 0x800B0000 ->  FFFFF   bios rest in peace -area
158
; 100000  -> 27FFFF   diskette image
175
; 0x80100000 -> 27FFFF   diskette image
159
; 280000  -> 281FFF   ramdisk fat
176
; 0x80280000 -> 281FFF   ramdisk fat
160
; 282000  -> 283FFF   floppy  fat
177
; 0x80282000 -> 283FFF   floppy  fat
161
;
178
;
162
; 284000  -> 29FFFF   free (112 Kb)
179
; 0x80284000 -> 29FFFF   free (112 Kb)
163
;
180
;
164
; 2A0000  -> 2B00ff   wav device data
181
; 0x802A0000 -> 2B00ff   wav device data
165
; 2C0000  -> 2C3fff   button info
182
; 0x802C0000 -> 2C3fff   button info
166
;
183
;
167
;        0000 word    number of buttons
184
;       0000 word    number of buttons
168
;        first button entry at 0x10
185
;        first button entry at 0x10
169
;        +0000 word   process number
186
;       +0000 word   process number
170
;        +0002 word   button id number : bits 00-15
187
;       +0002 word   button id number : bits 00-15
Line 172... Line 189...
172
;        +0006 word   x size
189
;       +0006 word   x size
173
;        +0008 word   y start
190
;       +0008 word   y start
174
;        +000A word   y size
191
;       +000A word   y size
175
;        +000C word   button id number : bits 16-31
192
;       +000C word   button id number : bits 16-31
176
;
193
;
177
; 2C4000  -> 2CFFFF   free (48Kb)
194
; 0x802C4000 -> 2CFFFF   free (48Kb)
178
;
195
;
179
; 2D0000  -> 2DFFFF   reserved port area
196
; 0x802D0000 -> 2DFFFF   reserved port area
180
;
197
;
181
;     0000   dword    no of port areas reserved
198
;       0000 dword   no of port areas reserved
182
;     0010   dword    process id
199
;       0010 dword   process id
183
;            dword    start port
200
;            dword   start port
184
;            dword    end port
201
;            dword   end port
185
;            dword    0
202
;            dword   0
186
;
203
;
187
; 2E0000  -> 2EFFFF   irq data area
204
; 0x802E0000 -> 2EFFFF   irq data area
188
; 2F0000  -> 2FFFFF   low memory save
205
; 0x802F0000 -> 2FFFFF   low memory save
189
;
206
;
190
; 300000  -> 45FFFF   background image, max 1,375 M
207
; 0x80300000 -> 45FFFF   background image, max 1,375 M
191
;
208
;
192
; 460000  -> 5FFFFF   display info
209
; 0x80460000 -> 5FFFFF   display info
193
;
210
;
194
; 600000  -> 6FFFFF   hd cache
211
; 0x80600000 -> 6FFFFF   hd cache
195
;
212
;
196
; 700000  -> 71ffff   tcp memory       (128 kb)
213
; 0x80700000 -> 71ffff   tcp memory       (128 kb)
197
; 720000  -> 75ffff   free (256 kb)
214
; 0x80720000 -> 75ffff   free (256 kb)
198
;
215
;
199
; 760000  -> 76ffff   !vrr driver
216
; 0x80760000 -> 76ffff   !vrr driver
200
; 770000  -> 777fff   tcp memory       ( 32 kb)
217
; 0x80770000 -> 777fff   tcp memory       ( 32 kb)
201
;
218
;
202
; 780000  -> 987FFF   TSS and IO map for (8192*8)=65536 ports
219
; 0x80780000 -> 0x80987FFF TSS and IO map for (8192*8)=65536 ports
203
;                     (128+8192)*256 = 2129920 = 0x208000
220
;                          (128+8192)*256 = 2129920 = 0x208000
204
;
221
;
205
; 988000 -> 98AFFF    draw_data   - 256 entries
222
; 0x80988000 -> 0x8098AFFF draw_data   - 256 entries
206
;
223
;
207
;         00   dword  draw limit - x start
224
;         00   dword  draw limit - x start
208
;         04   dword  draw limit - y start
225
;         04   dword  draw limit - y start
209
;         08   dword  draw limit - x end
226
;         08   dword  draw limit - x end
210
;         0C   dword  draw limit - y end
227
;         0C   dword  draw limit - y end
211
;
228
;
212
;
229
;
213
; 0x0098B000 ->       kernel heap
230
; 0x8098B000 ->       kernel heap
214
;
-
 
215
; 0x01FFFFFF          heap min limit
231
; 0x81FFFFFF          heap min limit
216
; 0x7DBFFFFF          heap max limit
232
; 0xFDFFFFFF          heap max limit
-
 
233
 
217
; 0x7DC00000 -> 0x7FBFFFFF  LFB 32Mb
234
; 0xFE000000 -> 0xFFFFFFFF  LFB 32Mb
218
; 0x7DC00000 -> 0x7E3FFFFF  application available LFB 8Mb
235
; 0xFE000000 -> 0xFE7FFFFF  application available LFB 8Mb
219
; 0x7E400000 -> 0x7FBFFFFF  kernel LFB part 24 Mb
236
; 0xFE800000 -> 0xFFFFFFFF  kernel LFB part 24 Mb
220
; 0x7FC00000 -> 0x7FFFFFFF  page tables 4Mb
-
 
221
; 0x80000000 -> 0xFFFFFFFF  application 2Gb
-
 
222
-