mrp@cbnewsd.att.com (marcus.r.prickett) (10/15/90)
I uncovered a bug in the recently posted source code (thanks Chris!) for the PC to Atari utility. I was using the Turbo C (Borland) compiler on an AT&T 6300 WGS and it gave me a warning message on line 236 of util.c. What you need to do is change an = to an ==. The following is the line: if(cmd = 'D') to if (cmd == 'D') I'm not sure that this bug is actually a problem since the code seems to be trying to deal with directories. I wasn't aware of any support for directories being available in this utility, perhaps it's an uncompleted piece of code? Also, since there's a /T80 switch, does it support 720K 3.5" drives? Anyway, I was able to compile the utility using Turbo C and the MASM assembler (Microsoft) and it works. I was able to format floppies on my 6300 WGS running MS-DOS 3.3. I then wrote 2 ASCII files to the disks and was able to successfully read the files in on my Atari 800 with my 1050 drive and SpartaDOS X. I WASN'T able to successfully write the util.exe file to the formatted disks even though I WAS using the /B (inary) switch on the command line. The problem that I encounter is that the util.exe file gets truncated and I can't read back an exact copy of what I write to the disk. I'll have to look into this further and see what I can determine. If you're in a pinch, you could uuencode the binary and then transfer it in ASCII. Then, you'd just have to uudecode it on your Atari. The utility program does translate the ASCII into ATASCII unless you use /B when you write the files (that's a nice touch). Later on folks! My Name-> Marcus R. Prickett My BBS-> (815)758-6093 3/1200+65Meg+24hr+Carina II S.W. = The Storage Room My Work-> att!ihlpb!mrp