erikmb@etek.chalmers.se (Erik Bryntse) (05/08/91)
Here is my codelock program GATEWAY version 2.7. The alarm bug that existed in version 2.6 is fixed, and some other details has been added. Now you can store the OWNER string in a port to get it away from your home directory. I have not heard much of this program since I released the previous version. This can mean 1) nobody is using it or 2) it is working well. So, I would like to hear from you if you find any bugs, or have ideas, or just think the program is working well! GATEWAY-48 Codelock Program ver 2.7 =================================== GATEWAY-48 is a codelock program for HP48SX. When your HP48SX is turned on, it displays a startup message (for example your name and phone number) and prompts you for a 4-digit code. If you key in the correct code, your 48 is turned on just like usual. Other- wise it is turned off again. With GATEWAY-48 you have complete software protection and enough hardware protection to keep people from messing with your calcu- lator. If you know how, you CAN get in without knowing the right code, but the memory will be cleared in the process. All normal stuff such as ON-C and ON-A-F will not work. A lot of work has been spent on the user interface and ruggedness of GATEWAY-48. This means that - You can easily change the code. - There is a built-in program to redefine the OFF key. - You can provide a startup message like "Owned by XXYY". - All is contained in one library, which cannot be modified. - The code cannot be accidentally changed, since it is stored with a checksum. - Alarms are allowed to execute even if the codelock is enabled, but when the execution finishes, the calculator is turned off again. - There is a built-in program to remove GATEWAY-48 from your 48. INSTRUCTIONS ============ If you have something you do not wish to risk losing in your calculator, make a backup. Download the string at the end of this message to your 48. Compile it using ASC->. Store the resulting library with 0 STO. Turn off your 48, then on again. You will see a short message when the lib- rary installs. Now press the LIBRARY menu key. There will now be a menu named GATEWAY-48. In this menu you will find the following programs: ASSIGN ------ Assigns the off key to the new off program OFFC. Turns on USER mode. NEWCODE ------- Enables you to enter or change the code. Run this after installing GATEWAY-48. The first time you run it, it will only prompt you for the new code, but normally you must key in the old code as well. REMOVE ------ Uninstalls the GATEWAY-48 library and clears key definitions. Also removes the hidden code. OFFC ---- The main code program. Turns off your 48 enabling the codelock. When you turn it back on, you have to key in a four-digit code to gain access to your 48. Note that it will not work if you haven't selected a code using NEWCODE. ADDITIONAL INFORMATION ====================== You can display a message of your own when you turn your 48 on by storing a string under the name 'OWNER' in the home directory or in a port as X:OWNER, where X is the port nr. The codelock is not activated when the HP48 turns itself off to preserve battery. The OFFC user key assignment is sometimes cleared by other pro- grams or actions. Pressing the USR key once or twice (depending on the state of flag -61) or running the ASSIGN program will restore it. The program ASC->, written by William C Wickes, has been posted at Comp.sys.handhelds several times and is available from many FTP- sites. I will not provide source code. ---------------------------------------------------------------- GATEWAY-48 is Copyright Erik Bryntse 1991. Non-commercial distri- bution allowed. I take no responsibility for any damages caused by this program. ---------------------------------------------------------------- This program has been tested by people with different calculator versions and different software and hardware. Much work have been spent on correcting the reported bugs. Thank you all who helped me with this! Please send bug reports, questions, or suggestions to Erik Bryntse SHPRF (the HP User Club of Sweden) Box 15061 S-700 15 OREBRO SWEDEN erikmb@cd.chalmers.se DOWNLOAD FILE IN ASC-FORMAT ---------------------------------------------------------------- %%HP: T(3)A(D)F(.); "04B20CCD00A074144554751495D24383A09633FC0000000E9C005C7008963300 D9D20E1632521A129E2096380084E206034341323334378BF14563284E205034 3495543597632DCC02CFA20100384E2050343495543578BF1EFE02DCC02EB3A1 29E2096390093632B21308963200D9D20E1632041A1339202000000000003780 C741229E2096380047A2084E206034341323334384E20503434955435B2130EF E02041A1339201000000000003190845223392010000000000002695D2C12189 17F791339206990000000000010E5FB1C9432D9D20E163227991CFA201003339 20200000000000378078BF1EFE02EFE0293632B21303F2A2387C1EF8918DBF19 3632B21308963400D9D20E1632858A1C2A20F700002020202020274144554751 495D24383A082369202542796B602242797E64737560213939313A0E7E7E7E7E 7E7E7E7E723E273E7E7E7E7E7E7E7E7E7E79C2A2485A193632B21308963500D9 D20E1632C2A20110007527F6E67612743A2485A1339209990000000000080F17 A193632B21308963100D9D20E163229E20963400521A129E209638003CE2284E 206034341323334378BF168BC1339201000000000000020279E1AFE22D9D20C2 A2051000F4C6460234F64656803A2485A129E209636003CE22167E1AFE2229E2 0963B005BF2229E209635005DF22B21305BF22D9D208DBF129E20963B00B2130 5DF22EB3A193632B2130CCD20FF0008FB97608FE316084F8F51110808F050408 AF0AF1AF2AF320134135AF320F37240A87816B432390BAE20813DBDA1FB01001 4F8088514D8F5E0103453721CA8DC75302030AD1A85CD43FD9761090A2FD97B0 090E7FE5D901C681B4CA3423000C2134D215608018F06110DAD280116015E00E F201182824224844428884828963000D9D20E1632C9432D9D20E163229E20963 30093632B21303392010000000000031904F422339201000000000000269472C 193632B21308963700D9D20E1632218917F791339205990000000000010E5FB1 C9432D9D20E16322799129E2096390093632B21303F2A2387C1EF8918DBF1936 32B21308963800D9D20E1632C2A2050000E4A205100051B5000000000000E25A 1EB3A193632B21308963900D9D20E1632916C147A20E4A20510000FF00000000 00000E4A20510000000000000000000B2130F76C129E209634003CE22CFA2010 6284E2050F475E45425FD33204B02F1732D9D20B21305DF2278BF168BC1ED2A2 167E1AFE22D9D20803A2485A1B21305BF228DBF15DF2229E20963C003CE22E4A 2051000FEF3000000000000E25A1167E1AFE2229E209637005BF22D9D20521A1 29E209638004563284E2050343495543597632EFE02EB3A1CFA20100384E2050 343495543578BF1EFE02EFE02B21305DF22F76C193632B21308963A00D9D20E1 632916C147A20E4A20510000FF0000000000000E4A2051000000000000000000 0B2130F76C129E209638003CE2284E206034341323334368BC13392010000000 00000020D9AE1AFE22D9D20FD332D9D20CFA20100384E2050343495543504B02 B2130F17328DBF15BF22D9D2078BF14563284E2050343495543597632DCC0245 63284E206034341323334397632DCC02B21305DF22B21305DF22041A13392020 0000000000378084412F76C129E2096390093632B21308963B00D9D20E1632C2 A2051000E456770234F64656D13A2485A129E20963600C2A20F000014761696E 6233A2485A129E209636003CE2292CF1167E1AFE22D9D204563284E206034341 323334397632DCC02B21305BF22D9D208DBF129E20963500B21305DF2293632B 21308963C00D9D20CCD203720084F8FB9760D2066E20CCD207520084F174E730 F068FB976077E1580D26DC08F51110808F200834712007D81412132102349120 073814D0078AEA067B067802014234119208A6DE1641468082453721E2068082 130AE1A01F690A5CA6C52FA0190D7B808203814AF3F37670465A87A4C50F2307 F69136194BD32033617123917E220D2E61091FB010014F8088514D8F5E010111 8DC7530208F2D76013234C5200EA1308D2F14034000100607CE4000630BD1A85 CD4CED9742054FD97B1049F0731A096590B4760CFE5D903C681B4CA3433000C2 134D215608018F06110DAD280116015E0902000318282422484442888482131B 2950714210180824B0200E281B4CA1008D3C870005034349554351BBA5071461 348F419E04731648F3F8E05008F67CE040216916C1560808B0001608F598E05D C8D0F510B2130E4A2064000848FF736FFBF3FFA53FF525FFEC5FFF17FF898FFF 09FF359FF0FAFF66CFF83DFFE4A200B000000000000000000640000000094000 660000000000000000000000000000000000000000000000007400040F464643 4300601435359474E4000602554D4F4655420070E4547534F444541005300081 000E20001500037F9D9D1" ----------------------------------------------------------------
akcs.sun1@hpcvbbs.UUCP (william scott ferry) (05/12/91)
Eric, first of all I really like your Gateway program and have used it since you posted the older version. And this new one really takes care of that alarm problem nicely. I do have a WARNING however for any who try to put both GATEWAY and Jim Cloos' new library - _JimC (Comp.sys.handhelds item #3068) into the calculator at the same time. It's disasterous. I o put them both on my 128K card I use for libraries, and as soon as I turned the 48 off and then back on, the Gateway header came up, blinked a few times and then stayed on, with the attention annunciator on. Nothing would clear it, turn the calc. on OR off, and it woudn't go off by itself. ON-A-F didn't work, exept that I cleared all my user memory. The card (in port 2) was on 'Read Only' and was not effected. I finally pulled the card with the machine still on and pulled the battery. Anyway after 6 more hours of doing all kinds of different things on both that machine and my other 48 (whose memory was born to be dumped) I figured that the _JimC library was the only one it woudn wouldn't work with. Both machines are Version E. Thanks again for your great program. Scott Ferry (415) 845-1088
akcs.sun1@hpcvbbs.UUCP (william scott ferry) (05/12/91)
Forget about any implication between Gateway and the problems I was having above, . The problem is with the _JimC library.
akcs.falco@hpcvbbs.UUCP (Andrey Dolgachev) (05/13/91)
Eric, I also like Gateway, but I have a suggestion for your next version. A four-digit number-only password is both harder to remember and easier to come upon accidently than a password which allows for letters also. I have no idea which method you are using to get the password, but I doubt that it would be hard to allow for a variable-length password withthe full use of the alphabet. Also, there is a barely audible beep when a key is pressed. It would be nice if the beep was more audible, sicne the user woudl then know for sure that the key press was interceptedby the calculator. Otherwise, I have no bugs to report, and I think it is a great program. ---Falco