classiccmp knowledgebase

Dwight K. Elvey dwight.elvey at amd.com
Mon Aug 1 12:45:13 CDT 2005


>From: "John Foust" <jfoust at threedee.com>
>
>At 01:54 AM 8/1/2005, you wrote:
>>Wouldn't it be easier to just issue two MODE commands to redirect COM1: to 
CON, then feed debug a script to write out binary files?
>
>Hey, that's why I think it would be a useful and interesting FAQ.
>I thought the other guy's CTRL/Z preservation method was quite
>cute, too.  I'm intrigued by solutions that would require a 
>minimum of prep or magic tools on the sending PC.  
>
>- John
>
>

Hi
 The only time I did anything like this, I used
LapLink. One copied a file from the com to a
text file and then rename changed it to a *.com file that
was the bootstrap loader for the rest of LapLink.
The bootstrap file must have avoided anything with
a ^z as part of the binary. Similar things can
be done for most any setup, requiring no magic tools
on the sending side.
 Code with ^Z's in them can be escaped such that the
loader program can change these to the right binary
value. The sending program could then be any generic
'copy to comm' program.
Dwight




More information about the cctalk mailing list