Rev 2784 | Rev 3984 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2784 | Rev 3802 | ||
|---|---|---|---|
| Line 440... | Line 440... | ||
| 440 | mov $VESA_SET_PALETTE, %ax |
440 | mov $VESA_SET_PALETTE, %ax |
| 441 | xor %bl, %bl |
441 | xor %bl, %bl |
| 442 | xor %dx, %dx |
442 | xor %dx, %dx |
| 443 | int $0x10 |
443 | int $0x10 |
| 444 | 444 | ||
| - | 445 | cmp $0x00, %ah |
|
| 445 | jmp vga_not_compat |
446 | je vga_not_compat |
| 446 | 447 | ||
| 447 | vga_compat: |
448 | vga_compat: |
| 448 | 449 | ||
| 449 | # Try VGA registers to set palette |
450 | # Try VGA registers to set palette |
| 450 | 451 | ||