Subversion Repositories Kolibri OS

Rev

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

Rev 7121 Rev 7122
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 7121 $
8
$Revision: 7122 $
9
 
9
 
10
 
10
 
Line 311... Line 311...
311
BOOT_X_RES          equ 0x900A    ;word   X res
311
BOOT_X_RES          equ 0x900A    ;word   X res
312
BOOT_Y_RES          equ 0x900C    ;word   Y res
312
BOOT_Y_RES          equ 0x900C    ;word   Y res
313
BOOT_BANK_SW        equ 0x9014    ;dword  Vesa 1.2 pm bank switch
313
BOOT_BANK_SW        equ 0x9014    ;dword  Vesa 1.2 pm bank switch
314
BOOT_LFB            equ 0x9018    ;dword  Vesa 2.0 LFB address
314
BOOT_LFB            equ 0x9018    ;dword  Vesa 2.0 LFB address
315
BOOT_MTRR           equ 0x901C    ;byte   0 or 1 : enable MTRR graphics acceleration
315
BOOT_MTRR           equ 0x901C    ;byte   0 or 1 : enable MTRR graphics acceleration
316
;BOOT_LOG            equ 0x901D    ;byte   not used anymore (0 or 1 : enable system log display)
-
 
317
BOOT_LAUNCHER_START equ 0x901D    ;byte  (0 or 1) start the first app (right now it's LAUNCHER) after kernel is loaded?
316
BOOT_LAUNCHER_START equ 0x901D    ;byte   (0 or 1) start the first app (right now it's LAUNCHER) after kernel is loaded?
318
;BOOT_DIRECT_LFB     equ 0x901E    ;byte   0 or 1 : enable direct lfb write, paging disabled
-
 
319
BOOT_DEBUG_PRINT    equ 0x901E    ;byte   If nonzero, duplicates debug output to the screen.
317
BOOT_DEBUG_PRINT    equ 0x901E    ;byte   If nonzero, duplicates debug output to the screen.
320
BOOT_DMA            equ 0x901F    ;
318
BOOT_DMA            equ 0x901F    ;byte   DMA write : 1=yes, 2=no
321
BOOT_PCI_DATA       equ 0x9020    ;8bytes pci data
319
BOOT_PCI_DATA       equ 0x9020    ;8bytes pci data
322
BOOT_SHUTDOWN_TYPE  equ 0x9030    ;byte   shutdown type (see sysfn 18.9)
320
BOOT_SHUTDOWN_TYPE  equ 0x9030    ;byte   shutdown type (see sysfn 18.9)
323
;BOOT_IDE_BASE_ADDR  equ 0x9031   ;word   IDEContrRegsBaseAddr ; now free and is not used
-
 
324
BOOT_MEM_AMOUNT     equ 0x9034    ;dword  memory amount
321
BOOT_MEM_AMOUNT     equ 0x9034    ;dword  memory amount
Line 325... Line 322...
325
 
322
 
326
BOOT_APM_ENTRY      equ 0x9040
323
BOOT_APM_ENTRY      equ 0x9040
327
BOOT_APM_VERSION    equ 0x9044
324
BOOT_APM_VERSION    equ 0x9044
328
BOOT_APM_FLAGS      equ 0x9046    ;unused
325
BOOT_APM_FLAGS      equ 0x9046
329
BOOT_APM_CODE_32    equ 0x9050
326
BOOT_APM_CODE_32    equ 0x9050
330
BOOT_APM_CODE_16    equ 0x9052
327
BOOT_APM_CODE_16    equ 0x9052
-
 
328
BOOT_APM_DATA_16    equ 0x9054
331
BOOT_APM_DATA_16    equ 0x9054
329
 
332
;BOOT_IDE_BAR0_16    equ 0x9056 ; now free and is not used
330
BOOT_BIOS_HD_CNT     equ 0x907F   ; byte   number of BIOS hard disks
333
;BOOT_IDE_BAR1_16    equ 0x9058 ; now free and is not used
331
BOOT_BIOS_HD         equ 0x9080   ; Nbytes BIOS hard disks
334
;BOOT_IDE_BAR2_16    equ 0x905A ; now free and is not used
-
 
335
;BOOT_IDE_BAR3_16    equ 0x905C ; now free and is not used
332
BOOT_MEMMAP_BLOCK_CNT equ 0x9100  ; word   available physical memory map: number of blocks
336
;BOOT_IDE_PI_16      equ 0x905E ; now free and is not used
333
BOOT_MEMMAP_BLOCKS   equ 0x9104   ; available physical memory map: blocks, i.e. e820entry structs
Line 337... Line 334...
337
;BOOT_IDE_INTERR_16  equ 0x9060 ; now free and is not used
334
MAX_MEMMAP_BLOCKS   equ 32
338
 
335
 
339
TMP_FILE_NAME       equ     0
336
TMP_FILE_NAME       equ     0
Line 934... Line 931...
934
        list            LHEAD
931
        list            LHEAD
935
        handler         dd ?   ;handler roututine
932
        handler         dd ?   ;handler roututine
936
        data            dd ?   ;user-specific data
933
        data            dd ?   ;user-specific data
937
        num_ints        dd ?   ;how many times handled
934
        num_ints        dd ?   ;how many times handled
938
ends
935
ends
-
 
936
 
-
 
937
struct DQ
-
 
938
        lo dd ?
-
 
939
        hi dd ?
-
 
940
ends
-
 
941
 
-
 
942
struct e820entry
-
 
943
        addr DQ ?
-
 
944
        size DQ ?
-
 
945
        type dd ?
-
 
946
ends
-
 
947