Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
targets
ep128
zxemu.h
Go to the documentation of this file.
1
/* Minimalistic Enterprise-128 emulator with focus on "exotic" hardware
2
Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
3
Copyright (C)2015-2016,2020 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_EP128_ZXEMU_H_INCLUDED
20
#define XEMU_EP128_ZXEMU_H_INCLUDED
21
22
#define IO16_HI_BYTE(port16) (((ports[(((port16) >> 14) & 3) | 0xB0] & 3) << 6) | (((port16) >> 8) & 0x3F))
23
24
extern
void
zxemu_write_ula
(
Uint8
hiaddr,
Uint8
data
);
25
extern
Uint8
zxemu_read_ula
(
Uint8
hiaddr );
26
extern
void
zxemu_attribute_memory_write
(
Uint16
address,
Uint8
data
);
27
extern
void
zxemu_switch
(
Uint8
data
);
28
29
extern
int
zxemu_on
,
nmi_pending
;
30
31
#endif
zxemu_on
int zxemu_on
Definition:
zxemu.c:27
zxemu_switch
void zxemu_switch(Uint8 data)
Definition:
zxemu.c:32
m65-memcontent-generator.data
data
Definition:
m65-memcontent-generator.py:119
Uint8
uint8_t Uint8
Definition:
fat32.c:51
zxemu_write_ula
void zxemu_write_ula(Uint8 hiaddr, Uint8 data)
Definition:
zxemu.c:52
zxemu_attribute_memory_write
void zxemu_attribute_memory_write(Uint16 address, Uint8 data)
Definition:
zxemu.c:78
nmi_pending
int nmi_pending
Definition:
zxemu.h:29
zxemu_read_ula
Uint8 zxemu_read_ula(Uint8 hiaddr)
Definition:
zxemu.c:64
Uint16
uint16_t Uint16
Definition:
fat32.c:50
Generated by
1.8.17