HP-71 Lexfile List

Collected by Joe Horn

An Alphabetical list of the most popular and useful HP-71 lexfiles.
For a complete list of any lexfile's keywords and syntax, see The LEXicon.

 TO DOWNLOAD: 

There are three ways to download the following files. You can (a) download each lexfile individually under its entry as a binary LIF image, or (b) as a hex dump (to be typed into the MAKELEX program), or (c) download the complete collection. Binary downloads are LIF images, which are transmitted to your HP-71 via your PC-to-IL card, or your PIL-box (USB-to-IL converter). Their file extension is .DAT because that's the file extension expected by the PIL-box. If your security settings don't allow you to download .DAT files, then download the zipfile and extract if from there.

Complete Lexfile Collection as a DAT file (currently 51.5 KB)
Complete Lexfile Collection as a ZIP file (currently 22.3 KB)

Note: The "complete collection" above contains the binary files only, not text files; see the individual files below for documentation and other text files.


ALARMLX “Multiple Alarms lexfile”. SIZE: 2180 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)


ATTNLEX “Attention Key lexfile”. SIZE: 68 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
BANNER LCD print utility. SIZE: 202 bytes (“CLOCKVID” = 593 bytes).
Lexfile: BIN | HEX | DOC
CLOCKVID program: BIN | TXT
ALL 5 (ZIP)

Converts a string character into a string of 48 characters that represents the LCD display (8 rows of 6 dots) of that character. Allows printing large banners from keyboard input text. Even works on CHARSET characters!


BEEPLEX “Beeper lexfile”.  Great for game programs. SIZE: 206 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
BREAKPT “Break Point lexfile”. Adds breakpoint ability, usually only found in low-level languages like Assembly language debuggers.  SIZE: 365 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
CALCLEX “CALC Mode lexfile”. SIZE: 41 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)

Adds no keywords to BASIC. Modifies the action of the back-arrow key in CALC mode to be identical to the BACKspace key. With CALCLEX in memory, you no longer have to press the gold “f” key to backspace!


CLOCKDSP “Clock Display lexfile”. SIZE: 328 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
COMBARR “Combinations / Arrangements lexfile”. SIZE: 168 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
CONTRLEX “Contrast lexfile”. SIZE: 49 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
CURLEX “Cursor lexfile”. SIZE: 109 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)

Adds no keywords to BASIC. Modifies the action of the “g”-shifted left and right-arrow keys. Ordinarily, they go to the far left and right, respectively. When CURLEX is in memory and USER mode is ON, then they only move 21 spaces left or right, respectively. This makes it possible to “jump” back and forth in the display in display-width chunks, like the HP-75 can. The feature can be disabled by turning USER OFF.


CURVIEW “Cursor VIEW lexfile”. SIZE: 90 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)

Adds no keywords to BASIC. Modifies the action of the VIEW key. When VIEW is pressed in USER mode, the current position of the cursor is displayed until VIEW is released, then the display is restored. Disabled by USER OFF (VIEW works normally). Great for text editing.


CUSTUTIL “Customization Utilities lexfile”. This lexfile is a must for those who plan to market their programs to the “real world”. SIZE: 1007 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
DATALEX “DATA File utilities”. SIZE: 1416 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
DESAL SIZE: 718 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
DRIVELEX “Lexfile Driver”. Wonderful!  SIZE: 277 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
ENDUPLEX SIZE: 286 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
EXTFILES “External Files Poll Handler”. SIZE: 502 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)

This lexfile does not add any keywords to BASIC, but extends the number of file types that the HP-71 recognizes. The HP-71 normally recognizes only BASIC, KEY, TEXT, SDATA, DATA, LEX and BIN file types, and refuses to copy files into memory (or from disc to disc) if they are of any other type. The FORTH ROM allows a new file type, FORTH files, to be copied, and identifies these files by putting “FORTH” into their catalog string. The EXTFILES lexfile takes this idea a step further. It makes just about every file type known to the handheld community recognizable to the HP-71, and not only allows it to copy them, it identifies them in their catalog listing. No longer do we need to decipher file type code numbers.


FILELEX “File checker lexfile”. SIZE: 64 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
FKEYLEX “First Key lexfile”. SIZE: 81 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
FMTLEX “String Format lexfile”. SIZE: 597 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
FORMALEX “Format lexfile”. These functions are the core of all word processing. SIZE: 454 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
HIGHLEX “High bit lexfile”. SIZE: 57 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
INDATLEX “Date Input lexfile”. Designed for French-speaking Europeans. SIZE: 147 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
KBEEP “Keyboard Beep lexfile”. SIZE: 38 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)

When in memory, every keystroke causes a audible “chirp”, like the "key click" feature in the HP49 and HP50 series. The chirp can be turned off by BEEP OFF or by purging KBEEP. Or set flag -25 to make it really loud and annoying!


