Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
sdcontent.h
Go to the documentation of this file.
1 /* A work-in-progess MEGA65 (Commodore 65 clone origins) emulator
2  Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
3  Copyright (C)2016-2022 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_MEGA65_SDCONTENT_H_INCLUDED
20 #define XEMU_MEGA65_SDCONTENT_H_INCLUDED
21 #ifdef SD_CONTENT_SUPPORT
22 
23 // You should not use multiple *_FDISK and *_FILES options!
24 
25 // FORCE fdisk/format whatever the image is valid or not!
26 #define SDCONTENT_FORCE_FDISK 1
27 // ASK fdisk/format *IF* image seems to be not valid, and do it on user's prompt
28 #define SDCONTENT_ASK_FDISK 2
29 // Ask the user to correct missing system files needed, and do according to the answer [only if FS could be checked, see *_FDISK options]
30 #define SDCONTENT_ASK_FILES 4
31 // Always check for missing files and do put them without question [only if FS could be checked, see *_FDISK options]
32 #define SDCONTENT_DO_FILES 8
33 // Even OVERWRITE existing files without questions, all of them! [only if FS could be checked, see *_FDISK options]
34 #define SDCONTENT_OVERWRITE_FILES 16
35 // For INTERNAL user!!
36 #define SDCONTENT_SYS_FILE 32
37 
38 
39 extern int sdcontent_handle ( Uint32 size_in_blocks, const char *update_dir_path, int options );
40 extern int sdcontent_write_rom_stub ( void );
41 extern int sdcontent_check_xemu_signature ( void );
42 
43 
44 #define XEMU_INFO_SDCARD_BLOCK_NO 2
45 
46 #endif
47 #endif
Uint32
uint32_t Uint32
Definition: fat32.c:49
options
int options
Definition: cpmfs.c:41