Subversion Repositories Kolibri OS

Rev

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

Rev 1940 Rev 1941
Line 62... Line 62...
62
;         34   dword  counter sum
62
;         34   dword  counter sum
63
;         38   dword  time stamp counter add
63
;         38   dword  time stamp counter add
64
;         3c   dword  cpu usage in cpu timer tics
64
;         3c   dword  cpu usage in cpu timer tics
65
;
65
;
66
;
66
;
67
;   5000  ->   68FF   free (6k6)
-
 
68
;   6900  ->   6EFF   saved picture under mouse pointer (1k5)
67
;   5000  ->   73FF   << FLOPPY buffer (9k)                             - fs/fat12.inc
69
;
-
 
70
;   6F00  ->   6FFF   free (256)
-
 
71
;
-
 
72
;   7000  ->   7FFF   unused? CD driver  (4k)
-
 
73
;  
-
 
74
;   8000  ->   A3FF   used? FLOPPY driver (4k)
-
 
75
;
-
 
76
;   A400  ->   B0FF   free (3k3), unused ACTIVE_PROC_STACK
-
 
Line 77... Line 68...
77
 
68
 
Line -... Line 69...
-
 
69
;   7400  ->   78ff   << IDT for int_0x00..int_0x40 + reserv
-
 
70
 
-
 
71
;   7900  ->   7EFF   << saved picture under mouse pointer (1k5)
-
 
72
;
78
;   B100  ->   B307   IDT for int_0x00..int_0x40
73
;   7F00  ->   7FFF   << SB16_Status (256)
-
 
74
;
-
 
75
; XX  8000  ->   BFFF   free (16k)  XX
Line 79... Line 76...
79
 
76
; 0x80008000 -> 9FFF   ramdisk fat    (8k)
80
;   B308  ->   BFFF   free (3k3)
77
; 0x8000A000 -> BFFF   floppy  fat    (8k)
81
 
78
 
82
;   C000  ->   C3FF   window stack C000 no of windows - all in words
79
;   C000  ->   C3FF   window stack C000 no of windows - all in words
83
;   C402  ->   C7FF   window position in stack
80
;   C402  ->   C7FF   window position in stack
84
;   D000  ->   D1FF   FDC controller
-
 
85
;   D200  ->   D3FF   FDC controller for Fat12
-
 
86
;   D400  ->   DFFF   free (3k)
-
 
87
;   E000  byte        multitasking started
-
 
-
 
81
;   D000  ->   D1FF   FDC controller
88
;   E020  dword       putpixel address
82
;   D200  ->   D3FF   FDC controller for Fat12
89
;   E024  dword       getpixel address
-
 
90
;   E030  dword       Vesa 1.2 pm bank switch address
-
 
91
;   E034  ->   F1FF   free (4k5)
-
 
92
;   F200  dword       mousepicture -pointer
-
 
93
;   F204  dword       mouse appearance counter
-
 
-
 
83
;   D400  ->   DFFF   free (3k)
94
;   F208  ->   F2FF   free (248)
84
 
95
;   F300  dword       x & y temp for windowmove
85
;   E000  ->   F9FF   free (6k5)
96
;   F304  ->   F3FF   free (252)
86
 
-
 
87
;   FA00  byte        no of keys in buffer
97
;   F400  byte        no of keys in buffer
88
;   FA01  byte        'buffer'
98
;   F401  byte        'buffer'
89
;   FA02  ->   FAFF   reserved for keys
99
;   F402  ->   F4FF   reserved for keys
90
 
100
;   F500  byte        no of buttons in buffer
-
 
101
;   F501  dword       'buffer'
-
 
102
;   F502  ->   F5FF   reserved for buttons
-
 
103
;   F600  dword       tsc / second
-
 
104
;   F604  byte        (unused?) mouse port: 1 ps2, 2 com1, 3 com2
-
 
105
;   F605  ->   FAFF   free (1k2)
-
 
106
;   FB00  ->   FB0F   mouse memory 00 chunk count, that includes:
-
 
107
;   FB08 word	    -- mouse H-scroll
-
 
108
;   FB0A word	    -- mouse x 
-
 
109
;   FB0C word         -- mouse y
-
 
110
;   FB0E word	    -- mouse V-scroll
-
 
111
;   FB10  ->   FB17   mouse color mem
-
 
112
;   FB21              x move
-
 
113
;   FB22              y move
-
 
114
;   FB28              high bits temp
-
 
115
;   FB30              color temp
-
 
116
;   FB40  byte        buttons down
-
 
-
 
91
;   FB00  byte        no of buttons in buffer
-
 
92
;   FB01  dword       'buffer'
117
;   FB44  byte        0 mouse down -> do not draw
93
;   FB02  ->   FBFF   reserved for buttons
118
;   FB4A  ->   FB4D   FB4A-B x-under - FB4C-D y-under
94
 
-
 
95
 
