Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
rom.h
Go to the documentation of this file.
1 /* Part of the Xemu project. https://github.com/lgblgblgb/xemu
2  Copyright (C)2016-2022 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
3 
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8 
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13 
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
17 
18 #ifndef XEMU_MEGA65_ROM_H_INCLUDED
19 #define XEMU_MEGA65_ROM_H_INCLUDED
20 
21 #define XEMU_STUB_ROM_SAVE_FILENAME "@XEMU-STUB.ROM"
22 
23 extern int rom_date;
24 extern const char *rom_name;
26 extern int rom_is_openroms;
27 extern int rom_is_stub;
28 extern const Uint8 vga_font_8x8[2048];
29 
30 extern int rom_stubrom_requested;
31 extern int rom_initrom_requested;
32 extern int rom_from_prefdir_allowed;
33 extern int rom_is_overriden;
34 extern int rom_is_external;
35 
36 extern void rom_clear_reports ( void );
37 extern void rom_unset_requests ( void );
38 extern void rom_detect_date ( const Uint8 *rom );
39 extern void rom_make_xemu_stub_rom ( Uint8 *rom, const char *save_file );
40 extern void rom_clear_rom ( Uint8 *rom );
41 extern int rom_do_override ( Uint8 *rom );
42 extern int rom_load_custom ( const char *fn );
43 
44 #endif
rom_is_external
int rom_is_external
Definition: rom.c:36
rom_do_override
int rom_do_override(Uint8 *rom)
Definition: rom.c:271
rom_stubrom_requested
int rom_stubrom_requested
Definition: rom.c:32
rom_hash_str
sha1_hash_str rom_hash_str
Definition: rom.c:30
sha1_hash_str
char sha1_hash_str[41]
Definition: emutools.h:237
rom_clear_rom
void rom_clear_rom(Uint8 *rom)
Definition: rom.c:121
fn
const char * fn
Definition: roms.c:42
rom_is_stub
int rom_is_stub
Definition: rom.c:29
rom_unset_requests
void rom_unset_requests(void)
Definition: rom.c:58
vga_font_8x8
const Uint8 vga_font_8x8[2048]
rom_detect_date
void rom_detect_date(const Uint8 *rom)
Definition: rom.c:82
rom_date
int rom_date
Definition: dma65.c:55
rom_load_custom
int rom_load_custom(const char *fn)
Definition: rom.c:240
Uint8
uint8_t Uint8
Definition: fat32.c:51
rom_initrom_requested
int rom_initrom_requested
Definition: rom.c:33
rom_name
const char * rom_name
Definition: rom.c:45
rom_clear_reports
void rom_clear_reports(void)
Definition: rom.c:48
rom_is_openroms
int rom_is_openroms
Definition: rom.c:28
rom_from_prefdir_allowed
int rom_from_prefdir_allowed
Definition: rom.c:34
rom_make_xemu_stub_rom
void rom_make_xemu_stub_rom(Uint8 *rom, const char *save_file)
Definition: rom.c:132
rom_is_overriden
int rom_is_overriden
Definition: rom.c:35