Subversion Repositories Kolibri OS

Rev

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

Rev 1172 Rev 1388
Line 60... Line 60...
60
;         34   dword  counter sum
60
;         34   dword  counter sum
61
;         38   dword  time stamp counter add
61
;         38   dword  time stamp counter add
62
;         3c   dword  cpu usage in cpu timer tics
62
;         3c   dword  cpu usage in cpu timer tics
63
;
63
;
64
;
64
;
65
;   5000  ->   68FF   free
65
;   5000  ->   68FF   free (6k6)
66
;   6900  ->   6EFF   saved picture under mouse pointer
66
;   6900  ->   6EFF   saved picture under mouse pointer (1k5)
67
;
67
;
68
;   6F00  ->   6FFF   free
68
;   6F00  ->   6FFF   free (256)
69
;
69
;
70
;   7000  ->   7FFF   used CD driver
70
;   7000  ->   7FFF   used CD driver
71
;
71
;
72
;   8000  ->   A3FF   used FLOPPY driver
72
;   8000  ->   A3FF   used FLOPPY driver
73
;
73
;
74
;   A400  ->   B0FF   free
74
;   A400  ->   B0FF   free (3k3), unused ACTIVE_PROC_STACK
Line 75... Line 75...
75
 
75
 
Line 76... Line 76...
76
;   B100  ->   B307   IDT for int_0x00..int_0x40
76
;   B100  ->   B307   IDT for int_0x00..int_0x40
Line 77... Line 77...
77
 
77
 
78
;   B308  ->   BFFF   free
78
;   B308  ->   BFFF   free (3k3)
79
 
79
 
80
;   C000  ->   C3FF   window stack C000 no of windows - all in words
80
;   C000  ->   C3FF   window stack C000 no of windows - all in words
81
;   C402  ->   C7FF   window position in stack
81
;   C402  ->   C7FF   window position in stack
82
;   D000  ->   D1FF   FDC controller
82
;   D000  ->   D1FF   FDC controller
83
;   D200  ->   D3FF   FDC controller for Fat12
83
;   D200  ->   D3FF   FDC controller for Fat12
84
;   D400  ->   DFFF   free
84
;   D400  ->   DFFF   free (3k)
85
;   E000  byte        multitasking started
85
;   E000  byte        multitasking started
-
 
86
;   E020  dword       putpixel address
86
;   E020  dword       putpixel address
87
;   E024  dword       getpixel address
87
;   E024  dword       getpixel address
88
;   E030  dword       Vesa 1.2 pm bank switch address
-
 
89
;   E034  ->   F1FF   free (4k5)
88
;   E030  dword       Vesa 1.2 pm bank switch address
90
;   F200  dword       mousepicture -pointer
-
 
91
;   F204  dword       mouse appearance counter
89
;   F200  dword       mousepicture -pointer
92
;   F208  ->   F2FF   free (248)
90
;   F204  dword       mouse appearance counter
93
;   F300  dword       x & y temp for windowmove
91
;   F300  dword       x & y temp for windowmove
94
;   F304  ->   F3FF   free (252)
92
;   F400  byte        no of keys in buffer
95
;   F400  byte        no of keys in buffer
93
;   F401  byte        'buffer'
96
;   F401  byte        'buffer'
94
;   F402  ->   F4FF   reserved for keys
97
;   F402  ->   F4FF   reserved for keys
95
;   F500  byte        no of buttons in buffer
98
;   F500  byte        no of buttons in buffer
96
;   F501  dword       'buffer'
99
;   F501  dword       'buffer'
-
 
100
;   F502  ->   F5FF   reserved for buttons
97
;   F502  ->   F5FF   reserved for buttons
101
;   F600  dword       tsc / second
-
 
102
;   F604  byte        (unused?) mouse port: 1 ps2, 2 com1, 3 com2
-
 
103
;   F605  ->   FAFF   free (1k2)
-
 
104
;   FB00  ->   FB0F   mouse memory 00 chunk count, that includes:
-
 