119
;   FBF1  byte        bits per pixel
96
;   FC00  ->   FCFE   com1/ps2 buffer
-
 
97
;   FCFF              com1/ps2 buffer count starting from FC00
-
 
98
 
-
 
99
;   FD00  ->   FDFF   free (256)
-
 
100
 
-
 
101
;   FE00  ->   FE0F   mouse memory 00 chunk count, that includes:
-
 
102
;   FE08 word       -- mouse H-scroll
-
 
103
;   FE0A word       -- mouse x
-
 
104
;   FE0C word         -- mouse y
-
 
105
;   FE0E word       -- mouse V-scroll
-
 
106
 
-
 
107
;   FE10  ->   FB17   mouse color mem
-
 
108
;   FE21              x move
-
 
109
;   FE22              y move
-
 
110
;   FE28              high bits temp
-
 
111
;   FE30              color temp
-
 
112
;   FE40  byte        buttons down
-
 
113
;   FE44  byte        0 mouse down -> do not draw
-
 
114
;   FE4A  ->   FE4D   FE4A-B x-under - FE4C-D y-under
-
 
115
 
-
 
116
;   FEB8  dword       putpixel address
-
 
117
;   FEBC  dword       getpixel address
120
;   FC00  ->   FCFE   com1/ps2 buffer
118
;   FEC1  byte        bits per pixel
-
 
119
;   FEC4  dword       mouse appearance counter
121
;   FCFF              com1/ps2 buffer count starting from FC00
120
;   FEC8  dword       x & y temp for windowmove
122
;   FD00  ->   FDFF   free (256)
121
;   FECC  dword       tsc / second
123
;   FE00  dword       screen x size		
122
 
124
;   FE04  dword       screen y size		
123
;   FED0  dword       screen x size
-
 
124
;   FED4  dword       screen y size
125
;   FE08  dword       screen y multiplier	
125
;   FED8  dword       screen y multiplier
126
;   FE0C  dword       screen mode	
126
;   FEDC  dword       screen mode
127
;   FE10  ->   FE73   free (100)
127
 
128
;   FE74  dword	      PCIe extended (memory-mappable) config space - physical address
128
;   FEE4  dword       PCIe extended (memory-mappable) config space - physical address
-
 
129
;   FEE8  dword       PCIe extended config space limit
129
;   FE78  dword       PCIe extended config space limit
130
;   FEEC  word        number of 4M-pages needed to map PCIe config space
130
;   FE7C  word        number of 4M-pages needed to map PCIe config space
131
;   FEEE  word        PCIe bus range (power-ow-two Mbytes)
131
;   FE7E  word        PCIe bus range (power-ow-two Mbytes)
132
 
132
;   FE80  dword       physical address of user-accessible static system buffer
133
;   FEF0  dword       physical address of user-accessible static system buffer
133
;   FE84  dword       physical address of LFB
-
 
134
;   FE88  dword       address of button list
134
;   FEF4  dword       physical address of LFB
135
;   FE8C  dword       memory to use 
135
;   FEF8  dword       address of button list
-
 
136
;   FEFC  dword       memory to use
-
 
137
;   FF00  byte        1 = system shutdown request
136
;   FE90  ->   FEFF   free (112)
138
;   FF01  byte        task activation request?
137
;   FF00  byte        1 = system shutdown request
139
 
138
;   FF01  byte        task activation request?
140
;   FFE4  ->   FFEF   background info
139
;   FFF0  byte        >0 if redraw background request from app
141
;   FFF0  byte        >0 if redraw background request from app
140
;   FFF1  byte        >0 if background changed
142
;   FFF1  byte        >0 if background changed
141
;   FFF2              write and read bank in screen
143
;   FFF2              write and read bank in screen
142
;   FFF4  byte        0 if first mouse draw & do not return picture under
144
;   FFF4  byte        0 if first mouse draw & do not return picture under
143
;   FFF5  byte        1 do not draw pointer
145
;   FFF5  byte        1 do not draw pointer
144
;   FFFF  byte        do not change task for 1/100 sec.
146
;   FFFF  byte        do not change task for 1/100 sec.
145
;
147
;
146
; 0x80010000 ->  6CBFF   kernel, 32-bit run-time code (up to 371 Kb)
148
; 0x80010000 ->  6CBFF   the kernel (up to 371 Kb)
147
;       in the current version:
149
;       in the current version:
148
;            ->  00B3C   16-bit code end
150
;            ->  00B3C   16-bit code end
Line 201... Line 203...
201
;         B4  byte  keyboard mode: 0 = keymap, 1 = scancodes
203
;         B4  byte  keyboard mode: 0 = keymap, 1 = scancodes
202
;         B8 dword  physical address of directory table
204
;         B8 dword  physical address of directory table
203
;         BC dword  address of debug event memory
205
;         BC dword  address of debug event memory
204
;         C0  5 dd  thread debug registers: DR0,DR1,DR2,DR3,DR7
206
;         C0  5 dd  thread debug registers: DR0,DR1,DR2,DR3,DR7
205
;
207
;
206
; 0x80090000 ->  9FFFF   tmp (64k) - unused?
208
; 0x80090000 ->  9FFFF   wav device buffer (64k)        ; << SB16Buffer
207
; 0x800A0000 ->  AFFFF   screen access area
209
; 0x800A0000 ->  AFFFF   screen access area               << VGA legacy buffer
208
; 0x800B0000 ->  FFFFF   bios rest in peace -area (320k)	?
210
; 0x800B0000 ->  FFFFF   bios rest in peace -area (320k), << purpose unknown
209
; 0x80100000 -> 27FFFF   diskette image	(1m5)
211
; 0x80100000 -> 283FFF   diskette image (1m5)
210
 
212
 
211
; 0x80280000 -> HEAP_BASE zero-filled zone after preinit_mem  
213
; 0x80284000 -> HEAP_BASE zero-filled zone after preinit_mem
212
; 0x80280000 -> 281FFF   ramdisk fat	(8k)
-
 
213
; 0x80282000 -> 283FFF   floppy  fat	(8k)
-
 
214
;
214
;
215
; 0x80284000 -> 28BFFF   HDD DMA AREA	(32k)
215
; 0x80284000 -> 28BFFF   HDD DMA AREA   (32k)
216
; 0x8028C000 -> 297FFF   free (48k)
216
; 0x8028C000 -> 297FFF   free (48k)
217
;
217
;
218
; 0x80298000 -> 29ffff   auxiliary table for background smoothing code (32k)
218
; 0x80298000 -> 29ffff   auxiliary table for background smoothing code (32k)
219
;
219
;
220
; 0x802A0000 -> 2B00ff   wav device buffer (64k)
220
; 0x802A0000 -> 2Bffff   free (128k)
221
; 0x802A0000 -> 2B00ff   wav device status (256)
221
; 0x80328000 -> 32FFFF   !vrr driver      (32k)
-
 
222
 
-
 
223
 
-
 
224
; 0x80338000 -> 338FFF draw data     - 256 entries (4k)
-
 
225
;         00   dword  draw limit - x start
-
 
226
;         04   dword  draw limit - y start
-
 
227
;         08   dword  draw limit - x end
-
 
228
;         0C   dword  draw limit - y end
222
; 0x802B0100 -> 2Bffff   free (63k8)
229
; 0x80339000 -> 3BFFF3   free (12k)
-
 
230
 
223
; 0x802C0000 -> 2C3fff   button info (8k)
231
; 0x802C0000 -> 2C3fff   button info (8k)
224
;
232
;
225
;       0000 word    number of buttons
233
;       0000 word    number of buttons
226
;        first button entry at 0x10
234
;        first button entry at 0x10
227
;       +0000 word   process number
235
;       +0000 word   process number
Line 240... Line 248...
240
;       0010 dword   process id
248
;       0010 dword   process id
241
;            dword   start port
249
;            dword   start port
242
;            dword   end port
250
;            dword   end port
243
;            dword   0
251
;            dword   0
244
;
252
;
245
; 0x802E0000 -> 2EFFFF   irq data area	 (64k)
253
; 0x80370000 -> 37FFFF   irq data area   (64k)
246
; 0x802F0000 -> 2FFFFF   low memory save (64k)
254
; 0x80380000 -> 38FFFF   low memory save (64k)
247
;
255
;
248
; 0x80300000 -> 31FFFF   tcp memory       (128k)
256
; 0x80390000 -> 3AFFFF   tcp memory       (128k)
249
; 0x80320000 -> 327FFF   tcp memory       (32k)
257
; 0x803B0000 -> 3B7FFF   tcp memory       (32k)
250
;
-
 
251
; 0x80328000 -> 32FFFF   !vrr driver      (32k)
-
 
Line 252... Line 258...
252
 
258
 
Line 253... Line -...
253
; 0x80330000 -> 377FFF   skin data		(32k)
-
 
254
 
-
 
255
; 0x80338000 -> 338FFF draw data     - 256 entries (4k)
-
 
256
;         00   dword  draw limit - x start
-
 
257
;         04   dword  draw limit - y start
-
 
258
;         08   dword  draw limit - x end
-
 
259
;         0C   dword  draw limit - y end
-
 
260
; 0x80339000 -> 3BFFF3   free (12k)
259
; 0x803B8000 -> 3BFFFF   skin data              (32k)
261
; 0x8033BFF4 -> 33BFFF   background info 
260
 
Line 262... Line 261...
262
; 0x8033C000    	 page map     (length b = memsize shr 15)
261
; 0x803C0000             page map     (length b = memsize shr 15)
263
; 0x8033C000 + b         start of static pagetables
262
; 0x803C0000 + b         start of static pagetables
Line 264... Line 263...
264
 
263