Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!eos!ames!husc6!m2c!applix!jim From: jim@applix.UUCP (Jim Morton) Newsgroups: comp.unix.xenix Subject: Re: SCO Herc support Bug? Summary: 386 2.2.2/2.2.3 Herc bug FIX! Keywords: MCAMODE, ioctl(), Hercules graphics Message-ID: <813@applix.UUCP> Date: 29 Sep 88 23:10:27 GMT References: <221@milhow1.UUCP> Organization: APPLiX Inc., Westboro MA Lines: 23 The following patch can be applied to 386 2.2.2 and 2.2.3 kernels to fix the Hercules graphics mode reset bug. The cause of the bug was that the reset values for Nrow and Ncol were swapped. (Nrow should be 0x19 = 25 decimal, Ncol should be 0x50 = 80 decimal). # adb -w /xenix - * cnioctl+0x522?x _cnioctl+0x522: 0x50 * cnioctl+0x522?w 0x19 _cnioctl+0x522: 0x50= 0x19 * cnioctl+0x52c?x _cnioctl+0x52c: 0x19 * cnioctl+0x52c?w 0x50 _cnioctl+0x52c: 0x19= 0x50 * $q # cd / # sync;sync;reboot Disclaimer: this is my fix, not SCO's. SCO's is called release 2.3.1. -- Jim Morton, APPLiX Inc., Westboro, MA UUCP: ...harvard!m2c!applix!jim jim@applix.m2c.org