Subversion Repositories Kolibri OS

Rev

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

Rev 413 Rev 419
Line 299... Line 299...
299
    int    0x15
299
    int    0x15
Line 300... Line 300...
300
 
300
 
301
    push 0
301
    push 0
Line -... Line 302...
-
 
302
    pop es
302
    pop es
303
 
303
 
304
    mov [es:0x9040], ebx
304
    mov [es:0x9050], ax
305
    mov [es:0x9050], ax
Line 305... Line -...
305
    mov [es:0x9052], cx
-
 
306
    mov [es:0x9040], dx
-
 
307
 
-
 
308
 
-
 
309
    ; init selectors
-
 
310
;    movzx    eax, ax ; real-mode segment base address of protected-mode 32-bit code segment
-
 
311
;    shl    eax, 4
-
 
312
;    mov    [dword apm_code_32 + 2], ax
-
 
313
;    shr    eax, 16
-
 
314
;    mov    [dword apm_code_32 + 4], al
-
 
315
;    movzx    ecx, cx ; real-mode segment base address of protected-mode 16-bit code segment
-
 
316
;    shl    ecx, 4
-
 
317
;    mov    [dword apm_code_16 + 2], cx
-
 
318
;    shr    ecx, 16
-
 
319
;    mov    [dword apm_code_16 + 4], cl
-
 
320
;    movzx    edx, dx ; real-mode segment base address of protected-mode 16-bit data segment
-
 
321
;    shl    edx, 4
-
 
322
;    mov    [dword apm_data_16 + 2], dx
-
 
323
;    shr    edx, 16
306
    mov [es:0x9052], cx
324
;    mov    [dword apm_data_16 + 4], dl
-
 
325
;    mov    [es : 0x9040], ebx              ; offset of APM entry point
-
 
Line 326... Line 307...
326
apm_end:
307
    mov [es:0x9054], dx
327
; -----------------------------------------
-
 
328
 
308
 
329
 
309
apm_end:
-
 
310
 
330
; DISPLAY VESA INFORMATION
311
; DISPLAY VESA INFORMATION
331
 
312
        push 0
332
    push    0
313
        pop es
333
    pop    es
314
 
334
        mov     ax,0x4f00
315
        mov     ax,0x4f00