[comp.sys.ibm.pc.programmer] Floppy write protection

unhd (Michael A Super) (04/08/90)

I have a question on IBM PC floppy drive write protection: 

	Is there any way to override the write protection on a disk (write
	to a disk without a notch, for example) through software?  I know DOS
	won't allow this, but perhaps through the use af assembly code?  I 
	have never seen anything that will do this, and I was wondering if
	it was the controller that prevented these writes.  I would 
	appreciate the posting of any comments/solutions.

						Mike Super
						University of New Hampshire
	

scjones@sdrc.UUCP (Larry Jones) (04/08/90)

In article <1990Apr7.213734.19233@uunet!unhd>, mas770@uunet!unhd (Michael A Super) writes:
> Is there any way to override the write protection on a disk (write
> to a disk without a notch, for example) through software?  I know DOS
> won't allow this, but perhaps through the use af assembly code?  I 
> have never seen anything that will do this, and I was wondering if
> it was the controller that prevented these writes.  I would 
> appreciate the posting of any comments/solutions.

Yes, there is hardware on the controller that enforces the write
protect, so there is no way to disable it in software.  On the
other hand, a toggle switch and a few wires work wonders!
----
Larry Jones                         UUCP: uunet!sdrc!scjones
SDRC                                      scjones@SDRC.UU.NET
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150-2789             AT&T: (513) 576-2070
"You know how Einstein got bad grades as a kid?  Well MINE are even WORSE!"
-Calvin

mathrich@mthvax.cs.miami.edu (Rich Winkel) (04/10/90)

In <1990Apr7.213734.19233@uunet!unhd> mas770@uunet!unhd (Michael A Super) writes:
>I have a question on IBM PC floppy drive write protection: 
>	Is there any way to override the write protection on a disk (write
>	to a disk without a notch, for example) through software?  I know DOS

No.  The write protection is done in hardware.  You can see this by looking
at the schematics and documentation in the IBM PC technical reference.
There's no way to get around it with software.

Rich