Compile/download (main.bas) 0) copy xxxxx.bas main.bas 1) HXC main.bas (then F2, , , 2) HXMODE /N com1 1200 (no xon/xoff, 1200 baud, 7/1 even(default) 3) HXCOPY main com1 /d (/d=display during copy) on 94: 1) B4.6 (1200 baud, 7/1 even) 2) C.0 (then ) (copy into directory 0) data files must be #5 - #15 data files must be initialized with %call SYAL("filename",size-in-16-bytes) %call is not allowed in development system so the init.bas file is used. it needs to be compiled and transfered as above then run just once on the hp-94. ------------------------------------------------------- HP94 op sys commands: CLEAR+ENTER+ON = turn on but don't run MAiN file name is 1-4 characers, starts with optional #: (#=direcotry number) Bx.y - baud rate x:1=9600,2=4800,3=2400,4=1200,5=600,6=300,7=150 y(data/parity/stop):0=7/n/1,1=8/n/1,2=7/o/1,3=8/o/1 4=7/n/1,5=8/n/1,6=7/e/1,7=8/e/1 9=8/n/2,...as above with 2 bit stop Cfrom-file.to-file from-file or to-file can be ommitted then serial port is used from/to can not be in the same directory D# - list directory # Efile - erase file (* = wildcad) Enter to confirm I# - initialize directoy Enter to confirm K - keyborad check L - LCD check M - memory test Sfile - run file T - set date/time ------------------------------------------------------ BASIC Command Mode: BYE DEL file DIR EDIT LIST , LOAD file NEW REN file1 file2 RUN (debug) SAVE <,SECURE> XREF Edit Mode: C - choose line to edit D <,line2> - delete line(s) E - exit back to command mode G file - loads an ASCII file I <,increment> - input files w/auto number L <,line2> - list lines M file <,end line> - merge lines from another BAS file N file - names the current prog in memory R <,increment> - renumber entire program Debug: B <.statement in line> - set breakpoint D - display variable in hex and ASCII E - exit sebug mode R - resume from breakpoint T <,end line> - trace (use negative line number to cancel) U <.statement in line> - clear breakpoint ctrl-A - interrupt for debugging ctrl-C - DOS break ctrl-S - stop listing ctrl-Q - start listing ctrl-P - print listing Language Statements: %CALL %CURSOR %DEL %HOME AND BASE CALL CLOSE DATA DEF DIM END FOR FORMAT GET GOSUB GOTO IF INPUT INTEGER LET MSG NEXT NOT ON OPEN OPTION OR PARAM PRINT PUT READ REM RESTORE RETURN SPACE STEP TAB THEN TO USING XOR Language Functions: ABS ACS ADS ARD ASC$ ASN ATN CHR$ COD COS DMS EOF EXP FIX FIX5 FIX9 FIXE FRC HEX$ IDX INPUT$ INT KEY LEN LGT LOG MAX MIN MOD NUM PI RAD RND SGN SIN SIZE SQR STR$ TAN TIM TOD$ VER