Subversion Repositories Kolibri OS

Rev

Rev 9715 | Rev 9813 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1349 art_zh 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
9715 Doczom 3
;; Copyright (C) KolibriOS team 2004-2022. All rights reserved. ;;
1349 art_zh 4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7
 
8
$Revision: 9756 $
9
 
1354 diamond 10
 
1349 art_zh 11
keymap:
12
 
13
     db   '6',27
14
     db   '1234567890-=',8,9
15
     db   'qwertyuiop[]',13
16
     db   '~asdfghjkl;',39,96,0,'\zxcvbnm,./',0,'45 '
17
     db   '@234567890123',180,178,184,'6',176,'7'
18
     db   179,'8',181,177,183,185,182
19
     db   'AB
20
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23
 
24
keymap_shift:
25
     db   '6',27
26
     db   '!@#$%^&*()_+',8,9
27
     db   'QWERTYUIOP{}',13
28
     db   '~ASDFGHJKL:"~',0,'|ZXCVBNM<>?',0,'45 '
29
     db   '@234567890123',180,178,184,'6',176,'7'
30
     db   179,'8',181,177,183,185,182
31
     db   'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
32
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35
 
36
 
37
keymap_alt:
38
     db   ' ',27
39
     db   ' @ $  {[]}\ ',8,9
40
     db   '            ',13
41
     db   '             ',0,'           ',0,'4',0,' '
42
     db   '             ',180,178,184,'6',176,'7'
43
     db   179,'8',181,177,183,185,182
44
     db   'ABCD',255,'FGHIJKLMNOPQRSTUVWXYZ'
45
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
47
     db   'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48
 
49
 
2104 maximYCH 50
 
51
if lang eq ru
4135 clevermous 52
  boot_initirq      cp866 'Инициализация IRQ',0
53
  boot_picinit      cp866 'Инициализация PIC',0
4273 clevermous 54
  boot_v86machine   cp866 'Инициализация системной V86 машины',0
4135 clevermous 55
  boot_inittimer    cp866 'Инициализация системного таймера (IRQ0)',0
56
  boot_initapic     cp866 'Попытка инициализации APIC',0
57
  boot_enableirq    cp866 'Включить прерывания 2, 13',0
58
  boot_disabling_ide cp866 'Запрещение прерываний в контроллере IDE',0
59
  boot_enabling_ide cp866 'Разрешение прерываний в контроллере IDE',0
60
  boot_set_int_IDE  cp866 'Установка обработчиков прерываний IDE',0
61
  boot_detectfloppy cp866 'Поиск floppy дисководов',0
62
  boot_detecthdcd   cp866 'Поиск жестких дисков и ATAPI приводов',0
63
  boot_getcache     cp866 'Получение памяти для кэша',0
64
  boot_detectpart   cp866 'Поиск разделов на дисковых устройствах',0
65
  boot_init_sys     cp866 'Инициализация системного каталога /sys',0
66
  boot_loadlibs     cp866 'Загрузка библиотек (.obj)',0
67
  boot_memdetect    cp866 'Количество оперативной памяти','     ',' Мб',0
68
  boot_tss          cp866 'Установка TSSs',0
69
  boot_cpuid        cp866 'Чтение CPUIDs',0
70
;  boot_devices      cp866 'Поиск устройств',0
71
  boot_timer        cp866 'Установка таймера',0
4273 clevermous 72
  boot_initramdisk  cp866 'Инициализация рамдиска',0
4135 clevermous 73
  boot_irqs         cp866 'Переопределение IRQ',0
74
  boot_setmouse     cp866 'Установка мыши',0
75
  boot_windefs      cp866 'Установка настроек окон по умолчанию',0
76
  boot_bgr          cp866 'Установка фона',0
77
  boot_resirqports  cp866 'Резервирование IRQ и портов',0
78
  boot_setrports    cp866 'Установка адресов IRQ',0
79
  boot_setostask    cp866 'Создание процесса ядра',0
80
  boot_allirqs      cp866 'Открытие всех IRQ',0
81
  boot_tsc          cp866 'Чтение TSC',0
82
  boot_cpufreq      cp866 'Частота процессора ','    ',' МГц',0
