Subversion Repositories Kolibri OS

Rev

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

Rev 2382 Rev 2540
Line -... Line 1...
-
 
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-
 
2
;;                                                              ;;
-
 
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
-
 
4
;; Distributed under terms of the GNU General Public License    ;;
-
 
5
;;                                                              ;;
-
 
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;
7
;
2
;   MEMORY MAP
8
;   MEMORY MAP
3
;
9
;
4
;   Boot:
10
;   Boot:
5
;
11
;
Line 129... Line 135...
129
;   FE8C  dword       memory to use 
135
;   FE8C  dword       memory to use 
130
;   FE90  ->   FEFF   free (112)
136
;   FE90  ->   FEFF   free (112)
131
;   FF00  byte        1 = system shutdown request
137
;   FF00  byte        1 = system shutdown request
132
;   FF01  byte        task activation request?
138
;   FF01  byte        task activation request?
133
;   FFF0  byte        >0 if redraw background request from app
139
;   FFF0  byte        >0 if redraw background request from app
134
;   FFF1  byte        >0 if background changed
140
;   FFF1  byte        free
135
;   FFF2              write and read bank in screen
141
;   FFF2              write and read bank in screen
136
;   FFF4  byte        0 if first mouse draw & do not return picture under
142
;   FFF4  byte        0 if first mouse draw & do not return picture under
137
;   FFF5  byte        1 do not draw pointer
143
;   FFF5  byte        1 do not draw pointer
138
;   FFFF  byte        do not change task for 1/100 sec.
144
;   FFFF  byte        do not change task for 1/100 sec.
139
;
145
;
Line 196... Line 202...
196
; 0x80282000 -> 283FFF   floppy  fat    (8k)
202
; 0x80282000 -> 283FFF   floppy  fat    (8k)
197
;
203
;
198
; 0x80284000 -> 28BFFF   HDD DMA AREA   (32k)
204
; 0x80284000 -> 28BFFF   HDD DMA AREA   (32k)
199
; 0x8028C000 -> 297FFF   free (48k)
205
; 0x8028C000 -> 297FFF   free (48k)
200
;
206
;
201
; 0x80298000 -> 29ffff   auxiliary table for background smoothing code (32k)
207
; 0x80298000 -> 29FFFF   auxiliary table for background smoothing code (32k)
202
;
208
;
203
; 0x802A0000 -> 2B00ff   wav device buffer (64k)
209
; 0x802A0000 -> 2B00FF   wav device buffer (64k)
204
; 0x802A0000 -> 2B00ff   wav device status (256)
210
; 0x802A0000 -> 2B00FF   wav device status (256)
205
; 0x802B0100 -> 2Bffff   free (63k8)
-
 
206
; 0x802C0000 -> 2C3fff   button info (8k)
-
 
207
;
211
;
-
 
212
; 0x802B0100 -> 2B3FFD   free (15k7)
-
 
213
;
-
 
214
; 0x802B3FEE -> 2B3FEF   button info (64K+ 16 + 2 byte)
208
;       0000 word    number of buttons
215
;     2B3FEE   0000 word    number of buttons
-
 
216
;     2B3FF0    first button entry
-
 
217
;      
209
;        first button entry at 0x10
218
;        button entry at 0x10
210
;       +0000 word   process number
219
;       +0000 word   process number
211
;       +0002 word   button id number : bits 00-15
220
;       +0002 word   button id number : bits 00-15
212
;       +0004 word   x start
221
;       +0004 word   x start
213
;       +0006 word   x size
222
;       +0006 word   x size
214
;       +0008 word   y start
223
;       +0008 word   y start
215
;       +000A word   y size
224
;       +000A word   y size
216
;       +000C word   button id number : bits 16-31
225
;       +000C word   button id number : bits 16-31
217
;
226
;
218
; 0x802C4000 -> 2CFFFF   free (48k)
227
; 0x802C4000 -> 2C9FFF   area for fast getting offset to LFB (24k)
-
 
228
;                        BPSLine_calc_area
-
 
229
; 0x802CA000 -> 2CFFFF   area for fast getting offset to _WinMapAddress (24k)
-
 
230
;                        d_width_calc_area
219
;
231
;
220
; 0x802D0000 -> 2DFFFF   reserved port area (64k)
232
; 0x802D0000 -> 2DFFFF   reserved port area (64k)
221
;
233
;
222
;       0000 dword   no of port areas reserved
234
;       0000 dword   no of port areas reserved
223
;       0010 dword   process id
235
;       0010 dword   process id
224
;            dword   start port
236
;            dword   start port
225
;            dword   end port
237
;            dword   end port
226
;            dword   0
238
;            dword   0
227
;
239
;
228
; 0x802E0000 -> 2EFFFF   irq data area  (64k)
240
; 0x802E0000 -> 2EFFFF   irq data area  (64k)  ;BOOT_VAR
229
; 0x802F0000 -> 2FFFFF   low memory save        (64k)
-
 
230
;
241
;
231
; 0x80300000 -> 31FFFF   tcp memory       (128k)
242
; 0x802F0000 -> 2F3FFF   tcp memory  stack_data_start eth_data_start (16k)
232
; 0x80320000 -> 327FFF   tcp memory       (32k)
-
 
233
;
243
;
-
 
244
; 0x802F4000 -> 30ffff   stack_data | stack_data_end (112k)
-
 
245
;
234
; 0x80328000 -> 32FFFF   !vrr driver      (32k)
246
; 0x80310000 -> 317fff   resendQ (32k)
235
 
247
;
236
; 0x80330000 -> 377FFF   skin data              (32k)
248
; 0x80318000 -> 31ffff   skin_data (32k)
237
 
249
;
238
; 0x80338000 -> 338FFF draw data     - 256 entries (4k)
250
; 0x80320000 -> 323FF3   draw data     - 256 entries (4k)
239
;         00   dword  draw limit - x start
251
;         00   dword  draw limit - x start
240
;         04   dword  draw limit - y start
252
;         04   dword  draw limit - y start
241
;         08   dword  draw limit - x end
253
;         08   dword  draw limit - x end
242
;         0C   dword  draw limit - y end
254
;         0C   dword  draw limit - y end
-
 
255
;
243
; 0x80339000 -> 3BFFF3   free (12k)
256
; 0x8032BFF4 -> 32BFFF   background info 
-
 
257
;         0x80323FF4    BgrDrawMode
244
; 0x8033BFF4 -> 33BFFF   background info 
258
;         0x80323FF8    BgrDataWidth
-
 
259
;         0x80323FFC    BgrDataHeight
-
 
260
;
245
; 0x8033C000             page map     (length b = memsize shr 15)
261
; 0x80324000             page map     (length b = memsize shr 15)
246
; 0x8033C000 + b         start of static pagetables
262
; 0x80324000 + b         start of static pagetables
Line 247... Line 263...
247
 
263
 
248
; 0x803FFFFF <- no direct address translation beyond this point
264
; 0x803FFFFF <- no direct address translation beyond this point
Line 249... Line 265...
249
; ============================================================= 
265
; =============================================================