Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!ames!oliveb!pyramid!voder!kontron!cramer From: cramer@kontron.UUCP (Clayton Cramer) Newsgroups: comp.sys.ibm.pc Subject: Re: How to change the default radix in CodeView Message-ID: <1530@kontron.UUCP> Date: Mon, 20-Apr-87 20:30:16 EST Article-I.D.: kontron.1530 Posted: Mon Apr 20 20:30:16 1987 Date-Received: Tue, 21-Apr-87 23:58:29 EST References: <476@ednor.UUCP> Organization: Kontron Electronics, Mt. View, CA Lines: 34 > [] > One of the people here has discovered how to find the location in CodeView > that controls the radix that is set using the 'N' command. We prefer to > always start up in hexadecimal, so we have changed the default radix from > 10 to 16. > > All you have to do is find the string "AX", then search for the first > byte containing a 0a. Change that byte to 10 (hexadecimal) and the default > should now be base 16. Sorry we couldn't give a DEBUG patch, but the locations > to change are beyond the 64K boundary. You'll have to use one of the disk > file patchers for this. > > This technique works with either CV 1.0 or 1.1. > > (Do I have to say that you should do this on a backup copy of CodeView just > in case?) > > -- > -Chris Faylor- Here's an even easier way, works with all versions of CodeView, and doesn't yield unpredictable results when you later discover that that byte is used somewhere else in CodeView. Make a command file named CV.BAT, and put it somewhere on your hard disk where it will be seen before CV.EXE (the CodeView executable). \codeviewdirectoryname\CV -C"N16" %1 %2 %3 %4 %5 %6 %7 %8 %9 This tells CodeView to execute the N16 (set radix for input numbers to base 16) command when starting CodeView. %1 through %9 are input parameters so you can specify parameters just like you are starting CodeView directly. Clayton E. Cramer