home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / cbm / 3652 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  2.1 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!dattier
  2. From: dattier@ddsw1.mcs.com (David W. Tamkin)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: CHanging SEQ file to PRG file??
  5. Message-ID: <BuFHvA.78p@ddsw1.mcs.com>
  6. Date: 11 Sep 92 19:23:33 GMT
  7. References: <1992Sep9.140957.17161@uwm.edu> <BuBGDr.ACz@usenet.ucs.indiana.edu>
  8. Organization: Contributor Account at ddsw1, Chicago, Illinois  60657
  9. Lines: 37
  10.  
  11. In article <1992Sep9.140957.17161@uwm.edu> yanoff@csd4.csd.uwm.edu (Scott A.
  12. Yanoff) asked:
  13.  
  14. >Last night I downloaded some SDA files and they got saved as SEQ files.
  15. >I am assuming this is wrong, so does anyone know how to convert the format
  16. >from SEQ to PRG?
  17.  
  18. foxd@silver.ucs.indiana.edu (Daniel Fox) wrote in
  19. <BuBGDr.ACz@usenet.ucs.indiana.edu>:
  20.  
  21. | Try the following:
  22. | LOAD "FileName,S",8,1
  23. | The SDA file is now loaded into memory and should run normally.
  24.  
  25. and jnelson@iastate.edu (Jeremy F. Nelson) answered in
  26. <1992Sep9.195401.24766@news.iastate.edu>:
  27.  
  28. |     I see this question here all the time, and it really isnt neccesary
  29. | to change the file type.  You can LOAD"FILENAME,S",8
  30. | and that will load a SEQ just like it was a PRG.
  31.  
  32. Yes, the ",s" will make the LOAD command accept a sequential file (and ",u"
  33. will make a usr file load; in fact, you can save files with ",s" or ",u" and
  34. give them that program type from the beginning), and Scott can also just
  35. change the files' type from decimal 129 to decimal 130 with a disk sector
  36. editor, but he may have a more serious problem with the downloads.
  37.  
  38. If his communications software created sequential files instead of program
  39. files, it may also have been translating from ASCII at the modem to PETSCII
  40. on the disk.  Every binary value in the program that corresponds to the ASCII
  41. value of a character that has a different code in PETSCII may have been
  42. altered.  If that happened, the files themselves are seriously corrupted and
  43. won't run properly (if at all) when he loads "filename,s" to get one into
  44. memory.
  45.  
  46. David W. Tamkin   Box 59297   Northtown Station, Illinois  60659-0297
  47. dattier@ddsw1.mcs.com    CompuServe: 73720,1570    MCI Mail: 426-1818
  48.