83
  boot_pal_ega      cp866 'Установка EGA/CGA 320x200 палитры',0
84
  boot_pal_vga      cp866 'Установка VGA 640x480 палитры',0
85
  boot_failed       cp866 'Загрузка первого приложения не удалась',0
86
  boot_mtrr         cp866 'Установка MTRR',0
3481 Serge 87
 
4135 clevermous 88
  boot_APIC_found   cp866 'APIC включен', 0
89
  boot_APIC_nfound  cp866 'APIC не найден', 0
2104 maximYCH 90
if preboot_blogesc
4135 clevermous 91
  boot_tasking      cp866 'Все готово для запуска, нажмитре ESC для старта',0
2104 maximYCH 92
end if
3274 esevece 93
else if lang eq sp
94
  include 'data32sp.inc'
3927 kaitz 95
else if lang eq et
96
  include 'data32et.inc'
2104 maximYCH 97
else
2642 mario79 98
  boot_initirq      db   'Initialize IRQ',0
99
  boot_picinit      db   'Initialize PIC',0
100
  boot_v86machine   db   'Initialize system V86 machine',0
101
  boot_inittimer    db   'Initialize system timer (IRQ0)',0
4273 clevermous 102
  boot_initramdisk  db   'Initialize ramdisk',0
2642 mario79 103
  boot_initapic     db   'Try to initialize APIC',0
3775 mario79 104
  boot_enableirq    db   'Enable interrupts 2, 13',0
3762 mario79 105
  boot_disabling_ide db   'Disable interrupts in IDE controller',0
106
  boot_enabling_ide db   'Enable interrupts in IDE controller',0
3778 mario79 107
  boot_set_int_IDE  db   'Set handler of interrupts for IDE',0
2642 mario79 108
  boot_detectfloppy db   'Search floppy drives',0
109
  boot_detecthdcd   db   'Search hard drives and ATAPI drives',0
110
  boot_getcache     db   'Get memory for cache',0
111
  boot_detectpart   db   'Search partitions on disk devices',0
112
  boot_init_sys     db   'Initialize system directory /sys',0
113
  boot_loadlibs     db   'Loading librares (.obj)',0
1349 art_zh 114
  boot_memdetect    db   'Determining amount of memory',0
115
  boot_tss          db   'Setting TSSs',0
116
  boot_cpuid        db   'Reading CPUIDs',0
2642 mario79 117
;  boot_devices      db   'Detecting devices',0
1349 art_zh 118
  boot_setmouse     db   'Setting mouse',0
119
  boot_windefs      db   'Setting window defaults',0
120
  boot_bgr          db   'Calculating background',0
121
  boot_resirqports  db   'Reserving IRQs & ports',0
122
  boot_setostask    db   'Setting OS task',0
2288 clevermous 123
  boot_allirqs      db   'Unmasking IRQs',0
1349 art_zh 124
  boot_tsc          db   'Reading TSC',0
125
  boot_cpufreq      db   'CPU frequency is ','    ',' MHz',0
126
  boot_pal_ega      db   'Setting EGA/CGA 320x200 palette',0
127
  boot_pal_vga      db   'Setting VGA 640x480 palette',0
128
  boot_failed       db   'Failed to start first app',0
129
  boot_mtrr         db   'Setting MTRR',0
3481 Serge 130
 
2642 mario79 131
  boot_APIC_found   db   'APIC enabled', 0
132
  boot_APIC_nfound  db   'APIC not found', 0
1349 art_zh 133
if preboot_blogesc
134
  boot_tasking      db   'All set - press ESC to start',0
135
end if
2104 maximYCH 136
end if
1349 art_zh 137
 
138
;new_process_loading db 'K : New Process - loading',13,10,0
139
;new_process_running db 'K : New Process - done',13,10,0
140
start_not_enough_memory db 'K : New Process - not enough memory',13,10,0
141
 
142
msg_unresolved db 'unresolved ',0
5088 clevermous 143
;msg_module     db 'in module ',0
144
;if ~ lang eq sp
145
;msg_version    db 'incompatible driver version',13,10,0
146
;msg_www        db 'please visit www.kolibrios.org',13,10,0
147
;end if
1349 art_zh 148
msg_CR         db  13,10,0
149
 
