Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!STORK@mit-mc From: STORK%mit-mc@sri-unix.UUCP Newsgroups: net.micro.cpm Subject: none Message-ID: <13407@sri-arpa.UUCP> Date: Mon, 7-Nov-83 07:26:00 EST Article-I.D.: sri-arpa.13407 Posted: Mon Nov 7 07:26:00 1983 Date-Received: Wed, 9-Nov-83 06:54:25 EST Lines: 24 From: Eric Stork Subject: Need Advice on Using CP/M Function 13 Of course, when changing disks one should always do a ^C. But sometimes I forget, and then if I use my editor I get a R/O message when I try to save the file (and of course lose my work). As an experiment, I patched a CALL to CP/M Function 13 (Disk Reset) into the initialization routine for the editor. Only five bytes are added by that, and it seems to work like a charm. But that is so obvious a solution that I cannot imagine that the authors of editors had not thought of it. Perhaps the did NOT include that for that may come nd bite me. So my question: What, if anything, is wrong with this approach? Where are the gotchas? Thanks, Eric