home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / atari / 8bit / 5593 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.5 KB  |  30 lines

  1. Newsgroups: comp.sys.atari.8bit
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!iplmail!bugs.orl.mmc.com!richards
  3. From: richards@bugs.orl.mmc.com (Larry Richardson)
  4. Subject: Re: Need Action! help
  5. Message-ID: <1992Dec15.205117.5910@iplmail.orl.mmc.com>
  6. Sender: news@iplmail.orl.mmc.com (NetWork News Manager)
  7. Organization: Martin Marietta
  8. References: <1992Dec14.212850.8900@neb> <71728@cup.portal.com>
  9. Date: Tue, 15 Dec 1992 20:51:17 GMT
  10. Lines: 18
  11.  
  12. Password protecting an 8-bit is a little hopeless, as most good programmers
  13. will just boot up with something else (another floppy with DOS) anyway.
  14.  
  15. Something that I have done is to write a small machine language program that
  16. forces the user to enter a correct password before continuing execution.  Then,
  17. append the program (this only works for individual programs, not for the
  18. entire system) that you want protected to the end of the small ML file.  The
  19. ML file will execute first, ask the user for the password, and if the user
  20. types the correct password, control will pass back to DOS, which will continue
  21. loading the remaining part of the executable (the original program).
  22.  
  23. Of course, you can write a small ACTION! program to do this, compile it
  24. to machine language, and do the same thing.  That is, if the ACTION! compiler
  25. tells DOS to explicitly run the program after it loads (I forget the memory
  26. address you have to load...).  I can't remember off the top of my head if 
  27. it does or not.
  28.  
  29.             Larry Richardson
  30.