Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
targets
ep128-old
emu_rom_interface.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_EMU_ROM_INTERFACE_H_INCLUDED
20
#define __XEP128_EMU_ROM_INTERFACE_H_INCLUDED
21
22
#define XEP_ERROR_CODE 1
23
24
extern
Uint8
exos_version
;
25
extern
Uint8
exos_info
[8];
26
27
extern
void
exos_get_status_line
(
char
*buffer );
28
extern
void
xep_set_time_consts
(
char
*descbuffer );
29
extern
void
xep_set_default_device_name
(
const
char
*
name
);
30
extern
void
xep_rom_trap
(
Uint16
pc
,
Uint8
opcode );
31
extern
void
xep_set_error
(
const
char
*msg );
32
33
#define XEP_SET_ERROR(...) do { \
34
char __xep_error_format_buffer__[64]; \
35
snprintf(__xep_error_format_buffer__, sizeof __xep_error_format_buffer__, __VA_ARGS__); \
36
xep_set_error(__xep_error_format_buffer__); \
37
} while(0)
38
39
#endif
xep_set_error
void xep_set_error(const char *msg)
Definition:
emu_rom_interface.c:64
pc
Uint16 pc
Definition:
z8k1.c:127
Uint8
uint8_t Uint8
Definition:
fat32.c:51
exos_version
Uint8 exos_version
Definition:
emu_rom_interface.c:45
xep_set_default_device_name
void xep_set_default_device_name(const char *name)
Definition:
emu_rom_interface.c:95
exos_get_status_line
void exos_get_status_line(char *buffer)
Definition:
emu_rom_interface.c:54
xep_rom_trap
void xep_rom_trap(Uint16 pc, Uint8 opcode)
Definition:
emu_rom_interface.c:195
Uint16
uint16_t Uint16
Definition:
fat32.c:50
name
const char * name
Definition:
joystick.c:46
xep_set_time_consts
void xep_set_time_consts(char *descbuffer)
Definition:
emu_rom_interface.c:75
exos_info
Uint8 exos_info[8]
Definition:
emu_rom_interface.c:46
Generated by
1.8.17