(User.programs) Item: 366 by akcs.scotty@hpcvbbs.cv.hp.com [SCOTTY THOMPSON] Subj: CodeLock (GATEWAY replacement) Date: Sat Mar 21 1992 [Note: Scotty claims that this obsoletes the GATEWAY library by Erik Bryntse, which was on Goodies Disk #3. But Erik has written a new, improved GATEWAY, which you can find on this disk. *You* decide which one is best. -jkh-] ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Mini-instructions: SETLOCK sets password; OFFLOCK turns off HP48 in ³ ³ password mode; ASNLOCK assigns OFFLOCK to OFF key; RMVLOCK clears ³ ³ password and clear key assignment on OFF key. -jkh- ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Welcome to CodeLock, Version 1.00 by Scotty Thompson... ======================================================= Overview -------- CodeLock is a GATEWAY replacement. It allows you password protection on your HP48SX calculator in that the correct 5-digit code must be keyed before the calculator will let anyone use it. If an alarm wakes the HP48SX, this program will still time-out and put your calc to sleep. Upon a hardware reset, this program will turn itself off and enter the protected mode (providing that protected mode was enabled). This program will NOT enter protected mode upon normal time-out; it must be specifically enabled. Use --- Save the library in PORT 0 to protect User RAM and MERGE'd RAM cards. Additional copies can be stored in FREE'd RAM cards to protect them, even if they are write-protected. Turn the calculator OFF and then ON to automatically attach Library 873: CodeLock. Note: CodeLock replaces GATEWAY. [Both libraries have the same ID number, so don't have both in memory at the same time. -jkh-] Keys (= codelocks) ------------------ Use the program SETLOCK to establish or change keys (or codelocks). If a codelock already exists, you must correctly enter it before changing to a new codelock. This program will change the key if: (1) you correctly entered an old key (if applicable); and (2) you keyed and rekeyed the same lock code twice in a row; and (3) the program does not time-out (approx. 15 seconds). All HP48 Keyboard keys are valid, except the ON key, which does NOTHING. Combination keypresses are allowed. For example, it is legal to hold down the left-shift key and simultaneously press the enter key. Note that the first press of the left-shift key will constitute one keypress and later pressing the enter key will constitute a second keypress corresponding to left-shift+enter (an entirely separate entity). You MUST press five (5) keys. GATEWAY only allowed four (4) numbers; CodeLock allows any combination of five (5) keypresses, excluding the ON key. Assigning AutoOff via OFFKEY ---------------------------- If you wish to have CodeLock enabled by pressing the UserKey "OFF", run the program ASNLOCK. ASNLOCK will assign the OFFLOCK loader to the OFF key and set User Keyboard mode. Removing Keys (or codelocks) ---------------------------- If you do not wish to use CodeLock for a period of time, I recommend removing the codelock key from memory so you won't forget the "combination." When you decide to re-use CodeLock, you will be prompted for a NEW key immediately (using SETLOCK). YOU CANNOT *CHANGE* LOCKS (OR CODES) WITHOUT FIRST REMOVING OR CORRECTLY KEYING THE OLD LOCK. Library 873: CodeLock does not get removed from memory using RMVLOCK; this program only removes the codelock key from memory and assigns to the off key its standard key definition. Warranties/Disclaimers/Distribution ----------------------------------- This product is distributed AS IS, with no warranties of any kind. I have had successful use of the code on an HP48SX revision E calculator with two 128k Ram cards in various configurations. Please BACK-UP your calculator. This product may be distributed FREE OF CHARGE, providing that the code has been unchanged from its original posting, the author is given credit, and this documentation accompanies the program collection. This product is copyright 1992 by Scott Thompson, with credits given to J. Erwin for his keyboard documentation [see MLINPUT.DOC on this disk -jkh-], J. Brittenson for his A=IN bug notification [see IN.DOC on this disk -jkh-], HP for their support and product, and all on the net who have contributed in making this machine what it is. Happy hacking!