STOCHAIN Copyright 1986, Arnold B. Krueger Grosse Pointe Woods, MI 48236 STOCHAIN is a program that traces the DOS storage chain, formatting storage blocks it recognizes along the way. It is useful as an instructional tool, for studying DOS storage management; and as a diagnostic tool, for detecting the incidence or causes of storage overlays and "disappearing" memory. In DOS 3.1 and above it lists out the fully qualified name of all resident software. If some resident software is "eating" memory, you can see it with STOCHAIN. STOCHAIN is written in assembler with lots of in-line subroutines to facilitate understanding the programming techniques for accessing various undocumented features of DOS. It includes code for finding the global DOS environment, as an example. See the definition of segment SB in the source code for location of some undocumented PSP fields. STOCHAIN is a tool for 'Hacking" DOS. Usage is simple: just execute STOCHAIN. There are no options or parameters. It alters no memory, is not resident, and just types a report on the screen. Use redirection for printing its report: STOCHAIN > PRN If you develop any insights from it, or find a situation where it breaks, please notify me at ARNY KRUEGER at EXEC-PC, or feel free to modify it and upload your verison of it! STOCHAIN has been tested under DOS 1.1 (it just gives up with an error message), 2.1 (it does everyting but type program names) 3.1 (it works fine) and 3.2 (it points out trashed environments, at times, but they ARE trashed...).  `_cbakpmonlqr