Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!philmtl!philabs!ttidca!woodside@ttidcb.tti.com From: woodside@ttidcb.tti.com (George Woodside) Newsgroups: comp.sys.ibm.pc.misc Subject: GEM & Codeview Message-ID: <18686@ttidca.TTI.COM> Date: 20 Jul 90 13:46:23 GMT Sender: woodside@ttidca.TTI.COM Organization: Citicorp/TTI, Santa Monica Lines: 55 I've had some success at using Codeview with MSC 6.0 to debug GEM applications, but I still have a few problems. The development system is a 4M 386 with VGA and monochrome displays. The software being developed is in a directory of its own. Codeview has been renamed to .APP, and installed in the \GEMAPPS\GEMSYS directory. It is also necessary to place a copy of the test application's resource file in the \GEMAPPS\GEMSYS directory, but the application program, and the source files, are all resident in the development directory. The following batch file puts the target software on the VGA, and the Codeview display on the monochrome display: @echo off what ye set drive=%what%: what y set cpath=%what% if %cpath% == "\" set cwd=%drive%%cpath% if not %cpath% == "\" set cwd=%drive%%cpath%\ d: cd \gemapps\gemsys gemvdi cv /M /2 /X %cwd%%1.app %drive% cd %cpath% echo on The program "what" places the current drive and path into the environment variable "what", for access by the batch file. The only problem with this script is that the mouse is limited to the top half of the screen. This batch file uses the VGA as the Codeview display, and the monochrome display as the GEM screen (assuming the current system configuration is for GEM on the monochrome display): @echo off what ye set drive=%what%: what y set cpath=%what% if %cpath% == "\" set cwd=%drive%%cpath% if not %cpath% == "\" set cwd=%drive%%cpath%\ d: cd \gemapps\gemsys gemvdi cv /50 /F /M /X %cwd%%1.app %drive% cd %cpath% echo on Again, the mouse range is the top half of the screen only. When the target program is running, the VGA is in graphic mode, and unreadable. The Codeview display is constantly being redrawn, and is quite slow. At the exit from Codeview, the GEM desktop display is redrawn on the monochrome screen, then the system locks up. Any help anyone can offer will be greatly appreciated.