Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
sdext.h
Go to the documentation of this file.
1 /* Minimalistic Enterprise-128 emulator with focus on "exotic" hardware
2  Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
3  Copyright (C)2015-2016,2020 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
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 XEMU_EP128_SDEXT_H_INCLUDED
20 #define XEMU_EP128_SDEXT_H_INCLUDED
21 #ifdef CONFIG_SDEXT_SUPPORT
22 
23 #define SDEXT_CART_ENABLER_ON 0x10000
24 #define SDEXT_CART_ENABLER_OFF 1
25 
26 extern int sdext_init ( const char *img_fn );
27 extern void sdext_shutdown ( void );
28 extern Uint8 sdext_read_cart ( Uint16 addr );
29 extern void sdext_write_cart ( Uint16 addr, Uint8 data );
30 extern void sdext_clear_ram ( void );
31 
32 extern int sdext_cart_enabler;
33 extern char sdimg_path[PATH_MAX + 1];
34 extern off_t sd_card_size;
35 
36 #endif
37 #endif
addr
int addr
Definition: dma65.c:81
m65-memcontent-generator.data
data
Definition: m65-memcontent-generator.py:119
Uint8
uint8_t Uint8
Definition: fat32.c:51
Uint16
uint16_t Uint16
Definition: fat32.c:50
sdimg_path
char sdimg_path[PATH_MAX+1]