105
;   FB08 word	    -- mouse H-scroll
98
;   F600  dword       tsc / second
106
;   FB0A word	    -- mouse x 
99
;   F604  byte        mouse port: 1 ps2, 2 com1, 3 com2
107
;   FB0C word         -- mouse y
100
;   FB00  ->   FB0F   mouse memory 00 chunk count - FB0A-B x - FB0C-D y
108
;   FB0E word	    -- mouse V-scroll
101
;   FB10  ->   FB17   mouse color mem
109
;   FB10  ->   FB17   mouse color mem
102
;   FB21              x move
110
;   FB21              x move
Line 107... Line 115...
107
;   FB44  byte        0 mouse down -> do not draw
115
;   FB44  byte        0 mouse down -> do not draw
108
;   FB4A  ->   FB4D   FB4A-B x-under - FB4C-D y-under
116
;   FB4A  ->   FB4D   FB4A-B x-under - FB4C-D y-under
109
;   FBF1  byte        bits per pixel
117
;   FBF1  byte        bits per pixel
110
;   FC00  ->   FCFE   com1/ps2 buffer
118
;   FC00  ->   FCFE   com1/ps2 buffer
111
;   FCFF              com1/ps2 buffer count starting from FC00
119
;   FCFF              com1/ps2 buffer count starting from FC00
-
 
120
;   FD00  ->   FDFF   free (256)
112
;   FE00  dword       screen x size
121
;   FE00  dword       screen x size		
113
;   FE04  dword       screen y size
122
;   FE04  dword       screen y size		
114
;   FE08  dword       screen y multiplier
123
;   FE08  dword       screen y multiplier	
115
;   FE0C  dword       screen mode
124
;   FE0C  dword       screen mode	
-
 
125
;   FE10  ->   FE7F   free (112)
116
;   FE80  dword       address of LFB in physical
126
;   FE80  dword       address of LFB in physical
117
;   FE84  dword       address of applications memory start in physical
127
;   FE84  dword       address of applications memory start in physical	?
118
;   FE88  dword       address of button list
128
;   FE88  dword       address of button list
119
;   FE8C  dword       memory to use
129
;   FE8C  dword       memory to use 
-
 
130
;   FE90  ->   FEFF   free (112)
120
;   FF00  byte        1 = system shutdown request
131
;   FF00  byte        1 = system shutdown request
121
;   FF01  dword       free
132
;   FF01  byte        task activation request?
122
;   FFF0  byte        1 = redraw background request from app
133
;   FFF0  byte        1 = redraw background request from app
123
;   FFF1  byte        1 = diskette int occur
134
;   FFF1  byte        1 = diskette int occur
124
;   FFF2              write and read bank in screen
135
;   FFF2              write and read bank in screen
125
;   FFF4  byte        0 if first mouse draw & do not return picture under
136
;   FFF4  byte        0 if first mouse draw & do not return picture under
126
;   FFF5  byte        1 do not draw pointer
137
;   FFF5  byte        1 do not draw pointer
Line 175... Line 186...
175
;         B4  byte  keyboard mode: 0 = keymap, 1 = scancodes
186
;         B4  byte  keyboard mode: 0 = keymap, 1 = scancodes
176
;         B8 dword  physical address of directory table
187
;         B8 dword  physical address of directory table
177
;         BC dword  address of debug event memory
188
;         BC dword  address of debug event memory
178
;         C0  5 dd  thread debug registers: DR0,DR1,DR2,DR3,DR7
189
;         C0  5 dd  thread debug registers: DR0,DR1,DR2,DR3,DR7
179
;
190
;
180
; 0x80090000 ->  9FFFF   tmp
191
; 0x80090000 ->  9FFFF   tmp (64k) - unused?
181
; 0x800A0000 ->  AFFFF   screen access area
192
; 0x800A0000 ->  AFFFF   screen access area
182
; 0x800B0000 ->  FFFFF   bios rest in peace -area
193
; 0x800B0000 ->  FFFFF   bios rest in peace -area (320k)	?
183
; 0x80100000 -> 27FFFF   diskette image
194
; 0x80100000 -> 27FFFF   diskette image	(1m5)
184
; 0x80280000 -> 281FFF   ramdisk fat
195
; 0x80280000 -> 281FFF   ramdisk fat	(8k)
185
; 0x80282000 -> 283FFF   floppy  fat
196
; 0x80282000 -> 283FFF   floppy  fat	(8k)
186
;
197
;
187
; 0x80284000 -> 28BFFF   HDD DMA AREA
198
; 0x80284000 -> 28BFFF   HDD DMA AREA	(32k)
188
; 0x8028C000 -> 297FFF   free (48 Kb)
199
; 0x8028C000 -> 297FFF   free (48k)
189
;
200
;
190
; 0x80298000 -> 29ffff   auxiliary table for background smoothing code
201
; 0x80298000 -> 29ffff   auxiliary table for background smoothing code (32k)
191
;
202
;
-
 