8088 dunkaist 150
szPS2MDriver    db '/sys/drivers/PS2MOUSE.SYS',0
1349 art_zh 151
;szCOM_MDriver   db 'COM_MOUSE',0
8088 dunkaist 152
szVidintel      db '/sys/drivers/vidintel.sys',0
1349 art_zh 153
szUSB           db 'USB',0
154
 
155
szEXPORTS      db 'EXPORTS',0
156
sz_EXPORTS     db '_EXPORTS',0
157
 
158
szIMPORTS      db 'IMPORTS',0
159
 
160
read_firstapp  db '/sys/'
8088 dunkaist 161
firstapp       db '/sys/LAUNCHER',0
162
notifyapp      db '/sys/@notify',0
1948 clevermous 163
if lang eq ru
4135 clevermous 164
ud_user_message  cp866 'Ошибка: неподдерживаемая инструкция процессора',0
4793 yogev_ezra 165
mtrr_user_message cp866 '"Обнаружена проблема с конфигурацией MTRR.\nПроизводительность может быть пониженной" -dW',0
3929 kaitz 166
else if ~ lang eq sp
1948 clevermous 167
ud_user_message db 'Error: unsupported processor instruction',0
4793 yogev_ezra 168
mtrr_user_message db '"There is a problem with MTRR configuration.\nPerformance can be low" -dW',0
1948 clevermous 169
end if
1349 art_zh 170
 
4273 clevermous 171
kernel_file_load:
6244 serge 172
; load kernel.mnt to _CLEAN_ZONE
4273 clevermous 173
        dd      0       ; subfunction
174
        dq      0       ; offset in file
6244 serge 175
        dd      0x31000 ; number of bytes to read
176
        dd      _CLEAN_ZONE ; buffer for data
8088 dunkaist 177
        db      '/sys/KERNEL.MNT',0
1349 art_zh 178
 
9756 vitalkrilo 179
dev_data_path  db '/SYS/DRIVERS/DEVICES.DAT',0
8671 Coldy 180
; { Patch by Coldy, For DLL autoload
9756 vitalkrilo 181
dll_lib_path  db '/SYS/LIB/DLL.OBJ',0
8671 Coldy 182
dll_error_msg db '"DLL.OBJ not found!\nTerminate application!" -dE',0
183
; } End patch by Coldy, For DLL autoload
1349 art_zh 184
align 4
185
 
186
shmem_list:
187
 .bk           dd shmem_list
188
 .fd           dd shmem_list
189
 
190
dll_list:
191
 .bk           dd dll_list
192
 .fd           dd dll_list
193
 
3393 clevermous 194
pcidev_list:
195
 .bk           dd pcidev_list
196
 .fd           dd pcidev_list
197
 
2412 Serge 198
MAX_DEFAULT_DLL_ADDR = 0x80000000
199
MIN_DEFAULT_DLL_ADDR = 0x70000000
1349 art_zh 200
dll_cur_addr   dd MIN_DEFAULT_DLL_ADDR
201
 
202
 
203
align 4
204
keyboard   dd 1
205
 
7601 dunkaist 206
if lang eq en
207
  SYSLANG = 1
208
else if lang eq fi
209
  SYSLANG = 2
210
else if lang eq de
211
  SYSLANG = 3
212
else if lang eq ru
213
  SYSLANG = 4
214
else if lang eq fr
215
  SYSLANG = 5
216
else if lang eq et
217
  SYSLANG = 6
218
else if lang eq sp
219
  SYSLANG = 7
220
else if lang eq it
221
  SYSLANG = 8
7603 dunkaist 222
else if lang eq ca
223
  SYSLANG = 9
7601 dunkaist 224
else
225
  display 'unsupported language specified',13,10
226
end if
227
syslang    dd SYSLANG
228
 
1349 art_zh 229
boot_y     dd 10
230
 
231
pci_bios_entry  dd 0
232
                dw pci_code_sel
233
 
234
if __DEBUG__ eq 1
235
  include_debug_strings
