🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #57

Re: secteur d'un disque dur --> Merci

#57
From: Thierry59
Date: Tue, 15 Feb 2005 20:51
31 lines
2658 bytes
"Thierry59" <thierry59__no_spam@tiscali.fr> a �crit dans le message de
news:cuokcp$5ap$1@news.tiscali.fr...
> Via le PC, comment, lire directement un secteur de disque dur ?
> Si je programme en C: Faut t'il ouvrir un fichier... avec un nom bien
> specifique ?
>
> Merci pour votre aide.

Merci pour tous vos reponses... en fait, je programme dans un premier temps
en C sous Windows ( destination emulation DOS) pour apprendre a utiliser la
FAT...., ensuite veux le programmer sous Visual C++ ( interface
graphique.... faire une DLL... il y a du travail.... )
je vois donc plusieurs possibilit�.... ( En resum�)

- Utiliser en direct le port d'acces du disque dur... acces directe au
hardware....http://xos.freezee.org/index.php?page=hard ( merci Dark poulpo)
                       Dans ce site, il y a plein de doc interressantes....
Avis au programmeur....
- Utiliser INT soft  13, mais je ne sais pas si celle ci est accessible
depuis Windows.... si INT13 est une IT BIOS alors oui, c fesable ( routine
en Asm a inserrer dans le code C )
- Utiliser les instructions  CreateFileA et surtout  DeviceIoControl.  (
Merci Pierre Maurette pour les infos)

Maintenant, il y  a surment d'autre possibilit�... attaquer une DLL (
Librairie sous Win)

mais pour l'instant, je me contenterais avec les 3 possibilit�es
list�es.....

Merci, pour vos participations. Ca m'a fais plaisir de vous lire.
Technical Details
Message-ID: <cutnjt$854$1@news.tiscali.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tiscali.fr!not-for-mail
References: <cuokcp$5ap$1@news.tiscali.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,cee8ec78e27adc6a
X-Google-Thread: fdcad,cee8ec78e27adc6a
X-Google-Thread: 10f688,cee8ec78e27adc6a
X-Google-Thread: 111deb,cee8ec78e27adc6a
X-Google-Thread: 102e15,cee8ec78e27adc6a
X-Google-Attributes: gidf9822,gidfdcad,gid10f688,gid111deb,gid102e15,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tiscali.fr!not-for-mail
From: "Thierry59" <thierry59__no_spam@tiscali.fr>
Newsgroups: fr.comp.lang.c,fr.comp.lang.c++,fr.comp.os.msdos,fr.sci.electronique,fr.comp.developpement
Subject: Re: secteur d'un disque dur --> Merci
Date: Tue, 15 Feb 2005 21:51:47 +0100
Organization: Guest of TISCALI - FRANCE
Lines: 37
Message-ID: <cutnjt$854$1@news.tiscali.fr>
References: <cuokcp$5ap$1@news.tiscali.fr>
Reply-To: "Thierry59" <thierry59__no_spam@tiscali.fr>
NNTP-Posting-Host: dyn-213-36-7-22.ppp.tiscali.fr
X-Trace: news.tiscali.fr 1108500925 8356 213.36.7.22 (15 Feb 2005 20:55:25 GMT)
X-Complaints-To: abuse@libertysurf.fr
NNTP-Posting-Date: Tue, 15 Feb 2005 20:55:25 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441