X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "RetroMIDI" Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Re: Creating a copy protected floppy Date: 13 Jul 2005 18:30:13 -0700 Organization: http://groups.google.com Lines: 23 Message-ID: <1121304613.063822.249190@g14g2000cwa.googlegroups.com> References: <1121199731 DOT 361001 DOT 326030 AT g43g2000cwa DOT googlegroups DOT com> <1121251420 DOT 008623 DOT 117040 AT f14g2000cwb DOT googlegroups DOT com> NNTP-Posting-Host: 220.233.4.234 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1121304618 10357 127.0.0.1 (14 Jul 2005 01:30:18 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 14 Jul 2005 01:30:18 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse AT google DOT com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=220.233.4.234; posting-account=JAScyQwAAABAG96TAezqZ9yP1aNWGdq3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I once made some money writing a copy-protection program to ude under QBASIC. It is possible to write EXTRA sectors on a particular track so that the sector numbers are within the data sections of lower numbered sectors. If you diskcopy the disk then the inbetwen sectors are not there and can not be read becaue they do not exist. To foil a TSR that pretends there are sectors there, you write data to, say, sector one of the messed track and then read the same data back, but addressing it by its other description as sector 9 (for example) and at a specific offset. These reads and writes are all absolute into a part of the floppy that you mark as damaged or as a hidden, system file so that it does not get erased in error. This is difficult to, but works, because the floppy can only be copied by a professional duplicator which ignores the FAT table and just duplicates the disk bit by bit irrespective of the nature of the data or the density or sector architecture