thinkpad t30 console support 800x600 resolution?
Greg Smith
freebsd_mail at myrealbox.com
Sun Jun 22 16:19:01 PDT 2003
Sean,
The PIXEL_MODE logic was written specifically to use the 4-plane modes.
[see scvgarndr.c]
With today's faster systems one could probably rewrite it to use a
single plane mode. I think you could accomplish it by changing
scvgarndr.c, scvidctl.c, vidcontrol.c. There may be more, but those
are the 3 files I hacked a couple years ago to support 1024x768x4 4.
Greg
-----Original Message-----
>Greg, does this mode only work with 4 colors? I've got the
>following modes supported (after the patch):
>
> mode# flags type size font window linear
>buffer
>-----------------------------------------------------------------------
-------
> 24 (0x018) 0x00000001 T 80x25 8x16 0xb8000 32k 32k
0x00000000
>32k
> 30 (0x01e) 0x00000001 T 80x50 8x8 0xb8000 32k 32k
0x00000000
>32k
> 32 (0x020) 0x00000001 T 80x30 8x16 0xb8000 32k 32k
0x00000000
>32k
> 34 (0x022) 0x00000001 T 80x60 8x8 0xb8000 32k 32k
0x00000000
>32k
>256 (0x100) 0x0000000f G 640x400x8 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>257 (0x101) 0x0000000f G 640x480x8 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>259 (0x103) 0x0000000f G 800x600x8 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>261 (0x105) 0x0000000f G 1024x768x8 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>263 (0x107) 0x0000000f G 1280x1024x8 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>269 (0x10d) 0x0000000f G 320x200x15 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>270 (0x10e) 0x0000000f G 320x200x16 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>271 (0x10f) 0x0000000f G 320x200x24 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>272 (0x110) 0x0000000f G 640x480x15 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>273 (0x111) 0x0000000f G 640x480x16 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>274 (0x112) 0x0000000f G 640x480x24 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>275 (0x113) 0x0000000f G 800x600x15 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>276 (0x114) 0x0000000f G 800x600x16 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>277 (0x115) 0x0000000f G 800x600x24 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>278 (0x116) 0x0000000f G 1024x768x15 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>279 (0x117) 0x0000000f G 1024x768x16 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>280 (0x118) 0x0000000f G 1024x768x24 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>281 (0x119) 0x0000000f G 1280x1024x15 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>282 (0x11a) 0x0000000f G 1280x1024x16 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>283 (0x11b) 0x0000000f G 1280x1024x24 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>288 (0x120) 0x0000000f G 320x200x32 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>289 (0x121) 0x0000000f G 640x480x32 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>290 (0x122) 0x0000000f G 800x600x32 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>291 (0x123) 0x0000000f G 1024x768x32 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>292 (0x124) 0x0000000f G 1280x1024x32 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>320 (0x140) 0x0000000f G 1400x1050x8 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>321 (0x141) 0x0000000f G 1400x1050x15 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>322 (0x142) 0x0000000f G 1400x1050x16 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>323 (0x143) 0x0000000f G 1400x1050x24 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>324 (0x144) 0x0000000f G 1400x1050x32 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>370 (0x172) 0x0000000f G 1600x1200x8 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>371 (0x173) 0x0000000f G 1600x1200x15 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>372 (0x174) 0x0000000f G 1600x1200x16 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>373 (0x175) 0x0000000f G 1600x1200x24 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>374 (0x176) 0x0000000f G 1600x1200x32 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>386 (0x182) 0x0000000f G 320x200x8 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>387 (0x183) 0x0000000f G 640x400x15 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>388 (0x184) 0x0000000f G 640x400x16 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>389 (0x185) 0x0000000f G 640x400x24 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>390 (0x186) 0x0000000f G 640x400x32 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>402 (0x192) 0x0000000f G 320x240x8 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>403 (0x193) 0x0000000f G 320x240x15 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>404 (0x194) 0x0000000f G 320x240x16 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>405 (0x195) 0x0000000f G 320x240x24 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>406 (0x196) 0x0000000f G 320x240x32 1 8x8 0xa0000 64k 64k
0xe0000000
>65536k
>418 (0x1a2) 0x0000000f G 400x300x8 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>419 (0x1a3) 0x0000000f G 400x300x15 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>420 (0x1a4) 0x0000000f G 400x300x16 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>421 (0x1a5) 0x0000000f G 400x300x24 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>422 (0x1a6) 0x0000000f G 400x300x32 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>434 (0x1b2) 0x0000000f G 512x384x8 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>435 (0x1b3) 0x0000000f G 512x384x15 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>436 (0x1b4) 0x0000000f G 512x384x16 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>437 (0x1b5) 0x0000000f G 512x384x24 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>438 (0x1b6) 0x0000000f G 512x384x32 1 8x16 0xa0000 64k 64k
0xe0000000
>65536k
>450 (0x1c2) 0x0000000f G 640x350x8 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>451 (0x1c3) 0x0000000f G 640x350x15 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>452 (0x1c4) 0x0000000f G 640x350x16 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>453 (0x1c5) 0x0000000f G 640x350x24 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>454 (0x1c6) 0x0000000f G 640x350x32 1 8x14 0xa0000 64k 64k
0xe0000000
>65536k
>
>-------Original Message-------
>From: Greg Smith <freebsd_mail at myrealbox.com>
>Sent: 06/22/03 05:25 PM
>To: Sean_Welch at alum.wofford.org
>Subject: Re: thinkpad t30 console support 800x600 resolution?
>
>>
>> Sean,
>
>>I've been unable to get the SC_PIXEL_MODE kernel configuration
>>option (check LINT) to work so I can't get it to switch into
>>800x600 VESA mode on my machine...
>
>What is the output of
>
>vidcontrol -i mode
>
>? If you don't see this mode
>
>258 (0x102) 0x0000000b G 800x600x4 4 ......
>
>it won't work. Some "modern" or perhaps "post-modern" video adapters
>don't support these modes.
>
>Greg
>
>
>
>>
More information about the freebsd-mobile
mailing list