Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
targets
ep128
primoemu.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_PRIMOEMU_H_INCLUDED
20
#define XEMU_EP128_PRIMOEMU_H_INCLUDED
21
22
#define PRIMO_LPT_SEG 0xFF
23
#define PRIMO_VID_SEG 0xFC
24
#define PRIMO_MEM2_SEG 0xFD
25
#define PRIMO_MEM1_SEG 0xFE
26
#define PRIMO_ROM_SEG primo_rom_seg
27
28
extern
int
primo_nmi_enabled
,
primo_on
,
primo_rom_seg
;
29
30
extern
void
primo_write_io
(
Uint8
port,
Uint8
data
);
31
extern
Uint8
primo_read_io
(
Uint8
port );
32
extern
void
primo_switch
(
Uint8
data
);
33
extern
void
primo_emulator_execute
(
void
);
34
extern
void
primo_emulator_exit
(
void
);
35
extern
int
primo_search_rom
(
void
);
36
37
#endif
primo_switch
void primo_switch(Uint8 data)
Definition:
primoemu.c:110
primo_emulator_execute
void primo_emulator_execute(void)
Definition:
primoemu.c:211
m65-memcontent-generator.data
data
Definition:
m65-memcontent-generator.py:119
Uint8
uint8_t Uint8
Definition:
fat32.c:51
primo_nmi_enabled
int primo_nmi_enabled
Definition:
primoemu.c:31
primo_write_io
void primo_write_io(Uint8 port, Uint8 data)
Definition:
primoemu.c:149
primo_read_io
Uint8 primo_read_io(Uint8 port)
Definition:
primoemu.c:137
primo_on
int primo_on
Definition:
primoemu.h:28
primo_emulator_exit
void primo_emulator_exit(void)
Definition:
primoemu.c:192
primo_rom_seg
int primo_rom_seg
Definition:
primoemu.h:28
primo_search_rom
int primo_search_rom(void)
Definition:
primoemu.c:158
Generated by
1.8.17