Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
fileio.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_FILEIO_H_INCLUDED
20 #define __XEP128_FILEIO_H_INCLUDED
21 
22 extern char fileio_cwd[PATH_MAX + 1];
23 
24 extern void fileio_init ( const char *dir, const char *subdir );
25 
26 /* Internal functions between emu ROM interface and fileio: */
27 extern void fileio_func_not_used_call( void );
28 extern void fileio_func_open_or_create_channel ( int create );
29 extern void fileio_func_open_channel_remember( void );
30 extern void fileio_func_close_channel( void );
31 extern void fileio_func_destroy_channel(void );
32 extern void fileio_func_read_character(void );
33 extern void fileio_func_read_block(void );
34 extern void fileio_func_write_character( void );
35 extern void fileio_func_write_block( void );
36 extern void fileio_func_channel_read_status( void );
37 extern void fileio_func_set_channel_status( void );
38 extern void fileio_func_special_function( void );
39 extern void fileio_func_init( void );
40 extern void fileio_func_buffer_moved( void );
41 
42 #endif
fileio_func_special_function
void fileio_func_special_function(void)
Definition: fileio.c:461
fileio_func_buffer_moved
void fileio_func_buffer_moved(void)
Definition: fileio.c:481
fileio_func_read_block
void fileio_func_read_block(void)
Definition: fileio.c:288
fileio_func_read_character
void fileio_func_read_character(void)
Definition: fileio.c:331
fileio_cwd
char fileio_cwd[PATH_MAX+1]
Definition: fileio.c:44
fileio_func_set_channel_status
void fileio_func_set_channel_status(void)
Definition: fileio.c:425
fileio_func_init
void fileio_func_init(void)
Definition: fileio.c:468
fileio_func_write_character
void fileio_func_write_character(void)
Definition: fileio.c:394
dir
DIR * dir
Definition: cpmfs.c:46
fileio_func_write_block
void fileio_func_write_block(void)
Definition: fileio.c:356
fileio_func_channel_read_status
void fileio_func_channel_read_status(void)
Definition: fileio.c:418
fileio_func_destroy_channel
void fileio_func_destroy_channel(void)
Definition: fileio.c:488
fileio_init
void fileio_init(const char *dir, const char *subdir)
Definition: fileio.c:55
fileio_func_not_used_call
void fileio_func_not_used_call(void)
Definition: fileio.c:497
fileio_func_open_or_create_channel
void fileio_func_open_or_create_channel(int create)
Definition: fileio.c:183
fileio_func_close_channel
void fileio_func_close_channel(void)
Definition: fileio.c:235
fileio_func_open_channel_remember
void fileio_func_open_channel_remember(void)
Definition: fileio.c:176