Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
targets
recpm
hardware.h
Go to the documentation of this file.
1
/* Re-CP/M: CP/M-like own implementation + Z80 emulator
2
Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
3
Copyright (C)2016-2019 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_RECPM_HARDWARE_H_INCLUDED
20
#define __XEMU_RECPM_HARDWARE_H_INCLUDED
21
22
#include "
xemu/z80.h
"
23
#include "
xemu/z80_dasm.h
"
24
25
extern
int
emu_cost_cycles
,
emu_cost_usecs
,
stop_emulation
,
cpu_mhz
,
trace
,
cpu_cycles
,
cpu_cycles_per_frame
;
26
extern
Uint8
memory
[0x10000];
27
extern
Uint8
modded
[0x10000];
28
extern
void
emu_mem_write
(
int
addr
,
int
data
);
29
extern
int
emu_mem_read
(
int
addr
);
30
extern
int
z80_custom_disasm
(
int
addr
,
char
*
buf
,
int
buf_size );
31
32
#endif
z80_dasm.h
cpu_cycles
int cpu_cycles
Definition:
hardware.h:25
emu_cost_usecs
int emu_cost_usecs
Definition:
hardware.h:25
trace
int trace
Definition:
hardware.h:25
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
z80.h
emu_mem_write
void emu_mem_write(int addr, int data)
Definition:
hardware.c:129
memory
Uint8 memory[0x10000]
Definition:
commodore_65.c:43
modded
Uint8 modded[0x10000]
Definition:
hardware.c:29
emu_mem_read
int emu_mem_read(int addr)
Definition:
hardware.c:138
cpu_cycles_per_frame
int cpu_cycles_per_frame
Definition:
hardware.h:25
z80_custom_disasm
int z80_custom_disasm(int addr, char *buf, int buf_size)
Definition:
hardware.c:193
stop_emulation
int stop_emulation
Definition:
hardware.h:25
emu_cost_cycles
int emu_cost_cycles
Definition:
hardware.c:30
cpu_mhz
int cpu_mhz
Definition:
hardware.h:25
buf
Uint8 buf[512]
Definition:
fat32.c:155
Generated by
1.8.17