2012-04-29 14:55:59 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Fabio Olimpieri
|
2012-04-07 12:33:47 +02:00
|
|
|
* Copyright 2003-2009 (C) Raster Software Vigo (Sergio Costas)
|
2012-04-29 14:55:59 +02:00
|
|
|
* This file is part of FBZX Wii
|
2012-04-07 12:33:47 +02:00
|
|
|
*
|
2012-04-29 14:55:59 +02:00
|
|
|
* FBZX Wii is free software; you can redistribute it and/or modify
|
2012-04-07 12:33:47 +02:00
|
|
|
* 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.
|
|
|
|
*
|
2012-04-29 14:55:59 +02:00
|
|
|
* FBZX Wii is distributed in the hope that it will be useful,
|
2012-04-07 12:33:47 +02:00
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
2012-04-29 14:55:59 +02:00
|
|
|
|
2012-04-07 12:33:47 +02:00
|
|
|
#ifndef H_MICRODRIVE
|
|
|
|
#define H_MICRODRIVE
|
|
|
|
|
|
|
|
#include "z80free/Z80free.h"
|
|
|
|
|
|
|
|
void microdrive_init();
|
|
|
|
void microdrive_reset();
|
|
|
|
byte microdrive_in(word);
|
|
|
|
void microdrive_out(word,byte);
|
|
|
|
void microdrive_emulate(int);
|
|
|
|
void increment_head();
|
|
|
|
void microdrive_restart();
|
|
|
|
|
|
|
|
#endif
|