217,7 → 217,7 |
test [es:mi.ModeAttributes], 10000000b ;LFB ? |
jz @f |
|
cmp [es:mi.BitsPerPixel], 32 ;It show only videomodes to have support 24 and 32 bpp |
cmp [es:mi.BitsPerPixel], 24 ;It show only videomodes to have support 24 and 32 bpp |
jb @f |
|
; cmp [es:mi.BitsPerPixel],16 |
251,7 → 251,7 |
mov [es:bx+6], cx ; +6 : mode number |
movzx ax, byte [es:mi.BitsPerPixel] |
mov word [es:bx+8], ax ; +8 : bits per pixel |
add bx, size_of_step ; size of record |
add bx, size_of_step ; size of record |
|
@@: |
add si, 2 |
278,11 → 278,11 |
; je .exit |
; add bx,word [es:bp+2] |
; add bx,word [es:bp+8] |
; |
; |
; cmp ax,bx |
; ja .loops |
; jmp .again |
;.loops: |
;.loops: |
; push dword [es:si] |
; push dword [es:si+4] |
; push dword [es:si+8] |
493,7 → 493,7 |
;----------------------------------------------------------------------------- |
|
;default_vmode: |
|
|
;----------------------------------------------------------------------------- |
draw_vmodes_table: |
_setcursor 9, 2 |
515,10 → 515,10 |
|
|
add cx, size_of_step*long_v_table |
|
|
cmp ax, cx |
jb .ok |
|
|
sub cx, size_of_step*long_v_table |
add cx, size_of_step |
cmp cx, word[end_cursor] |
624,9 → 624,9 |
;draw cursor |
mov word[ds:_rs+21], '>>' |
mov word[ds:_rs+46], '<<' |
|
|
|
|
.next: |
push si |
mov si, _rs |