Serial transfer PC > HP85 via serial interface - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: Serial transfer PC > HP85 via serial interface (/thread-12480.html) |
Serial transfer PC > HP85 via serial interface - fguarisco - 02-22-2019 04:31 PM Hardware: HP85A with PRM-85 Super ROM V2 (with EMS), serial interface HP82939A PC whit Widows OS and serial port Operations: install XSend85 on PC, type Xfer85 on HP85, connect the serial port NOTE: the serial port congiguration is: COMxx:300...1200,N,8,1 Setup the baud speed on Xfer85 in line 40 (6=300, 7=600, 8 =1200), for big programs and slow disk 300 baud, define the default mass storage: example MASS STORAGE IS ":D700" On PC start XSend85 HP85 program: 10 CLEAR 20 DIM B$[255] 30 RESET 10 40 CONTROL 10,3 ; 7 50 ! 6=300 baud 7=600 baud 8=1200 baud 60 CONTROL 10,4 ; 3 70 ! N,8,1 80 ASSERT 10;7 @ ENTER 10 ; B$@ ASSERT 10;3 90 DISP "FILE LENGTH "&B$ @ F1=VAL(B$) 100 DISP "CREATING FILE ..." 110 ! 120 ON ERROR GOTO 140 130 PURGE "PGM" 140 CREATE "PGM",INT(F1/230)+1 150 OFF ERROR 160 DISP "... DONE" 170 ASSIGN# 1 TO "PGM" 180 ! 190 DISP "WAITING FOR INPUT..." 200 ASSERT 10;7 @ ENTER 10 ; B$@ ASSERT 10;3 210 DISP B$ 220 IF B$=">END<" THEN 260 230 PRINT# 1 ; B$ 240 GOTO 200 250 ! 260 DISP "DONE!" 270 ASSIGN# 1 TO * @ RESET 10 280 END When the last instruction ">END<" was not found Xsend addit automatically When HP85 says DONE you can give the command GET "PGM" to transfer the result as basic program. After that you can STORE the program and purge the PGM from the disk |