Thread: Writing directly to floppy.

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    12

    Question Writing directly to floppy.

    i want to write directly to some logical sector on the floppy(say sector 19 offset 100h).how can i do this(without using assembly) in C or C++ ?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    3

    Thumbs up

    Use interuppts or absread() & abswrite() .....

    - Venu Gopal ........

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    412
    I'm not sure if Windows would permit that, though -- I think at least the NT series of machines forbid direct hardware access like this, and force applications to use the WinAPI.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing encrypted value to file.
    By mkthnx001 in forum C++ Programming
    Replies: 13
    Last Post: 05-25-2009, 12:42 PM
  2. Optimize file writing
    By Opariti in forum Windows Programming
    Replies: 7
    Last Post: 10-23-2008, 01:32 PM
  3. The Art of Writing Comments :: Software Engineering
    By kuphryn in forum C++ Programming
    Replies: 15
    Last Post: 11-23-2002, 05:18 PM
  4. Writing directly to sectors on a floppy.
    By someonenearHim in forum C Programming
    Replies: 0
    Last Post: 12-12-2001, 02:44 AM
  5. Replies: 2
    Last Post: 11-14-2001, 09:19 PM