PDA

View Full Version : VGA display mode codes



Nadrach
02-12-2004, 01:21 PM
I have Knoppix 3.1 loaded on an old Toshiba 300CDT laptop - it's on loan - and no we can't get Knoppix 3.3 on it. Slow (only 80Mb) but usable, even with OpenOffice 1.1.0. There was a problem with the display during boot, because Knoppix defaults to 1024x768 and I only have 800x600. This was OK until the root partition glitched in a file-system check and I could not read the bottom of the screen to find out what was happpening, or enter any commands (except by guesswork). I fixed this by changing the VGA code in 'lilo.conf' from 791 to either NORMAL or 0x0103 (800x600x256). Both produced the same display, 80x25 on the central 50% or so of the screen, but without the penguin at the top left.

However, what I would like to do, if possible, is have the neat display that goes with VGA=791, but in an 800x600 space. Is there a VGA display code that will do this?

Stephen
02-12-2004, 05:52 PM
I have Knoppix 3.1 loaded on an old Toshiba 300CDT laptop - it's on loan - and no we can't get Knoppix 3.3 on it. Slow (only 80Mb) but usable, even with OpenOffice 1.1.0. There was a problem with the display during boot, because Knoppix defaults to 1024x768 and I only have 800x600. This was OK until the root partition glitched in a file-system check and I could not read the bottom of the screen to find out what was happpening, or enter any commands (except by guesswork). I fixed this by changing the VGA code in 'lilo.conf' from 791 to either NORMAL or 0x0103 (800x600x256). Both produced the same display, 80x25 on the central 50% or so of the screen, but without the penguin at the top left.

However, what I would like to do, if possible, is have the neat display that goes with VGA=791, but in an 800x600 space. Is there a VGA display code that will do this?

Yes there is you want 788.



Screen 640x480 800x600 1024x768 1280x1024 1600x1200
Colors --------------------------- -------------------------------------------
256 | 769 771 773 775 796
32,768 | 784 787 790 793 797
65,536 | 785 788 791 794 798
16.8M | 786 789 792 795 799

Nadrach
02-13-2004, 11:16 AM
Yay! Works! Thank you very much!