home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!comp.vuw.ac.nz!newshost.wcc.govt.nz!sideways!bridge!julian
- From: julian@bridge.welly.gen.nz (Julian Wright)
- Newsgroups: comp.sys.acorn
- Subject: Re: Help!
- Message-ID: <3L3aDDj027n@bridge.welly.gen.nz>
- Date: Tue, 26 Jan 1993 23:31:24 +1300
- References: <93025.092128EY04@LIVERPOOL.AC.UK> <1993Jan25.113557.8389@infodev.cam.ac.uk>
- Reply-To: wright_j@kosmos.wcc.govt.nz
- Organization: USS Enterprise, NCC 1701a
- Lines: 33
-
- MJW19@phx.cam.ac.uk writes:
-
- > In article <93025.092128EY04@LIVERPOOL.AC.UK> EY04@LIVERPOOL.AC.UK writes:
- > >I have a BASIC program that I have written for the BBC. Apart from compiling
- > >the source code is there any way to prevent the source code from being seen
- > >when it is being run on the computer?
- >
- > I have a small piece of code that converts BASIC programs into executables in a
- > rather obvious way. A drawback is that you cannot pass parameters to the BASIC
- > program. Once an executable it can be squeeze-d, rendering it unreadable. I'll
- > try and dig it out and make it work again, and then maybe post it to Newcastle.
-
- I don't think this will help RJ if he wants to protect his program on
- a BBC, though. The most effective method of protection that I have found
- (and employed) is to crunch the program, thus rendering it rather
- unreadable. It also has the beneficial side effect of speeding up
- execution.
-
- Another old favourite on the Model B was to put a REM *** at the top of
- the program, and then poke characters 12, 21 and 3 on top of the
- asterisks to prevent it from being listed. However such programs are not
- protected against loading into the Basic Editor, and so are no longer
- employed.
-
- As for Arc Basic programs, simply converting them to an application with
- the aforementioned utility and subsequently squeezeing them affords no
- protection at all against looking at the program - there are several
- unsqueeze utilities around (indeed a module version comes on the RISC OS
- 3.10 support disc inside !Patch) and once unsqueezed the small ARM code
- header can easily be stripped off a program by loading it into !Edit.
-
- --
- Confusious say: "Man who sit on hot stove is better off"
-