Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3162 → Rev 3163

/kernel/branches/Kolibri-A/trunk/boot/bootvesa.inc
File deleted
Property changes:
Deleted: svn:keywords
-Rev
\ No newline at end of property
/kernel/branches/Kolibri-A/trunk/boot/bootcode.inc
174,6 → 174,7
 
; --------------- APM ---------------------
and word [es:0x9044], 0 ; ver = 0.0 (APM not found)
if 0
mov ax, 0x5300
xor bx, bx
int 0x15
196,6 → 197,7
mov [es:0x9054], dx
 
apm_end:
end if
 
;CHECK current of code
cmp [cfgmanager.loader_block], -1
208,9 → 210,9
 
noloaderblock:
; DISPLAY VESA INFORMATION
call print_vesa_info
call calc_vmodes_table
call check_first_parm ;check and enable cursor_pos
; call print_vesa_info
; call calc_vmodes_table
; call check_first_parm ;check and enable cursor_pos
 
; \begin{diamond}[30.11.2005]
cfgmanager:
264,7 → 266,7
 
; ASK GRAPHICS MODE
 
call set_vmode
; call set_vmode
 
; GRAPHICS ACCELERATION
; force yes
293,12 → 295,17
xor ax, ax
mov es, ax
 
mov bx, [es:0x9008] ; vga & 320x200
mov ax, 0x4f02 ; Vesa
; mov bx, [es:0x9008] ; vga & 320x200
mov ax, 0xA000 ; AtomBIOS Fn00
mov cx, 0x550A ; 1024x768, 32bpp, ARGB8888
setgr:
int 0x10
test ah, ah
jnz $
mov ax, 0xA006 ; AtomBIOS Fn06
int 0x10
mov [es:0x9018], ebx ; LFB
 
gmok2:
push ds
pop es
/kernel/branches/Kolibri-A/trunk/gui/fonts/sd_data.asm
154,7 → 154,7
db 0, 0, 0, 0, 0, 0 ;106..108
db 0, 0, 0, 0, 0, 0 ;109..111
 
.v9: 112
.v9:
db 00100100b, 00100100b, 00b ;112: XXX
db 0, 0, 0 ;113: XXXX
db 0, 0, 0 ;114: XXX
/kernel/branches/Kolibri-A/trunk/kernel.asm
335,7 → 335,7
; -----------------------------------------
mov al, [BOOT_VAR+0x901F] ; DMA access
mov [allow_dma_access], al
mov eax, 32 ; bpp
mov eax, 32 ; << bpp
mov [ScreenBPP],al
mov [_display.bpp], eax
 
342,20 → 342,20
mov [_display.vrefresh], 60
mov [_display.disable_mouse], __sys_disable_mouse
 
movzx eax,word [BOOT_VAR+0x900A] ; X max
mov eax, 1024 ; << X max
mov [_display.width], eax
dec eax
mov [Screen_Max_X],eax
mov [screen_workarea.right],eax
movzx eax,word [BOOT_VAR+0x900C] ; Y max
mov eax,768 ; << Y max
mov [_display.height], eax
dec eax
mov [Screen_Max_Y],eax
mov [screen_workarea.bottom],eax
movzx eax,word [BOOT_VAR+0x9008] ; screen mode
mov eax, 0x7055 ; << screen mode
mov [SCR_MODE],eax
 
movzx eax, word[BOOT_VAR+0x9001] ; for other modes
mov eax, 4096 ; << may be different!
mov [BytesPerScanLine],ax
mov [_display.pitch], eax
 
376,13 → 376,6
mov eax,[BOOT_VAR+0x9018]
mov [LFBAddress],eax
 
cmp [SCR_MODE],word 0100000000000000b
jge setvesa20
mov eax, 0xDEADBEEF
hlt
; === EGA, VGA & Vesa 1.2 modes not supported ===
setvesa20:
v20ga32:
mov [PUTPIXEL],dword __sys_putpixel
mov [GETPIXEL],dword get_pixel