Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!seismo!cmcl2!lanl!unm-la!unmvax!humphrie From: humphrie@unmvax.UUCP (stanley humphries) Newsgroups: net.micro Subject: Re: UNPRO for MSDOS BASIC Message-ID: <1079@unmvax.UUCP> Date: Wed, 28-May-86 10:35:36 EDT Article-I.D.: unmvax.1079 Posted: Wed May 28 10:35:36 1986 Date-Received: Fri, 30-May-86 07:28:03 EDT References: <944@brl-smoke.ARPA> <401@ptsfb.UUCP> Organization: Univ. of New Mexico, Albuquerque Lines: 42 > In article <944@brl-smoke.ARPA> JFORREST@SIMTEL20.arpa (Jim Forrest) writes: > >I have an UNPRO.COM to unprotect a basic file saved with the ,P in > >the save command for CP/M. I have a friend who saved an MSDOS Basic > >program that way and now cannot list the program. Do you know where I > >can get an UNPROTECT program for MSDOS Basic? > >Jim > > *********** > Sorry to post this to the net but Jim didn't provide much of an > address, telephone number or whatever.... (To net users, PLEASE do give > your phone number and address in your postings...This is an ARPANET > feed, isn't it? Don't they have phones and addresses???) Fortunately, this > might be useful to others otherwise I wouldn't have bothered responding > at all.... > *********** > > In IBM PC-DOS, a file saved using the ,P option can be recovered by > going into BASIC/BASICA and entering: > > NEW > DEF SEG > BSAVE,"UN.P",1124,1 > LOAD"filename" > BLOAD,"UN.P",1124 > > where filename is the name of the file that was saved with the P > option. It may work for generic MSDOS also. > -- > Mitch Che Pacific Bell > --------------------------------------- > disclaimer, disclaimer, disclaimer, too > (415) 823-2438 uucp: {ihnp4,dual}!ptsfa!ptsfb!che The above program to unprotect BASIC programs will only work on an IBM PC. I had tried it on the Z-150, it did not work. One version that works is as follow: DEBUG -E100 ff,1a -N UNPROT.BAS -RCX 2 -W -Q It also works to recover program accidentally lost by issuing a NEW command.