Date: Sun, 03 Sep 2000 17:34:58 GMT From: "Greg Smith" <gregsmith59@hotmail.com> To: freebsd-mobile@freebsd.org Subject: SVGA LCD and console Message-ID: <F24Xix4A2DreBBsQwY6000017c4@hotmail.com>
next in thread | raw e-mail | index | archive | help
I've got 4.1-R running fine on my laptop. Now I would like to get the most
out of the console (yes, I have no X) by taking full advantage of the
800x600 LCD display and 2MB of video memory with the C&T 65550.
I have tried all the non-VESA text modes, and found 80x30 to be better than
the default 80x25. But knowing that 800x600 / 8x16 = 100x37.5 I know I
should be able to do better. So I used the VESA option and switched to
VESA_800x600, but instead of getting 100x37 I just get 80x25 in a smaller
"window" in the middle of the screen. Checking man pages and the mailing
list archives I can't figure out how to improve upon this.
1) Is VESA + sc0 + vga0 + fb0 hardcoded to 80x25?
2) Is this combo hardcoded to 4-bit color?
Thanks for any help. Obviously the first question deserves more attention
than the latter. Hopefully I have included all the necessary info below.
Greg Smith
--config--
device vga0 at isa?
options VESA
device sc0 at isa? flags 0x100
options SC_PIXEL_MODE
--setenv--
TERM=cons25
--vidcontrol modes (edited)--
mode# flags type size font mode name pix used
--------------------------------------------------------------------
0 (0x000) 0x00000001 T 40x25 8x8
1 (0x001) 0x00000001 T 40x25 8x8
2 (0x002) 0x00000001 T 80x25 8x8
3 (0x003) 0x00000001 T 80x25 8x8
4 (0x004) 0x00000003 G 320x200x2 1 8x8
5 (0x005) 0x00000003 G 320x200x2 1 8x8
6 (0x006) 0x00000003 G 640x200x1 1 8x8
13 (0x00d) 0x00000003 G 320x200x4 4 8x8
14 (0x00e) 0x00000003 G 640x200x4 4 8x8
16 (0x010) 0x00000003 G 640x350x2 2 8x14
18 (0x012) 0x00000003 G 640x350x4 4 8x14
19 (0x013) 0x00000001 T 40x25 8x14
20 (0x014) 0x00000001 T 40x25 8x14
21 (0x015) 0x00000001 T 80x25 8x14
22 (0x016) 0x00000001 T 80x25 8x14 EGA_80x25 800x525
23 (0x017) 0x00000001 T 40x25 8x16 VGA_40x25 800x400
24 (0x018) 0x00000001 T 80x25 8x16 80x25 800x600
26 (0x01a) 0x00000003 G 640x480x4 4 8x16
27 (0x01b) 0x00000003 G 640x480x4 4 8x16
28 (0x01c) 0x00000003 G 320x200x8 1 8x8
30 (0x01e) 0x00000001 T 80x50 8x8 80x50 800x400
32 (0x020) 0x00000001 T 80x30 8x16 80x30 800x480
34 (0x022) 0x00000001 T 80x60 8x8 80x60 800x480
37 (0x025) 0x00000003 G 320x240x8 4 8x8
112 (0x070) 0x00000000 T 80x43 8x8
113 (0x071) 0x00000001 T 80x43 8x8 80x43 800x560
256 (0x100) 0x0000000f G 640x400x8 1 8x16
257 (0x101) 0x0000000f G 640x480x8 1 8x16
258 (0x102) 0x0000000b G 800x600x4 4 8x16 VESA_800x600 640x400
259 (0x103) 0x0000000f G 800x600x8 1 8x16
260 (0x104) 0x0000000b G 1024x768x4 4 8x16
261 (0x105) 0x0000000f G 1024x768x8 1 8x16
262 (0x106) 0x0000000b G 1280x1024x4 4 8x16
263 (0x107) 0x0000000f G 1280x1024x8 1 8x16
272 (0x110) 0x0000000f G 640x480x15 1 8x16
273 (0x111) 0x0000000f G 640x480x16 1 8x16
274 (0x112) 0x0000000f G 640x480x24 1 8x16
275 (0x113) 0x0000000f G 800x600x15 1 8x16
276 (0x114) 0x0000000f G 800x600x16 1 8x16
277 (0x115) 0x0000000f G 800x600x24 1 8x16
278 (0x116) 0x0000000f G 1024x768x15 1 8x16
279 (0x117) 0x0000000f G 1024x768x16 1 8x16
288 (0x120) 0x0000000f G 640x480x4 1 8x16
290 (0x122) 0x0000000f G 800x600x4 1 8x16
292 (0x124) 0x0000000f G 1024x768x4 1 8x16
296 (0x128) 0x0000000f G 1280x1024x4 1 8x16
310 (0x136) 0x0000000f G 1152x864x8 1 8x16
--dmesg--
:
VESA: information block
56 45 53 41 00 02 00 01 00 01 00 00 00 00 40 00
00 01 20 00 00 01 16 01 00 01 31 01 00 01 4a 01
00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
VESA: 21 mode(s) found
VESA: v2.0, 2048k memory, flags:0x0, mode table:0xc028c340 (1000040)
VESA: CHIPS 65550 Super VGA
VESA: Chips & Technologies, Inc. 65550 Display Controller 2
:
found-> vendor=0x102c, dev=0x00e0, revid=0xc6
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[10]: type 1, range 32, base fd000000, size 24
:
pci0: <Chips & Technologies 65550 SVGA controller> (vendor=0x102c,
dev=0x00e0) at 20.0
:
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x700ff
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 01 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 9c 0e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 00 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 01 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 9c 0e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 00 00 00 00 00 00 10 0e 00 ff
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F24Xix4A2DreBBsQwY6000017c4>
