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

Re: Program to xfer Apple-][-Disks (5,25" 143kB) via serial?



In article <2on6dmINN17ri@rs1.rrz.Uni-Koeln.DE>,
Henning Stams <HSTAMS@CIPVAX.BIOLAN.UNI-KOELN.DE> wrote:
>Hello,
>
>the topic says most of it:
>The program should run under DOS 3.3.
>I'm desperately seeking for a program to transfer a WHOLE DISK via serial
>line. I do have a Apple SSC (superSerialCard) im my old Apple][+.
>It should read a disk sector-by-sector just like a copy program.
>I find it quite hard to program it myself, since I'm quite off the insides
>of the Apple right now.
>The disks to transfer are good ol' 35-Track,16-sector,256-byte Disks (143kB)
>
>I had a program called "ASCII-Express" in the past, but it's long lost.
>I'm quite sure it only could xfer files (but at least that!).
>
>I'd very much appreciate receiving a file or a "real" disk. I'll refund
>every fee or so for that.

What are you needing this for? I found out about this cool ][+ software
emulator for the Mac called Stop The Madness. It has some weirdo basic
program you're supposed to run to read a 5.25 disk sector by sector and write
the data to a file that you're supposed to transfer via serial connection.
BASIC and DOS make me hurl so I sat down with my assembler and wrote a ProDOS
program that reads sectors and writes to a file. I can either write the file
on a floppy and sneaker it over to the Mac running the ProDOS file system 
extension or have my program write it directly to a server volume. You can do
boffo things when you use real system software eh?

Here's something I was wondering about when I wrote it. Might belong in 
csa2.programmer but I'm already here. The emulator requires its disk images
to be in order sector by sector, from track 0 sector 0 to track 34 sector 15.
I reused some old code that uses the info given in the ProDOS Technical
Reference Manual to convert from blocks to tracks and sectors so I could read
an entire disk in sector order. I'm sure this was necessary since reading a
disk in ProDOS block order from 0 to 279 would not be the same as reading from
track 0 sector 0 on up. This is right is it not?
--
Randy Shackelford                                "That's right, keep dancing
shack@crash.cts.com                               on the minefield"
                                                                  -Al Bundy