236
end if
237
 
238
IncludeIGlobals
239
 
240
align 16
241
gdts:
242
 
243
        dw     gdte-$-1
244
        dd     gdts
245
        dw     0
246
 
247
; Attention! Do not change the order of the first four selectors. They are used in Fast System Call
248
; must be : os_code, os_data, app_code, app_data, ....
249
 
250
int_code_l:
251
os_code_l:
252
        dw     0xffff
253
        dw     0x0000
254
        db     0x00
255
        dw     11011111b *256 +10011010b
256
        db     0x00
257
 
258
int_data_l:
259
os_data_l:
260
        dw     0xffff
261
        dw     0x0000
262
        db     0x00
263
        dw     11011111b *256 +10010010b
264
        db     0x00
265
 
266
app_code_l:
267
        dw 0xFFFF
268
        dw 0
269
        db 0
270
        db cpl3
271
        dw G32+D32+0xF;
272
 
273
app_data_l:
274
        dw 0xFFFF
275
        dw 0
276
        db 0
277
        db drw3
278
        dw G32+D32+0xF;
279
 
280
; ------------- PCI BIOS ------------------
281
 
282
pci_code_32:
283
        dw 0         ;lim  0-15
284
        dw 0         ;base 0-15
285
        db 0         ;base 16-23
286
        db cpl0      ;type
287
        db D32       ;lim 16-19+props
288
        db 0         ;base 24-31
289
 
290
pci_data_32:
291
        dw 0         ;lim  0-15
292
        dw 0         ;base 0-15
293
        db 0         ;base 16-23
294
        db dpl0      ;type
295
        db D32       ;lim 16-19+props
296
        db 0         ;base 24-31
297
 
298
; --------------- APM ---------------------
299
apm_code_32:
300
        dw     0x0f        ; limit 64kb
301
        db     0, 0, 0
302
        dw     11010000b *256 +10011010b
303
        db     0x00
304
apm_code_16:
305
        dw     0x0f
306
        db     0, 0, 0
307
        dw     10010000b *256 +10011010b
308
        db     0x00
309
apm_data_16:
310
        dw     0x0f
311
        db     0, 0, 0
312
        dw     10010000b *256 +10010010b
313
        db     0x00
314
; -----------------------------------------
315
 
316
graph_data_l:
317
 
318
        dw     0x7ff
319
        dw     0x0000
320
        db     0x00
321
        dw     11010000b *256 +11110010b
322
        db     0x00
323
tss0_l:
2384 hidnplayr 324
        dw     sizeof.TSS-1
1349 art_zh 325
        dw     tss and 0xFFFF
326
        db     (tss shr 16) and 0xFF
327
        db     10001001b
328
        dw     (tss shr 16) and 0xFF00
329
 
330
tls_data_l:
331
        dw 0x0FFF
332
        dw 0
333
        db 0
334
        db drw3
335
        dw D32
336
 
337
gdte:
338
 
3627 Serge 339
diff16 "end of .data segment",0,$
7721 dunkaist 340
endofcode:
3627 Serge 341
 
1349 art_zh 342
align 16
2430 mario79 343
cur_saved_data:
6585 pathoswith 344
        rb  4096
7276 dunkaist 345
align 64
2288 clevermous 346
fpu_data:
7276 dunkaist 347
        rb  0xa80       ; bochs avx512
7165 clevermous 348
fpu_data_size = $ - fpu_data
6585 pathoswith 349
draw_data:
350
        rb  32*256
7522 dunkaist 351
BPSLine_calc_area   rd  MAX_SCREEN_HEIGHT
352
d_width_calc_area   rd  MAX_SCREEN_HEIGHT
6585 pathoswith 353
mouseunder          rd  16*24
1349 art_zh 354
 
6585 pathoswith 355
mem_block_list      rd  64*2
356
mem_used_list       rd  64*2
357
mem_hash_cnt        rd  64
1349 art_zh 358
 
6585 pathoswith 359
thr_slot_map        rd  8
5130 serge 360
 
6585 pathoswith 361
_display            display_t
362
bios_fb             FRB
3481 Serge 363
 
