kevin@voder.UUCP (The Last Bugfighter) (03/16/89)
I need to transfer some HPL programs from a 9825A to a model 310 using BASIC 5.11. Is there a relatively simple way to do this using the HPIB? The 9825 has a tape cartridge and 8" floppy, the 310 has a hard drive and 3.5" disk. I'm not concerned about the translating from HPL to BASIC, I'll do that by hand (the programs aren't difficult or long, but there's a bunch of 'em), I just need a way to get them into the 310. Both units also have a 16-Bit GPIO. -- Kevin Thompson {ucbvax,pyramid,nsc}!voder!kevin "It's a sort of threat, you see. I've never been very good at them myself but I'm told they can be very effective."
rjn@hpfcdc.HP.COM (Bob Niland) (03/17/89)
re: "I need to transfer some HPL programs from a 9825A to a model 310 using BASIC 5.11." HPL (HPL-II, they call it) is still available for the Series 300 from a third party: $800.00 Structured Software Systems 1072 Irick Road Mt. Holly NJ 08060 (609) 267-1616 > Is there a relatively simple way to do this using the HPIB? The HP-IB at either end can be set to be "non system controller", and a user-written application program can make that end act as a "device". You would probably want to transfer the files as text strings, and prefix them with "!" in a 300 ASCII file. This is somewhere between trivial and difficult. I haven't done it in about 10 years. > The 9825 has a tape cartridge and 8" floppy, the 310 has a hard drive and > 3.5" disk. I'm not concerned about the translating from HPL to BASIC, I'll > do that by hand (the programs aren't difficult or long, but there's a bunch > of 'em), I just need a way to get them into the 310. Both units also have > a 16-Bit GPIO. If you have a 9895A disk: The 300 supports the 9895A. I think you have all the necessary documentation to read the HPL files using the PHYREC binary subprogram supplied as a BASIC utility. Non-trivial, but it does use the resources you already have. If you have a 9885M disk: The 310 and 320 still support the 9885M/S. With a 5061-4211 cable, you could connect the 9885M disk to the 98622A interface on the 300. You will also need a 98620A/B DMA card, and some switch setting info. Contact me if you decide to go this route. You still need to read raw HPL file system bits. Regards, Hewlett-Packard Bob Niland 3404 East Harmony Road ARPA: rjn%hpfcrjn@hplabs.HP.COM Fort Collins UUCP: [hplabs|hpu*!hpfcse]!hpfcla!rjn CO 80525-9599
rer@hpfcdc.HP.COM (Rob Robason) (03/24/89)
Forgive my rustiness but you'll get the idea: 1) Configure the 310 HP-IB as non-system-controller, change it's address to 20. (either system can do this but I think it's physically easier on the 310) Connect the two systems via HP-IB. 2) Write a basic program that reads lines from SC7 in a loop and stores them in an ascii file, PRINTs them, or what ever. (I've forgotten how you end the loop, detect EOI or something or you can always use brute force (STOP) (my method). 3) Load and List your programs from the 9825 to the device at 720, one at a time.