Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
apu.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_APU_H_INCLUDED
20 #define __XEP128_APU_H_INCLUDED
21 
22 #define APU_CLOCK 2500000
23 
24 extern Uint8 apu_read_data ( void );
25 extern Uint8 apu_read_status ( void );
26 extern void apu_write_data ( Uint8 value );
27 extern void apu_write_command ( Uint8 value );
28 extern void apu_reset ( void );
29 
30 #endif
apu_write_command
void apu_write_command(Uint8 value)
Definition: apu.c:290
apu_write_data
void apu_write_data(Uint8 value)
Definition: apu.c:113
apu_read_status
Uint8 apu_read_status(void)
Definition: apu.c:74
Uint8
uint8_t Uint8
Definition: fat32.c:51
apu_read_data
Uint8 apu_read_data(void)
Definition: apu.c:99
apu_reset
void apu_reset(void)
Definition: apu.c:66
value
int value
Definition: dma65.c:90