Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
exdos_wd.h
Go to the documentation of this file.
1 /* Xep128: Minimalistic Enterprise-128 emulator with focus on "exotic" hardware
2  Copyright (C)2015,2016 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
3  http://xep128.lgb.hu/
4 
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
18 
19 #ifndef __XEP128_EXDOS_WD_H_INCLUDED
20 #define __XEP128_EXDOS_WD_H_INCLUDED
21 
22 #ifdef CONFIG_EXDOS_SUPPORT
23 
24 extern char wd_img_path[PATH_MAX + 1];
26 extern Uint8 wd_sector, wd_track;
27 
28 
29 extern Uint8 wd_read_status ( void );
30 extern Uint8 wd_read_data ( void );
31 extern Uint8 wd_read_exdos_status ( void );
32 extern void wd_send_command ( Uint8 value );
33 extern void wd_write_data ( Uint8 value );
34 extern void wd_set_exdos_control ( Uint8 value );
35 extern void wd_exdos_reset ( void );
36 extern int wd_attach_disk_image ( const char *fn );
37 extern void wd_detach_disk_image ( void );
38 
39 #endif
40 #endif
wd_attach_disk_image
int wd_attach_disk_image(const char *fn)
Definition: exdos_wd.c:126
wd_sector
Uint8 wd_sector
Definition: exdos_wd.c:44
wd_exdos_reset
void wd_exdos_reset(void)
Definition: exdos_wd.c:163
wd_read_status
Uint8 wd_read_status(void)
Definition: exdos_wd.c:225
fn
const char * fn
Definition: roms.c:42
Uint8
uint8_t Uint8
Definition: fat32.c:51
wd_max_tracks
int wd_max_tracks
Definition: exdos_wd.c:41
wd_send_command
void wd_send_command(Uint8 value)
Definition: exdos_wd.c:252
wd_write_data
void wd_write_data(Uint8 value)
Definition: exdos_wd.c:318
wd_track
Uint8 wd_track
Definition: exdos_wd.c:44
wd_set_exdos_control
void wd_set_exdos_control(Uint8 value)
Definition: exdos_wd.c:325
wd_detach_disk_image
void wd_detach_disk_image(void)
Definition: exdos_wd.c:114
wd_image_size
int wd_image_size
Definition: exdos_wd.c:41
wd_img_path
char wd_img_path[PATH_MAX+1]
Definition: exdos_wd.c:37
value
int value
Definition: dma65.c:90
wd_read_exdos_status
Uint8 wd_read_exdos_status(void)
Definition: exdos_wd.c:245
wd_max_sectors
int wd_max_sectors
Definition: exdos_wd.c:41
wd_read_data
Uint8 wd_read_data(void)
Definition: exdos_wd.c:233