Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!cuae2!ltuxa!we53!sw013b!dj3b1!killer!csccat!jack From: jack@csccat.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: MS CodeView Message-ID: <95@csccat.UUCP> Date: Thu, 9-Apr-87 10:17:59 EST Article-I.D.: csccat.95 Posted: Thu Apr 9 10:17:59 1987 Date-Received: Sun, 12-Apr-87 01:28:35 EST References: <1501@ncr-sd.SanDiego.NCR.COM> Organization: Computer Support Corporation. Carrollton,Texas. Lines: 42 Summary: Fix dat Codeview/Ega In article <1501@ncr-sd.SanDiego.NCR.COM>, lodman@ncr-sd.SanDiego.NCR.COM (Mike Lodman) writes: > I am using MS 4.0 and CodeView on an NCR PC-8 (AT Compatable) with a > Video-7 Vega EGA card. My problem is that whenever I start CodeView it > turns the screen pink and green. Does anyone know how I can make it > just come up in normal colors? The manual was no help at all. > -- > Michael Lodman The problem is that codeview loads fonts and re-calcs the screen and then sets the pallet which apperently gets screwed up. So here is the fix. The following is a debug session to fix the problem. Be sure to save a copy of codeview somewhere else incase things get screwed up. C>RENAME CV.EXE CV /* this causes the debugger to load as image */ C>DEBUG CV -D DS:3241 L2 CD 10 /* if you don't get CD 10 here then see below */ -E DS:3241 CD:90 /* change the call to a NOP */ 10:90 /* change the interupt number 10 to a NOP */ -D DS:3280 L2 CD 10 /* if you don't get CD 10 here then see below */ -E DS:3280 CD:90 10:90 -W /* write file out */ -Q /* exit debugger */ C>RENAME CV CV.EXE Run it and see if it works. IF YOU DON'T FIND THE "CD 10" TRY THIS -S DS:0000 FFFE B8 02 10 CD 10 This will search for all the interrupt 10 calls that cause the problem, NOP theses out like I show you above. -- Jack Hudler, Computer Support Corporation, Carrollton,Texas 75006 (214)661-8960