KEYWAIT The most useful of all lexfiles for the general programmer. SIZE: 55 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
LCDLEX “Liquid Crystal Display control lexfile”. SIZE: 672 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
LIFELEX “Game of Life lexfile”. SIZE: 457 bytes (LIFEVID = 382 bytes).
Lexfile: BIN | HEX | DOC
LIFEVID program: BIN | TXT
ALL 5 (ZIP)


LINKLEX “Lexfile Linker”. SIZE: 260 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
LOCKOFF  Disables the LOCK feature. SIZE: 33 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)

Does not add any keywords to BASIC. Effectively puts the HP-71 into LOCK OFF mode; the LOCK command has no effect as long as LOCKOFF is in memory. To be precise, LOCKOFF clears the LOCK password at power-up before the “password?” routine, thus making it impossible to LOCK the machine. Can be used to unLOCK another HP-71 with unknown password even if LOCKOFF isn’t in memory (method available upon request). A must for those whose HP-71 can fall into the evil clutches of bozos who like to LOCK “IBM 360” or other “practical joke” passwords that no self-respecting HP-71 owner would ever guess, resulting in INIT 3 and total Memory Lost.


MARGELEX “Margin lexfile”. SIZE: 92 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
MENULEX  SIZE: 308 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
NOISE  SIZE: 299 bytes.
Lexfile: BIN | HEX | DOC
MUSIC program (716 bytes): BIN | TXT
TUNEUP program (259 bytes): BIN | TXT
MARYLAMB data file (512 bytes; string = 62 bytes): BIN
PHASER data file (512 bytes; string = 360 bytes): BIN
WTELL data file (2048 bytes; string = 1820 bytes): BIN
INV8A data file (1218 bytes; string = 606 bytes): BIN
INV8B data file (1238 bytes; string = 616 bytes): BIN
ALL 12 (ZIP)


ONKEYLEX “ON Curser Keys lexfile”. SIZE: 195 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
PATTERN  SIZE: 171 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
PEEKUTIL “Peek Utilities lexfile”. SIZE: 351.
BIN | HEX | Source | DOC | ALL 4 (ZIP)


PLOTLEX “Plotter utilities lexfile”. SIZE: 855 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)

Adds COLOR, CSIZE, DRAW, HOME, LABEL, LDIR, LTYPE, MOVE, PLOTTER IS, RDRAW, RESET PLOTTER, RMOVE, and SETORG to BASIC. Assumes an HP-IL plotter device (plotter, or video interface that recognizes HPGL). Makes reading BASIC programs easier.


POKELEX Improved PEEK$ and POKE. SIZE: 257 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)

Improves the built-in PEEK$ and POKE to work anywhere, even on SECURE and PRIVATE sections of memory.


PRIMLEX “Prime Factor lexfile”. SIZE: 148 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
PRINTLEX “Printer function lexfile”. SIZE: 565 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
REPEAT  SIZE: 266 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
REPLEX “REPLACE. String lexfile”. SIZE: 320 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
REVLEX “Reverse String lexfile”. SIZE: 33 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
RGCMDS “Row Graphics Commands”. Originally used with the ThinkJet Space Shuttle demo. SIZE: 207 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
ROMAN8LX “Roman 8 lexfile”. SIZE: 850 bytes (note: after CHARSET ROMAN8$, LEN(CHARSET$) = 768 bytes).
BIN | HEX | DOC | ALL 3 (ZIP)
ROWCOL “Row/Column swapper”. SIZE: 119 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
RPTLEX “Repeat String lexfile”. SIZE: 143 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
SHOWPORT Improved SHOW PORT. Size: 151 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)

Improves the built-in SHOW PORT statement. The built-in SHOW PORT shows only IRAM and ROMs. This improved version shows everything, whether configured as part of main memory or not. Allows seeing exactly what the owner has installed inside the HP-71! And rapid verification of what’s in that module you paid so much for.


SPLEX “Special BASIC file utilities”.  SIZE: 1250 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
STKLEX  SIZE: 107 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
STRINGLX “String Utilities lexfile”. This package of string functions was originally intended to be part of the built-in BASIC, but was left out due to memory constraints. SIZE: 837 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
SYRACUSE  SIZE: 74 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
SYSLEX “System Utilities lexfile”. SIZE: 643 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
TEXTUTIL “Text editor Utilities”. The core of a text editor program. SIZE: 1512 bytes.
BIN | HEX | DOC | ALL 3 (ZIP)
ULAMLEX “Ulam’s Conjecture lexfile”.  SIZE: 87 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)
UNPRIVLX “UnPrivate lexfile”. SIZE: 105 bytes.
BIN | HEX | Source | DOC | ALL 4 (ZIP)