203
; 0x802A0000 -> 2B00ff   wav device buffer (64k)
192
; 0x802A0000 -> 2B00ff   wav device data
204
; 0x802A0000 -> 2B00ff   wav device status (256)
-
 
205
; 0x802B0100 -> 2Bffff   free (63k8)
193
; 0x802C0000 -> 2C3fff   button info
206
; 0x802C0000 -> 2C3fff   button info (8k)
194
;
207
;
195
;       0000 word    number of buttons
208
;       0000 word    number of buttons
196
;        first button entry at 0x10
209
;        first button entry at 0x10
197
;       +0000 word   process number
210
;       +0000 word   process number
198
;       +0002 word   button id number : bits 00-15
211
;       +0002 word   button id number : bits 00-15
Line 200... Line 213...
200
;       +0006 word   x size
213
;       +0006 word   x size
201
;       +0008 word   y start
214
;       +0008 word   y start
202
;       +000A word   y size
215
;       +000A word   y size
203
;       +000C word   button id number : bits 16-31
216
;       +000C word   button id number : bits 16-31
204
;
217
;
205
; 0x802C4000 -> 2CFFFF   free (48Kb)
218
; 0x802C4000 -> 2CFFFF   free (48k)
206
;
219
;
207
; 0x802D0000 -> 2DFFFF   reserved port area
220
; 0x802D0000 -> 2DFFFF   reserved port area (64k)
208
;
221
;
209
;       0000 dword   no of port areas reserved
222
;       0000 dword   no of port areas reserved
210
;       0010 dword   process id
223
;       0010 dword   process id
211
;            dword   start port
224
;            dword   start port
212
;            dword   end port
225
;            dword   end port
213
;            dword   0
226
;            dword   0
214
;
227
;
215
; 0x802E0000 -> 2EFFFF   irq data area
228
; 0x802E0000 -> 2EFFFF   irq data area	(64k)
216
; 0x802F0000 -> 2FFFFF   low memory save
229
; 0x802F0000 -> 2FFFFF   low memory save	(64k)
217
;
230
;
218
; 0x80300000 -> 31FFFF   tcp memory       128 Kb
231
; 0x80300000 -> 31FFFF   tcp memory       (128k)
219
; 0x80320000 -> 327FFF   tcp memory        32 Kb
232
; 0x80320000 -> 327FFF   tcp memory       (32k)
220
;
233
;
221
; 0x80328000 -> 32FFFF   !vrr driver       32 Kb
234
; 0x80328000 -> 32FFFF   !vrr driver      (32k)
Line 222... Line 235...
222
 
235
 
Line 223... Line 236...
223
; 0x80330000 -> 377FFF   skin data
236
; 0x80330000 -> 377FFF   skin data		(32k)
224
 
237
 
225
; 0x80338000 -> 33AFFF draw data     - 256 entries
238
; 0x80338000 -> 338FFF draw data     - 256 entries (4k)
226
;         00   dword  draw limit - x start
239
;         00   dword  draw limit - x start
227
;         04   dword  draw limit - y start
240
;         04   dword  draw limit - y start
228
;         08   dword  draw limit - x end
-
 
-
 
241
;         08   dword  draw limit - x end
229
;         0C   dword  draw limit - y end
242
;         0C   dword  draw limit - y end
230
 
-
 
231
; 0x8033C000 -> 47BFFF   display info
243
; 0x80339000 -> 3BFFF3   free (12k)
-
 
244
; 0x8033BFF4 -> 33BFFF   background info 
232
 
245
; 0x8033C000 -> 35BFFF   page map     (128k)
233
; 0x8047CF80 -> 47CFFF TSS            128 bytes
-
 
234
; 0x8047D000 -> 47EFFF IO map for (8192*8)=65536 ports
246
; =====================================
235
 
-
 
236
; 0x8047F000 -> 48FFFF   page map     max 128 Kb
-
 
-
 
247
; 0x8035C000 -> 5FFF7F   free (2M7)
-
 
248
; 0x805FFF80 -> 5FFFFF   TSS  (128)
237
;
249
; 0x80600000 -> 7FFFFF   free (2M)
238
 
250
; =====================================
239
; 0x80800000 ->       kernel heap
251
; 0x80000000 ->       kernel heap
Line 240... Line 252...
240
; 0x81FFFFFF          heap min limit
252
; 0x80FFFFFF          heap min limit
241
; 0xFDBFFFFF          heap max limit
253
; 0xFDBFFFFF          heap max limit
242
 
254