Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
dma65.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DMA_FEATURE_DYNMODESET   0x100
 
#define DMA_FEATURE_MODULO   0x200
 
#define DMA_FEATURE_HACK   0x400
 

Functions

void dma_write_reg (int addr, Uint8 data)
 
Uint8 dma_read_reg (int reg)
 
void dma_init (unsigned int revision)
 
void dma_init_set_rev (unsigned int revision, const Uint8 *rom)
 
void dma_reset (void)
 
int dma_update (void)
 
int dma_update_multi_steps (int do_for_cycles)
 
int dma_is_in_use (void)
 
Uint8 DMA_SOURCE_IOREADER_FUNC (int)
 
Uint8 DMA_SOURCE_MEMREADER_FUNC (int)
 
Uint8 DMA_TARGET_IOREADER_FUNC (int)
 
Uint8 DMA_TARGET_MEMREADER_FUNC (int)
 
Uint8 DMA_LIST_READER_FUNC (int)
 
void DMA_SOURCE_IOWRITER_FUNC (int, Uint8)
 
void DMA_SOURCE_MEMWRITER_FUNC (int, Uint8)
 
void DMA_TARGET_IOWRITER_FUNC (int, Uint8)
 
void DMA_TARGET_MEMWRITER_FUNC (int, Uint8)
 

Variables

Uint8 dma_status
 
Uint8 dma_registers [16]
 
int dma_chip_revision
 

Macro Definition Documentation

◆ DMA_FEATURE_DYNMODESET

#define DMA_FEATURE_DYNMODESET   0x100

Definition at line 24 of file dma65.h.

◆ DMA_FEATURE_HACK

#define DMA_FEATURE_HACK   0x400

Definition at line 26 of file dma65.h.

◆ DMA_FEATURE_MODULO

#define DMA_FEATURE_MODULO   0x200

Definition at line 25 of file dma65.h.

Function Documentation

◆ dma_init()

void dma_init ( unsigned int  revision)

Definition at line 465 of file dma65.c.

◆ dma_init_set_rev()

void dma_init_set_rev ( unsigned int  revision,
const Uint8 rom 
)

Definition at line 620 of file dma65.c.

◆ dma_is_in_use()

int dma_is_in_use ( void  )

Definition at line 303 of file dma65.c.

Here is the caller graph for this function:

◆ DMA_LIST_READER_FUNC()

Uint8 DMA_LIST_READER_FUNC ( int  )

◆ dma_read_reg()

Uint8 dma_read_reg ( int  reg)

Definition at line 502 of file dma65.c.

◆ dma_reset()

void dma_reset ( void  )

Definition at line 488 of file dma65.c.

◆ DMA_SOURCE_IOREADER_FUNC()

Uint8 DMA_SOURCE_IOREADER_FUNC ( int  )

◆ DMA_SOURCE_IOWRITER_FUNC()

void DMA_SOURCE_IOWRITER_FUNC ( int  ,
Uint8   
)

◆ DMA_SOURCE_MEMREADER_FUNC()

Uint8 DMA_SOURCE_MEMREADER_FUNC ( int  )

◆ DMA_SOURCE_MEMWRITER_FUNC()

void DMA_SOURCE_MEMWRITER_FUNC ( int  ,
Uint8   
)

◆ DMA_TARGET_IOREADER_FUNC()

Uint8 DMA_TARGET_IOREADER_FUNC ( int  )

◆ DMA_TARGET_IOWRITER_FUNC()

void DMA_TARGET_IOWRITER_FUNC ( int  ,
Uint8   
)

◆ DMA_TARGET_MEMREADER_FUNC()

Uint8 DMA_TARGET_MEMREADER_FUNC ( int  )

◆ DMA_TARGET_MEMWRITER_FUNC()

void DMA_TARGET_MEMWRITER_FUNC ( int  ,
Uint8   
)

◆ dma_update()

int dma_update ( void  )

Definition at line 215 of file dma65.c.

◆ dma_update_multi_steps()

int dma_update_multi_steps ( int  do_for_cycles)

Definition at line 405 of file dma65.c.

◆ dma_write_reg()

void dma_write_reg ( int  addr,
Uint8  data 
)

Definition at line 175 of file dma65.c.

Here is the caller graph for this function:

Variable Documentation

◆ dma_chip_revision

int dma_chip_revision

Definition at line 53 of file dma65.c.

◆ dma_registers

Uint8 dma_registers[16]

Definition at line 52 of file dma65.c.

◆ dma_status

Uint8 dma_status

Definition at line 51 of file dma65.c.