3732 Serge 364
mst                 MEM_STATE
1349 art_zh 365
 
6585 pathoswith 366
cpu_freq            dq  ?
1349 art_zh 367
 
6585 pathoswith 368
heap_mutex          MUTEX
369
heap_size           dd  ?
370
heap_free           dd  ?
371
heap_blocks         dd  ?
372
free_blocks         dd  ?
373
mem_block_mask      rd  2
374
next_memblock       dd  ?
1349 art_zh 375
 
6585 pathoswith 376
pte_valid_mask      dd  ?
377
page_start          dd  ?
378
page_end            dd  ?
379
sys_page_map        dd  ?
380
os_stack_seg        dd  ?
1349 art_zh 381
 
6585 pathoswith 382
srv.fd              dd  ?
383
srv.bk              dd  ?
1349 art_zh 384
 
6585 pathoswith 385
LFBAddress          dd  ?
1349 art_zh 386
 
6585 pathoswith 387
PUTPIXEL            dd  ?
388
GETPIXEL            dd  ?
3606 Serge 389
 
3627 Serge 390
if VESA_1_2_VIDEO
6585 pathoswith 391
BANK_SWITCH         dd  ?   ; reserved for vesa 1.2
392
BANK_RW             dd  ?
3627 Serge 393
end if
394
 
6585 pathoswith 395
MOUSE_PICTURE       dd  ?
3627 Serge 396
 
6585 pathoswith 397
def_cursor          dd  ?
398
def_cursor_clock    dd  ?
399
current_cursor      dd  ?
400
hw_cursor           dd  ?
401
cur_saved_base      dd  ?
3627 Serge 402
 
6585 pathoswith 403
cur.lock            dd  ?   ; 1 - lock update, 2- hide
404
cur.left            dd  ?   ; cursor clip box
405
cur.top             dd  ?
406
cur.w               dd  ?
407
cur.h               dd  ?
3627 Serge 408
 
6585 pathoswith 409
ipc_tmp             dd  ?
410
ipc_pdir            dd  ?
411
ipc_ptab            dd  ?
3627 Serge 412
 
6585 pathoswith 413
proc_mem_map        dd  ?
414
proc_mem_pdir       dd  ?
415
proc_mem_tab        dd  ?
3627 Serge 416
 
6585 pathoswith 417
tmp_task_ptab       dd  ?
3627 Serge 418
 
6585 pathoswith 419
default_io_map      dd  ?
1349 art_zh 420
 
6585 pathoswith 421
LFBSize             dd  ?
1349 art_zh 422
 
6585 pathoswith 423
current_process     dd  ?
8869 rgimad 424
current_slot        dd  ?   ; pointer to APPDATA of current thread
425
current_slot_idx    dd  ?   ; index of current thread slot
8866 rgimad 426
thread_count        dd  ?
3727 Serge 427
 
6585 pathoswith 428
; device addresses
429
mididp  dd  ?
430
midisp  dd  ?
1349 art_zh 431
 
6585 pathoswith 432
cdbase  dd  ?
433
cdid    dd  ?
1349 art_zh 434
 
6585 pathoswith 435
hdbase  dd  ?   ; for boot 0x1f0
436
hdid    dd  ?
437
hdpos   dd  ?   ; for boot 0x1
438
cdpos   dd  ?
1349 art_zh 439
 
6585 pathoswith 440
;CPUID information
441
cpu_vendor  rd  3
442
cpu_sign    dd  ?
443
cpu_info    dd  ?
444
cpu_caps    rd  4
1349 art_zh 445
 
7124 dunkaist 446
xsave_area_size dd ?
7276 dunkaist 447
xsave_eax       dd ?
448
xsave_edx       dd ?
7124 dunkaist 449
 
6585 pathoswith 450
pg_data     PG_DATA
451
heap_test   dd  ?
1349 art_zh 452
 
6585 pathoswith 453
skin_data   dd  ?
1349 art_zh 454
 
6585 pathoswith 455
mouse_active    dd  ?
456
mouse_pause     dd  ?
5130 serge 457
 
6585 pathoswith 458
BgrDrawMode     dd  ?
459
BgrDataWidth    dd  ?
460
BgrDataHeight   dd  ?
1349 art_zh 461
 
