fischer@CIS.OHIO-STATE.EDU (Olivier Fischer) (10/22/90)
I am trying to transfer a basic program form a trs 80 to another. I tried through the rs232 using the communication program but it seems that whereas a text file will travl fine, the transfer is aborted as soon as I try with a basic file. Any ideas ? Thank you. Olivier Fischer
jfowler@sdcc13.ucsd.edu (John C. Fowler) (10/23/90)
In article <CMM.0.88.656614357.fischer@cheops.cis.ohio-state.edu> fischer@CIS.OHIO-STATE.EDU (Olivier Fischer) writes: >I am trying to transfer a basic program form a trs 80 to another. I tried >through the rs232 using the communication program but it seems that whereas a >text file will travl fine, the transfer is aborted as soon as I try with a >basic file. Any ideas ? I imagine a transfer directly via cassette or disk is out of the question? There are several ways to transfer straight binary files via the RS-232C communication board, but your terminal program might not support them directly. You could just get a better terminal program, but if all you are going to transfer is BASIC files, why bother? Assuming you're using disk BASIC, use SAVE "filename/ext.password:d",A instead of just SAVE "filename/ext.password:d" . This will save your BASIC program in ASCII format, which in the view of the terminal program, is just an ordinary text file. When you get it to your other computer, you may want to load it in and resave it in normal compressed format, to save space. Good luck! -- John C. Fowler, jfowler@ucsd.edu
davem@nro.cs.athabascau.ca (10/25/90)
fischer@CIS.OHIO-STATE.EDU (Olivier Fischer) writes: > I am trying to transfer a basic program form a trs 80 to another. I tried > through the rs232 using the communication program but it seems that whereas a > text file will travl fine, the transfer is aborted as soon as I try with a > basic file. Any ideas ? > > Thank you. > > Olivier Fischer Save your basic program as ascii, not tokenized code. the syntax ought to be something similar to: SAVE "MY_PROG.BAS",A Dave McCrady | ersys!davem@nro.cs.athabascau.ca Edmonton Remote Systems | 13324-138 Street | BBS: (403)-454-6093 300-9600 bps (HST) Edmonton, AB Canada T5L 2B4 | USENET (403) 452-3254 300-2400 bps
ward@tsnews.Convergent.COM (Ward Griffiths) (10/27/90)
> I am trying to transfer a basic program form a trs 80 to another. I tried > through the rs232 using the communication program but it seems that whereas a > text file will travl fine, the transfer is aborted as soon as I try with a > basic file. Any ideas ? > > Thank you. > > Olivier Fischer Save the program as an ASCII text file. SAVE "PROGRAM.BAS",A Works for me. I used to move programs that way between all models of Tandy computers that weren't media compatible: Mod 1/3/4 <==> Mod 2/12/16 TRSDOS Mod 1/2/3 <==> Mod 16/6000 Xenix Mod 1/3/4 <==> Mod 100/102/200 Mod 1/3/4 <==> Tandy 2000/other MeSs-DOS Mod 1/3/4 <==> Color Computers The list can be continued with the rest of the product lines in the right-hand column. A normally saved BASIC program is a binary file with the keywords tokenized, and different versions use different translation tables for them. ASCII sends them spelled out. I've got programs I wrote in 1978 on the Mod I occasionally executing with MS-BASIC under SCO Xenix and on my AT&T Unix PC. Minimal changes, mostly file I/O. BTW, which models are you transferring between? -- The people that make Unisys' official opinions get paid more. A LOT more. Ward Griffiths, Unisys NCG aka Convergent Technologies =========================================================================== To Hell with "Only One Earth"! Try "At Least One Solar System"! "Let's get out of here. They've run out of meat. Funerals are a pain when there are more than twenty people. Never get enough to eat." Donald Kingsbury, "Courtship Rite": Gaet to Honey
ward@tsnews.Convergent.COM (Ward Griffiths) (10/27/90)
In article <841@tsnews.Convergent.COM>, ward@tsnews.Convergent.COM ( I ) wrote: > SAVE "PROGRAM.BAS",A It's been a while, I forgot the fact that separater between filename and extension is "/"under TRSDOS, not "." as in more recent and inferior operating systems. So that's: SAVE "PROGRAM/BAS",A -- The people that make Unisys' official opinions get paid more. A LOT more. Ward Griffiths, Unisys NCG aka Convergent Technologies =========================================================================== To Hell with "Only One Earth"! Try "At Least One Solar System"! "Let's get out of here. They've run out of meat. Funerals are a pain when there are more than twenty people. Never get enough to eat." Donald Kingsbury, "Courtship Rite": Gaet to Honey