Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
dave.c File Reference
#include "xep128.h"
#include "dave.h"
#include "primoemu.h"
#include "cpu.h"
#include "printer.h"
#include <SDL.h>
Include dependency graph for dave.c:

Go to the source code of this file.

Macros

#define AUDIO_BUFFER_SIZE   0x4000
 

Functions

void audio_start (void)
 
void audio_stop (void)
 
void audio_close (void)
 
void audio_init (int enable)
 
void dave_set_clock (void)
 
void kbd_matrix_reset (void)
 
void dave_reset (void)
 
void dave_int1 (int level)
 
void dave_tick (void)
 
void dave_configure_interrupts (Uint8 n)
 
void dave_write_audio_register (Uint8 port, Uint8 value)
 

Variables

Uint8 dave_int_read
 
Uint8 kbd_matrix [16]
 
int kbd_selector
 
int cpu_cycles_per_dave_tick
 
int mem_wait_states
 
int audio_source = AUDIO_SOURCE_DAVE
 

Macro Definition Documentation

◆ AUDIO_BUFFER_SIZE

#define AUDIO_BUFFER_SIZE   0x4000

Definition at line 45 of file dave.c.

Function Documentation

◆ audio_close()

void audio_close ( void  )

Definition at line 133 of file dave.c.

Here is the call graph for this function:

◆ audio_init()

void audio_init ( int  enable)

Definition at line 143 of file dave.c.

◆ audio_start()

void audio_start ( void  )

Definition at line 117 of file dave.c.

◆ audio_stop()

void audio_stop ( void  )

Definition at line 125 of file dave.c.

◆ dave_configure_interrupts()

void dave_configure_interrupts ( Uint8  n)

Definition at line 318 of file dave.c.

◆ dave_int1()

void dave_int1 ( int  level)

Definition at line 213 of file dave.c.

◆ dave_reset()

void dave_reset ( void  )

Definition at line 192 of file dave.c.

Here is the call graph for this function:

◆ dave_set_clock()

void dave_set_clock ( void  )

Definition at line 168 of file dave.c.

◆ dave_tick()

void dave_tick ( void  )

Definition at line 240 of file dave.c.

◆ dave_write_audio_register()

void dave_write_audio_register ( Uint8  port,
Uint8  value 
)

Definition at line 327 of file dave.c.

Here is the call graph for this function:

◆ kbd_matrix_reset()

void kbd_matrix_reset ( void  )

Definition at line 185 of file dave.c.

Variable Documentation

◆ audio_source

int audio_source = AUDIO_SOURCE_DAVE

Definition at line 40 of file dave.c.

◆ cpu_cycles_per_dave_tick

int cpu_cycles_per_dave_tick

Definition at line 36 of file dave.c.

◆ dave_int_read

Uint8 dave_int_read

Definition at line 29 of file dave.c.

◆ kbd_matrix

Uint8 kbd_matrix[16]

Definition at line 30 of file dave.c.

◆ kbd_selector

int kbd_selector

Definition at line 35 of file dave.c.

◆ mem_wait_states

int mem_wait_states

Definition at line 37 of file dave.c.