Thread: program to make a floppy write protected

  1. #1
    Registered User
    Join Date
    Jun 2005
    Posts
    19

    program to make a floppy write protected

    how do i proceed to write a c code to make a floppy write protected without using interrupts(int 86s).
    is there some other way?
    can by sending some command code at FDC8272's control port this can be implemented?
    i have to write this code keeping in mind FDC8272

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Moving the tab on the disk itself is what makes it write protected.

    Besides, without telling us your OS/Compiler, there can be no anwer even assuming that there is one.

    Have you for example even read the data sheets for that device to find out if it's even possible?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I need the code of few programs in c++.plzzzzz help...plzzz
    By NAVINKR20 in forum C++ Programming
    Replies: 1
    Last Post: 05-08-2009, 09:13 AM
  2. Client-server system with input from separate program
    By robot-ic in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-16-2009, 03:30 PM
  3. want to make this small program...
    By psycho88 in forum C++ Programming
    Replies: 8
    Last Post: 11-30-2005, 02:05 AM
  4. Some humour...
    By Stan100 in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 11-06-2003, 10:25 PM
  5. make a program stay....
    By Nirav in forum C Programming
    Replies: 6
    Last Post: 10-12-2003, 07:01 PM