Xref: utzoo comp.sys.att:9527 comp.unix.i386:4871 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcsun!hp4nl!tuegate.tue.nl!tuewsd!wsinpdb From: wsinpdb@lso.win.tue.nl (Paul de Bra) Newsgroups: comp.sys.att,comp.unix.i386 Subject: Paradise VGA on Unix 3.2.2 Message-ID: <1178@tuewsd.win.tue.nl> Date: 9 May 90 07:44:55 GMT Sender: wsinpdb@win.tue.nl (Paul de Bra) Organization: Eindhoven University of Technology, The Netherlands Lines: 34 A while ago I posted a patch to /etc/conf/pack.d/kd/Driver.o to make AT&T Unix 3.2.1 believe that a Paradise VGA+16 is a VDC600. (The patch makes it believe that any VGA is a VDC600, but other VGA boards will still not function with this patch.) Several people asked for a patch for Unix 3.2.2 (which I don't have). Here it is, courtasy of Tony Field, who, upon my instructions, found the corresponding byte in 3.2.2: "The Driver.o function "kdunlk_vdc600()" is called in three places "providing the variable "Vdc" is set to 0x04. Function "kdck_vdc()" checks "the video board and sets "Vdc". " "To force the setting of "Vdc = 0x04", i changed a "je" to a "jne" at "address 0x325b in Driver.o. I.e.: " " byte 0x325b was "t", becomes "u" " "This single byte change was all that was necessary to ensure that "the Paradise+16 board would work in 800x600 mode for X on my 3.2.2 "edition of unix. Let me just warn people again that this patch has ONLY been tested with the Paradise VGA+16. It might work with some other boards based on the Paradise chip set, but certainly will not work on boards with a different chip set. Furthermore, with the patch applied, the original VDC600 will no longer work! Enjoy! Paul. (debra@research.att.com)