********************************************************************** * * * PEACEBUG, Utilities * * ------------------- * * * * written by: Emanuel M”cklin * * Zschokkestrasse 7 * * CH-8037 Zrich * * FREDDY@ezrz1.vmsmail.ethz.ch * * * * written with: Turboassembler 1.xx * * * ********************************************************************** These utilities are examples, how the interface of the debugger can be programmed. Only CALLPBUG and USERTRAC are still senseful because PBUGCONF can take over the rest of the functions. - CACHEADD: adds a certain number of entries to the two caches. In the source you can fix how many additional entries you want. - CALLPBUG: calls the debugger. If you want to call OS functions from the debugger, you should call the debugger always that way. - GETREZ: sets the resolution of the debugger according to Getrez (XBIOS 4). This is senseful if you are working with virtual resolutions (e.g. with protos or bigscreen). As the debugger has its own screen, the screenexpander cannot come into action and the screen will be messed up. This can be fixed with this program, as it urges the debugger to use the real (physically) resolution. - HISTORY: adds certain number of entries to the history buffer. It is bytes=entries*length of one line. - INIT_SCR: if a gfx boards installs after the debugger it won't recognize that. With this program PEACEBUG allocates a new screen. - INVERT: inverts the color palette of the debugger. - NEWFONT: installs a new screen font. The font is included in the program when it's assembled. If you prefer another font, you have to assemble it once again. - USERTRAC: installs a user trace routine and calls the debugger afterwards. You have to change the break condition in the source code. It's set to D0.l=-1 by way of trial. By the way you have to trace with t+/t-/t*.