Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site dmsd.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!decwrl!pyramid!hplabs!hpda!dmsd!bass From: bass@dmsd.UUCP (John Bass) Newsgroups: net.micro.mac Subject: Re: MacSCSI and HFS Message-ID: <214@dmsd.UUCP> Date: Tue, 4-Feb-86 17:50:40 EST Article-I.D.: dmsd.214 Posted: Tue Feb 4 17:50:40 1986 Date-Received: Fri, 7-Feb-86 20:47:56 EST References: <171@winston.UUCP> Organization: DMS Design, San Jose Office, CA Lines: 91 > Well i'm one of those people that decided to make my own hard disk system for > my Mac. I went the route of the MacSCSI interface from Mr. Bass and hardware > wise it went fine. But software! What A Pain. > can do) but when I find out where to get it I will. > > THE CODE: Hacked from the John Bass release. > > /* > * MacSCSI partitioned driver routine. > * This version was developed on the Mac under Aztec C. > * > */ > > #asm > /* > * ScsiRdWr -- do a driver read/write function. > */ > ScsiRdWr() > { > register struct ioParam *ip; > register long len,part; > register short blkno; > register char *addr; > > save(); > > ip = & Pbp->u.iop; > part = Dp->dCtlPosition & 0xFFFFFE00; > /* this does my partitioning */ > part = (part >> 9L) + FirstBlock; > len = (ip->ioReqCount + 511) & 0xFFFFFE00; > addr = ip->ioBuffer; > while(len >= 512) { > blkno = part; > if((Pbp->ioTrap & 0xff) == 2) { > ScsiRead(blkno, addr); > } else { > ScsiWrite(blkno, addr); > } > len -= 512; > addr += 512; > part += 1; > } > ip->ioActCount = ip->ioReqCount; > > restore(); /* exit to I/O Done */ > } > ..ihnp4!alberta!ubc-vision!winston!keashly > > #108 4664 Lougheed Highway > Burnaby, B.C., Canada, > V5C 5T5 > (604) 291-7111 The above are segments from Lance Keashly's posting of our Copyrighted MacSCSI np_dvr.c routine. While I support Lance's desire to share with others -- his respect for others intellectual property is greatly lacking. Lance violated the copyright in two ways: 1) removing the copyright notice which SPECIFICALLY prohibits making or maintaining ANY copies without the copyright notice included. 2) the removed copyright provided for unrestricted personal non-comercial use --- any other reproduction requires our written permission -- including posting to the net or BBS's. Copyrights are useful for protection of any written work from a few line poem or jingle to a full length novel or programming system. We published the MacSCSI article in DDJ to help the general hobbiest on a tight budget, not to put others into our business -- thus the need to protect the copyright. We depend on a much improved version of the software for part of our income. It has been licensed at a nominal fee to several firms including the Warp 9 which are now shipping their $895 internal drive via mail order. Lastly Lance violated the rights of Manx in that the assembly language segments were derived from the Aztec C Ram Disk -- we obtained their written permission for publication in the Sept Doctor Dobbs issue and our use. Thanks to Lance for his willingness to share, but please remove all copies of the referenced article -- I have requested that Lance repost the article with the proper copyright notices included. Overall it is highly recommended to publish changes in a diff format with minor context ... John Bass, MacSCSI author and copyright holder.