|
TacOS
0.2
|
#include <ioports.h>#include <types.h>#include <klog.h>#include "floppy_interrupt.h"#include "floppy_utils.h"#include "floppy_motor.h"
Fonctions | |
| bool | floppy_ready () |
| Vérifie si le controleur floppy est en état ready. Plus de détails... | |
| int | floppy_write_command (char cmd) |
| Envoi une commande au controleur floppy. Plus de détails... | |
| uint8_t | floppy_read_data () |
| Lis les données disponibles sur la FIFO du controleur. Plus de détails... | |
| int | floppy_seek (int drive, int cylindre, int head) |
| Déplace la tête de lecture à un cylindre défini. Plus de détails... | |
| uint8_t | floppy_get_type (int drive) |
| Retourne le type de disquette accepté par le lecteur. Plus de détails... | |
| void | floppy_detect_drives () |
| Fonction de détection des lecteur floppy présents. | |
| uint8_t | floppy_get_version () |
| Retourne le numero de version du controleur disquette. Plus de détails... | |
Copyright (C) 2010-2014 TacOS developers.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.
Description de ce que fait le fichier
| uint8_t floppy_get_type | ( | int | drive | ) |
| drive | numero du lecteur |

| uint8_t floppy_get_version | ( | ) |

| uint8_t floppy_read_data | ( | ) |


| bool floppy_ready | ( | ) |

| int floppy_seek | ( | int | drive, |
| int | cylindre, | ||
| int | head | ||
| ) |
| drive | numéro de drive |
| cylindre | numero du cylindre à atteindre |
| head | numero de la tête a déplacer |

| int floppy_write_command | ( | char | cmd | ) |
| cmd | commande à envoyer |


1.8.7