From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 25 Apr 2005 14:50:22 -0400 From: Russ Cox To: 9fans <9fans@cse.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [9fans] vga bios mode support, on-the-fly screen resizing Topicbox-Message-UUID: 401a3740-ead0-11e9-9d60-3106f5b1d025 Plan 9 now supports using the VESA BIOS to set video modes. There is a new aux/vga binary that you need to pull from sources. Then grab a kernel from /n/sources/contrib/rsc/vesa/9/pc. I've built 9pc 9pcf 9pcdisk and 9pccpuf. Please test them out and then send me mail telling me: - type of video card you have - pci ids of video card: pci | grep ' 03\.' - what worked and what did not Things to try include: - aux/vga -m vesa -p (should print available modes) - aux/vga -m vesa -l 1024x768x16 (switch to 1024x768x16) - aux/vga -l text (switch back to text mode) Independent of the VESA support, the kernel can now change the screen size/depth at any time, even while rio is running. Just run aux/vga -l new-size. If you run aux/vga -l text while rio is running, you will switch to text mo= de but not have a prompt (rio is still running, and the shell is waiting for it to exit). As long as you haven't clicked the mouse to change to another window you should be able to blindly type aux/vga -l some-vga-size to get back to rio. Thanks to Roger Peppe, Fred Bonfanti, and Devon O'Dell for help getting this far. Russ