Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
c65_snapshot.h
Go to the documentation of this file.
1 /* Test-case for a very simple, inaccurate, work-in-progress Commodore 65 emulator.
2  Copyright (C)2016-2020 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_C65_SNAPSHOT_H_INCLUDED
19 #define XEMU_C65_SNAPSHOT_H_INCLUDED
20 
21 #ifdef XEMU_SNAPSHOT_SUPPORT
22 #include "xemu/emutools_snapshot.h"
23 
24 // From other modules ...
25 extern struct Cia6526 cia1, cia2;
26 extern struct SidEmulation sids[2];
27 extern int c65emu_snapshot_load_state ( const struct xemu_snapshot_definition_st *def, struct xemu_snapshot_block_st *block );
28 extern int c65emu_snapshot_save_state ( const struct xemu_snapshot_definition_st *def );
29 extern int c65emu_snapshot_loading_finalize ( const struct xemu_snapshot_definition_st *def, struct xemu_snapshot_block_st *block );
30 
31 // From our .c file
32 extern const struct xemu_snapshot_definition_st c65_snapshot_definition[];
33 
34 #endif
35 #endif
cia2
struct Cia6526 cia1 cia2
Definition: commodore_65.c:44
Cia6526
Definition: cia6526.h:37
block
Uint32 block
Definition: fat32.c:156
emutools_snapshot.h
sids
struct SidEmulation sids[2]
Definition: commodore_65.c:45
SidEmulation
Definition: sid.h:78