Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions
apu.c File Reference
#include "xemu/emutools.h"
#include "enterprise128.h"
#include "apu.h"
#include "cpu.h"
#include <math.h>
Include dependency graph for apu.c:

Go to the source code of this file.

Macros

#define _APU_F_CARRY   1
 
#define _APU_F_OVERFLOW   2
 
#define _APU_F_UNDERFLOW   4
 
#define _APU_F_NEGARG   8
 
#define _APU_F_ZERODIV   16
 
#define _APU_F_LARGE   24
 
#define _APU_F_ZERO   32
 
#define _APU_F_SIGN   64
 

Functions

void apu_reset (void)
 
Uint8 apu_read_status (void)
 
Uint8 apu_read_data ()
 
void apu_write_data (Uint8 data)
 
void apu_write_command (Uint8 cmd)
 

Macro Definition Documentation

◆ _APU_F_CARRY

#define _APU_F_CARRY   1

Definition at line 55 of file apu.c.

◆ _APU_F_LARGE

#define _APU_F_LARGE   24

Definition at line 60 of file apu.c.

◆ _APU_F_NEGARG

#define _APU_F_NEGARG   8

Definition at line 58 of file apu.c.

◆ _APU_F_OVERFLOW

#define _APU_F_OVERFLOW   2

Definition at line 56 of file apu.c.

◆ _APU_F_SIGN

#define _APU_F_SIGN   64

Definition at line 62 of file apu.c.

◆ _APU_F_UNDERFLOW

#define _APU_F_UNDERFLOW   4

Definition at line 57 of file apu.c.

◆ _APU_F_ZERO

#define _APU_F_ZERO   32

Definition at line 61 of file apu.c.

◆ _APU_F_ZERODIV

#define _APU_F_ZERODIV   16

Definition at line 59 of file apu.c.

Function Documentation

◆ apu_read_data()

Uint8 apu_read_data ( )

Definition at line 99 of file apu.c.

Here is the caller graph for this function:

◆ apu_read_status()

Uint8 apu_read_status ( void  )

Definition at line 74 of file apu.c.

Here is the caller graph for this function:

◆ apu_reset()

void apu_reset ( void  )

Definition at line 66 of file apu.c.

Here is the caller graph for this function:

◆ apu_write_command()

void apu_write_command ( Uint8  cmd)

Definition at line 290 of file apu.c.

Here is the caller graph for this function:

◆ apu_write_data()

void apu_write_data ( Uint8  data)

Definition at line 113 of file apu.c.

Here is the caller graph for this function: