Subversion Repositories Kolibri OS

Rev

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

Rev 13 Rev 14
Line 19... Line 19...
19
;   0:9031     word   IDEContrRegsBaseAddr
19
;   0:9031     word   IDEContrRegsBaseAddr
20
;
20
;
21
;
21
;
22
;   Runtime:
22
;   Runtime:
23
;
23
;
24
;   0000  ->   2FFF   window_data   - 256 entries
24
;   0000  ->   1FFF   window_data   - 256 entries
25
;
25
;
26
;         0000 dword  x start
26
;         0000 dword  x start
27
;         0004 dword  y start
27
;         0004 dword  y start
28
;         0008 dword  x size
28
;         0008 dword  x size
29
;         000C dword  y size
29
;         000C dword  y size
30
;         0010 dword  color of work area
30
;         0010 dword  color of work area
31
;         0014 dword  color of grab bar
31
;         0014 dword  color of grab bar
32
;         0018 dword  color of frames
32
;         0018 dword  color of frames
33
;         001C dword  window flags, +30 = window drawn, +31 redraw flag
33
;         001C dword  window flags, +30 = window drawn, +31 redraw flag
34
;
34
;
-
 
35
;   2000  ->   2FFF   free
-
 
36
;
35
;   3000  ->   4FFF   task list      - 256 entries
37
;   3000  ->   4FFF   task list      - 256 entries
36
;
38
;
37
;         00   dword  process count
39
;         00   dword  process count
38
;         04   dword  no of processes
40
;         04   dword  no of processes
39
;         10   dword  base of running process at 0x3000+
41
;         10   dword  base of running process at 0x3000+
Line 54... Line 56...
54
;
56
;
55
;   6F00  ->   7FFF   free
57
;   6F00  ->   7FFF   free
56
;
58
;
57
;   8000  ->   A3FF   used FLOPPY driver
59
;   8000  ->   A3FF   used FLOPPY driver
58
;
60
;
59
;   A400  ->   AFFF   free
61
;   A400  ->   B0FF   free
60
;
-
 
61
;   B000  ->   B005   jump address for irq0 (task switch)
-
 
62
;   B008  ->   B00B   count of ticks remaining to updating CPU usage info
-
 
63
 
-
 
64
;   B060  ->   B0FF   free
-
 
Line 65... Line 62...
65
 
62
 
Line 66... Line 63...
66
;   B100  ->   B2FF   IDT
63
;   B100  ->   B2FF   IDT
Line 71... Line 68...
71
;   C402  ->   C7FF   window position in stack
68
;   C402  ->   C7FF   window position in stack
72
;   D000  ->   D1FF   FDC controller
69
;   D000  ->   D1FF   FDC controller
73
;   D200  ->   D3FF   FDC controller for Fat12
70
;   D200  ->   D3FF   FDC controller for Fat12
74
;   D400  ->   DFFF   free
71
;   D400  ->   DFFF   free
75
;   E000  byte        multitasking started
72
;   E000  byte        multitasking started
76
;   E004  dword       save for boot mem 0x24
-
 
77
;   E010  dword       pm bank switch address
-
 
78
;   E014  dword       window multiplier
-
 
79
;   E020  dword       putpixel address
73
;   E020  dword       putpixel address
80
;   E024  dword       getpixel address
74
;   E024  dword       getpixel address
81
;   E030  dword       Vesa 1.2 pm bank switch address
75
;   E030  dword       Vesa 1.2 pm bank switch address
82
;   F000  dword       hd partition 1 start
-
 
83
;   F004  dword       root start at partition 1
-
 
84
;   F008  dword       root start at hd
-
 
85
;   F100  byte        1=only os draw on screen
-
 
86
;   F200  dword       mousepicture -pointer
76
;   F200  dword       mousepicture -pointer
87
;   F204  dword       mouse appearance counter
77
;   F204  dword       mouse appearance counter
88
;   F300  dword       x & y temp for windowmove
78
;   F300  dword       x & y temp for windowmove
89
;   F400  byte        no of keys in buffer
79
;   F400  byte        no of keys in buffer
90
;   F401  byte        'buffer'
80
;   F401  byte        'buffer'
Line 101... Line 91...
101
;   FB28              high bits temp
91
;   FB28              high bits temp
102
;   FB30              color temp
92
;   FB30              color temp
103
;   FB40  byte        buttons down
93
;   FB40  byte        buttons down
104
;   FB44  byte        0 mouse down -> do not draw
94
;   FB44  byte        0 mouse down -> do not draw
105
;   FB4A  ->   FB4D   FB4A-B x-under - FB4C-D y-under
95
;   FB4A  ->   FB4D   FB4A-B x-under - FB4C-D y-under
106
;   FBF0  byte        multiplied window
-
 
107
;   FBF1  byte        bits per pixel
96
;   FBF1  byte        bits per pixel
108
;   FC00  ->   FCFE   com1/ps2 buffer
97
;   FC00  ->   FCFE   com1/ps2 buffer
109
;   FCFF              com1/ps2 buffer count starting from FC00
98
;   FCFF              com1/ps2 buffer count starting from FC00
110
;   FDF0  ->   FDF3   timer tick inc every 1/100 sec 4 bytes
-
 
111
;   FE00  dword       screen x size
99
;   FE00  dword       screen x size
112
;   FE04  dword       screen y size
100
;   FE04  dword       screen y size
113
;   FE08  dword       screen y multiplier
101
;   FE08  dword       screen y multiplier
114
;   FE0C  dword       screen mode
102
;   FE0C  dword       screen mode
115
;   FE10  dword       entries in hd cache
103
;   FE10  dword       entries in hd cache
Line 209... Line 197...
209
;
197
;
210
;         00   dword  draw limit - x start
198
;         00   dword  draw limit - x start
211
;         04   dword  draw limit - y start
199
;         04   dword  draw limit - y start
212
;         08   dword  draw limit - x end
200
;         08   dword  draw limit - x end
213
;         0C   dword  draw limit - y end
201
;         0C   dword  draw limit - y end
-
 
202
;
214
;         1C   dword  app int vector
203
; C02000  -> C02fff   free (4 Kb)
215
;
204
;
216
; C03000  -> D02fff   sysint_stack_data
205
; C03000  -> D02fff   sysint_stack_data
217
;                     - ring0 stacks for ring3 processes
206
;                     - ring0 stacks for ring3 processes
218
;                     - used for interrupt handling
207
;                     - used for interrupt handling
219
;                     - 256 entries * 4096 step
208
;                     - 256 entries * 4096 step