[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get BINSCII to xfer to GS...



carl@busop.cit.wayne.edu (carl@busop.cit.wayne.edu) writes:

>I downloaded BINSCII.EXE on a MAC machine using FTP, took it home, and tried 
>to run it.  According to the docs you go to BASIC.SYSTEM and type EXEC 
>BINSCII.EXE  well I got about a zillion ?SYNTAX ERRORs and it did not create 
>a BINSCII system file.  I edited the file using teach text and it had a lot 
>of inversed ? (question marks) in it, the binscii.txt file also had the 
>marks.  I think I probably downloaded this file wrong.  Any suggestions?

Yep. The file still has linefeeds in it from the unix system you FTP'd with.
You can either set "ascii" mode or whatever text mode is called on the mac
FTP program or you can convert the file before EXEC'ing it, like so:

10 D$=CHR$(4):?D$"BLOAD BINSCII.EXE,TTXT,A8192"
20 FOR I=8192 TO 8192+5644
30 IF PEEK(I)=10 THEN POKE I,13
40 NEXT
50 ?D$"BSAVE BINSCII.EXE,TTXT,A8192"

I think I need to add this to the tutorial file. Where in BExx can I peek
to get the file length? It's been a while...

Todd Whitesel
toddpw @ cco.caltech.edu