Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
dave.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_DAVE_H_INCLUDED
20 #define XEMU_EP128_DAVE_H_INCLUDED
21 
22 #define AUDIO_SOURCE_DAVE 0
23 #define AUDIO_SOURCE_PRINTER_COVOX 1
24 #define AUDIO_SOURCE_DTM_DAC4 2
25 
26 extern int audio_source;
27 extern Uint8 dave_int_read;
28 //extern Uint8 kbd_matrix[16];
30 
31 extern void audio_init ( int enable );
32 extern void audio_start ( void );
33 extern void audio_stop ( void );
34 extern void audio_close ( void );
35 extern int is_audio_emulation_active ( void );
36 
37 extern void dave_set_clock ( void );
38 extern void kbd_matrix_reset ( void );
39 extern void dave_reset ( void );
40 extern void dave_int1 ( int level );
41 extern void dave_tick ( void );
42 extern void dave_configure_interrupts ( Uint8 n );
43 extern void dave_write_audio_register ( Uint8 port, Uint8 value );
44 
45 #endif
kbd_selector
int kbd_selector
Definition: dave.c:35
dave_int1
void dave_int1(int level)
Definition: dave.c:227
dave_set_clock
void dave_set_clock(void)
Definition: dave.c:182
dave_int_read
Uint8 dave_int_read
Definition: dave.c:29
audio_init
void audio_init(int enable)
Definition: dave.c:153
dave_tick
void dave_tick(void)
Definition: dave.c:254
Uint8
uint8_t Uint8
Definition: fat32.c:51
dave_reset
void dave_reset(void)
Definition: dave.c:206
kbd_matrix_reset
void kbd_matrix_reset(void)
Definition: dave.c:199
dave_configure_interrupts
void dave_configure_interrupts(Uint8 n)
Definition: dave.c:332
audio_source
int audio_source
Definition: dave.c:40
audio_stop
void audio_stop(void)
Definition: dave.c:133
audio_close
void audio_close(void)
Definition: dave.c:143
audio_start
void audio_start(void)
Definition: dave.c:123
dave_write_audio_register
void dave_write_audio_register(Uint8 port, Uint8 value)
Definition: dave.c:341
value
int value
Definition: dma65.c:90
cpu_cycles_per_dave_tick
int cpu_cycles_per_dave_tick
Definition: dave.h:29
is_audio_emulation_active
int is_audio_emulation_active(void)
Definition: dave.c:117
mem_wait_states
int mem_wait_states
Definition: dave.h:29