[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apple II+ basic and pascal text files - transfer to UNIX
Rob wrote:
>
> Would anyone here have any suggestions for how to efficiently and effectively
> transfer applesoft basic programs and pascal text files to a UNIX computer?
>
> Among my apple collection are working machines with super serial cards and
> some not quite ever made to work scsi controllers; and plus, e, gs, and even a
> c model.
>
> I have some useful software in both applesoft and pascal format that I've never
> managed to properly upload to a server back when I still remembered how to run
> file transfer software. I seem to remember that one file transfer system knew
> how to read dos, pascal, and prodost formatted filesystems.
>
> Some of the applesoft programs have very long lines which have been a problem in
> prior software upload attempts, or perhaps it was in my attempts to "list" out
> the files to a text file on the apple. For example I recall always using a "?"
> as a shorthand for "print" and thus cram lots of stuff on each line, but then
> when printing, each line could exceed whatever buffer was alotted...
>
> If I somehow transfer the applesoft files as binaries, has anyone ever produced
> a token parser that can run on them under UNIX? Even if not I remember an
> Apple II emulator circulating about 15 years ago I could probably use to some
> advantage...
>
> Really its one particular applesoft program of mine that was even referenced
> in a 1982 NY Times article that I'd like to recover... but there is also some
> good stuff in pascal.
If you only need to transfer a fairly small number of files, the easiest
procedure
would be to do this:
Hook up your Apple II to your UNIX computer via a null modem serial
cable. Run some
software on the UNIX end which captures everything arriving on the
serial line to
a text file. Make sure the Apple and the UNIX end agrees on bit rate,
parity, etc.
To transfer an Applesoft file, do like this: boot Apple DOS, type
PR#<n> where <n>
is the slot number of your serial card. Then type LIST
To transfer Pascal text files do this: boot Apple Pascal, and in the
File Manager
(or whatever it's called in that environment), choose TRANSFER, select
the file
you want to transfer, and choose the target as REMOUT: if your serial
card is in
slot 2, or PRINTER: if it's in slot 1 (you might need to type them as
:REMOUT or
:PRINTER though --- don't quite remember since it was so long I did this
myself).
Finally, close your capture file at the UNIX end and edit it the way you
want it.
--
----------------------------------------------------------------
Paul Schlyter, Grev Turegatan 40, SE-114 38 Stockholm, SWEDEN
e-mail: pausch at stockholm dot bostream dot se
WWW: http://www.stjarnhimlen.se/
http://home.tiscali.se/pausch/