Rev 3989 | Rev 4291 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3989 | Rev 3999 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | ;; KolibriOS 16-bit loader, ;; |
9 | ;; KolibriOS 16-bit loader, ;; |
10 | ;; based on bootcode for MenuetOS ;; |
10 | ;; based on bootcode for MenuetOS ;; |
11 | ;; ;; |
11 | ;; ;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
12 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 13... | Line 13... | ||
13 | 13 | ||
Line 14... | Line 14... | ||
14 | $Revision: 3989 $ |
14 | $Revision: 3999 $ |
15 | 15 | ||
16 | 16 | ||
Line 804... | Line 804... | ||
804 | call clear_vmodes_table ;clear vmodes_table |
804 | call clear_vmodes_table ;clear vmodes_table |
805 | jmp .printcfg |
805 | jmp .printcfg |
Line 806... | Line 806... | ||
806 | 806 | ||
807 | .change_a: |
807 | .change_a: |
- | 808 | call clear_vmodes_table ;clear vmodes_table |
|
- | 809 | ||
- | 810 | mov si, word [cursor_pos] |
|
808 | call clear_vmodes_table ;clear vmodes_table |
811 | mov word [cursor_pos_old], si |
809 | .loops: |
812 | .loops: |
810 | call draw_vmodes_table |
813 | call draw_vmodes_table |
811 | _setcursor 25,0 ; out of screen |
814 | _setcursor 25,0 ; out of screen |
812 | xor ax, ax |
815 | xor ax, ax |
813 | int 0x16 |
816 | int 0x16 |
Line 814... | Line 817... | ||
814 | ; call clear_table_cursor ;clear current position of cursor |
817 | ; call clear_table_cursor ;clear current position of cursor |
Line 815... | Line 818... | ||
815 | 818 | ||
816 | mov si, word [cursor_pos] |
819 | mov si, word [cursor_pos] |
Line -... | Line 820... | ||
- | 820 | ||
- | 821 | cmp al, 27 ; If ESC was pressed, do not change the value |
|
- | 822 | jnz @f ; Just exit the resolution selection box |
|
- | 823 | ||
817 | 824 | mov si, word [cursor_pos_old] |
|
818 | cmp al, 27 ; If ESC was pressed, do not change the value |
825 | mov word [cursor_pos], si |
819 | jz .esc_pressed ; Just exit the resolution selection box |
826 | jmp .esc_pressed |
820 | 827 | @@: |
|
821 | cmp ah, 0x48;x,0x48E0 ; up |
828 | cmp ah, 0x48;x,0x48E0 ; up |