6585 pathoswith 462
buttontype          dd  ?
463
windowtypechanged   dd  ?
1349 art_zh 464
 
6585 pathoswith 465
debug_step_pointer  dd  ?
1349 art_zh 466
 
6585 pathoswith 467
lba_read_enabled    dd  ?   ; 0 = disabled , 1 = enabled
468
pci_access_enabled  dd  ?   ; 0 = disabled , 1 = enabled
1349 art_zh 469
 
6585 pathoswith 470
NumBiosDisks        dd  ?
6843 dunkaist 471
BiosDisksData       rb  200h    ; struct BiosDiskData
6585 pathoswith 472
BiosDiskCaches      rb  80h*(cache_ide1-cache_ide0)
473
BiosDiskPartitions  rd  80h
1349 art_zh 474
 
6585 pathoswith 475
img_background          dd  ?
476
mem_BACKGROUND          dd  ?
477
static_background_data  dd  ?
1349 art_zh 478
 
6585 pathoswith 479
hd1_status              dd  ?   ; 0 - free : other - pid
480
application_table_owner dd  ?   ; 0 - free : other - pid
481
application_table_mutex MUTEX
1349 art_zh 482
 
6585 pathoswith 483
redrawmouse_unconditional   dd  ?
1349 art_zh 484
 
6585 pathoswith 485
MOUSE_SCROLL_H  rw  1
486
MOUSE_X:        rw  1
487
MOUSE_Y:        rw  1
488
MOUSE_SCROLL_V  rw  1
1349 art_zh 489
 
6585 pathoswith 490
X_UNDER         rw  1
491
Y_UNDER         rw  1
492
COLOR_TEMP      dd  ?
493
MOUSE_COLOR_MEM dd  ?
1349 art_zh 494
 
6585 pathoswith 495
SCR_MODE    rw  2
2450 mario79 496
 
6585 pathoswith 497
BTN_DOWN:   rb  4
1349 art_zh 498
 
6585 pathoswith 499
cpu_phys_addr_width db  ?   ; also known as MAXPHYADDR in Intel manuals
500
hdd_appl_data       db  ?   ; 0 = system cache, 1 - application cache
501
cd_appl_data        db  ?   ; 0 = system cache, 1 - application cache
3606 Serge 502
 
6585 pathoswith 503
timer_ticks_enable  db  ?  ; for cd driver
3588 Serge 504
 
6585 pathoswith 505
REDRAW_BACKGROUND   db  ?
1349 art_zh 506
 
3627 Serge 507
align 16
6585 pathoswith 508
DRIVE_DATA: rb  DRIVE_DATA_SIZE
1349 art_zh 509
 
510
IncludeUGlobals
3727 Serge 511
 
512
uglobals_size = $ - endofcode
513
 
514
if ~ lang eq sp
515
diff16 "end of .bss",0,$
516
end if
517
 
8085 dunkaist 518
; check if kernel fits memmap
519
assert $-OS_BASE+0x1000 < TMP_STACK_TOP
520
 
3727 Serge 521
org (OS_BASE+0x0100000)
522
 
5057 clevermous 523
; Currently size of memory allocated for the ramdisk is fixed.
524
; This should be revisited when/if memory map would become more dynamic.
525
RAMDISK_CAPACITY = 2880 ; in sectors
3727 Serge 526
 
6585 pathoswith 527
RAMDISK:
528
        rb  RAMDISK_CAPACITY*512
5057 clevermous 529
 
3727 Serge 530
_CLEAN_ZONE:
7136 dunkaist 531
CLEAN_ZONE = _CLEAN_ZONE - OS_BASE
3727 Serge 532
 
6585 pathoswith 533
BgrAuxTable     rb  32768
5057 clevermous 534
align 65536
6585 pathoswith 535
SB16Buffer      rb  65536
5057 clevermous 536
 
3727 Serge 537
align 4096
6585 pathoswith 538
BUTTON_INFO     rb  64*1024
539
RESERVED_PORTS:
540
        rb  64*1024
541
sys_pgmap:
542
        rb  1024*1024/8