Term48 for the HPG(X) By Bill and Steve Severinghaus Library number: 1633 Bytes: 2683 ChkSum: # B23Dh wseverin@uni.uiuc.edu sseverin@uni.uiuc.edu The purpose of Term48 is to provide a safe, fast, small, and versatile method of entry for the HP48 via a serial cable and a terminal program, or via infrared. It is written entirely in Sys-RPL and can be run from any port; it was tested in ports 0 - 3 and should work in any other port. Commands: TRM { -> } Starts the main interface program. While in this program, the HP48 keyboard is rendered non-functional and all control is passed to the serial port. The calculator remains in the serial mode specified by the user before entry. TRM cannot be cancled from the keyboard; only a warmstart will cancel it. Upon entry, TRM will set user flags 28 and 30, and clear user flags 29 and 31. TRM will remain active until these flags set to opposite positions. The stack: the stack consists of up to 9 levels and the items in these levels are abbreviated to 37 characters. If there are less than 9 levels, these levels will not be displayed. Data entry: Using TRM, you can type anything you would normally be able to type on the command line of the calculator. because TRM uses built in parsing commands, it is CASE SENSITIVE. The prompt a is standard DOS like prompt; it displays the directory path. LS { -> } Displays a list of files in the current directory and their sizes. CLS { -> } Sends a clear character. DISPG { GROB -> } Takes a GROB from the stack and displays it on the terminal. EXIT { -> } Sets the flags used by TRM to tell when to exit. Bugs: If you have a bad argument on the stack and execute a command, there is a chance that it will leave a bunch of stuff on the stack. This stuff is leavings from the palparse command and is harmless. You can delete the prompt If you delete too fast, it will look like the characters were not deleted. _____________________________________________________________ TRM is postcard ware: if you like it enough to send us a postcard, then do. If you just want to e-mail us as to how much you like it, do that too. Term48 can redistributed so long as the original documentation accompanies it. It cannot be sold for profit (like anyone would do that.)