yaze
0.2.0
Link to the Past ROM Editor
Loading...
Searching...
No Matches
dma_channel.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EMU_MEMORY_DMA_CHANNEL_H
2
#define YAZE_APP_EMU_MEMORY_DMA_CHANNEL_H
3
4
#include <cstdint>
5
6
namespace
yaze
{
7
namespace
app {
8
namespace
emu {
9
namespace
memory {
10
11
typedef
struct
DmaChannel
{
12
uint8_t
b_addr
;
13
uint16_t
a_addr
;
14
uint8_t
a_bank
;
15
uint16_t
size
;
// also indirect hdma adr
16
uint8_t
ind_bank
;
// hdma
17
uint16_t
table_addr
;
// hdma
18
uint8_t
rep_count
;
// hdma
19
uint8_t
unusedByte
;
20
bool
dma_active
;
21
bool
hdma_active
;
22
uint8_t
mode
;
23
bool
fixed
;
24
bool
decrement
;
25
bool
indirect
;
// hdma
26
bool
from_b
;
27
bool
unusedBit
;
28
bool
do_transfer
;
// hdma
29
bool
terminated
;
// hdma
30
}
DmaChannel
;
31
32
}
// namespace memory
33
}
// namespace emu
34
}
// namespace app
35
}
// namespace yaze
36
37
#endif
// YAZE_APP_EMU_MEMORY_DMA_CHANNEL_H
yaze::app::emu::memory::DmaChannel
struct yaze::app::emu::memory::DmaChannel DmaChannel
yaze
Definition
common.cc:22
yaze::app::emu::memory::DmaChannel
Definition
dma_channel.h:11
yaze::app::emu::memory::DmaChannel::a_bank
uint8_t a_bank
Definition
dma_channel.h:14
yaze::app::emu::memory::DmaChannel::dma_active
bool dma_active
Definition
dma_channel.h:20
yaze::app::emu::memory::DmaChannel::rep_count
uint8_t rep_count
Definition
dma_channel.h:18
yaze::app::emu::memory::DmaChannel::fixed
bool fixed
Definition
dma_channel.h:23
yaze::app::emu::memory::DmaChannel::unusedBit
bool unusedBit
Definition
dma_channel.h:27
yaze::app::emu::memory::DmaChannel::terminated
bool terminated
Definition
dma_channel.h:29
yaze::app::emu::memory::DmaChannel::hdma_active
bool hdma_active
Definition
dma_channel.h:21
yaze::app::emu::memory::DmaChannel::a_addr
uint16_t a_addr
Definition
dma_channel.h:13
yaze::app::emu::memory::DmaChannel::decrement
bool decrement
Definition
dma_channel.h:24
yaze::app::emu::memory::DmaChannel::from_b
bool from_b
Definition
dma_channel.h:26
yaze::app::emu::memory::DmaChannel::table_addr
uint16_t table_addr
Definition
dma_channel.h:17
yaze::app::emu::memory::DmaChannel::ind_bank
uint8_t ind_bank
Definition
dma_channel.h:16
yaze::app::emu::memory::DmaChannel::b_addr
uint8_t b_addr
Definition
dma_channel.h:12
yaze::app::emu::memory::DmaChannel::do_transfer
bool do_transfer
Definition
dma_channel.h:28
yaze::app::emu::memory::DmaChannel::indirect
bool indirect
Definition
dma_channel.h:25
yaze::app::emu::memory::DmaChannel::unusedByte
uint8_t unusedByte
Definition
dma_channel.h:19
yaze::app::emu::memory::DmaChannel::size
uint16_t size
Definition
dma_channel.h:15
yaze::app::emu::memory::DmaChannel::mode
uint8_t mode
Definition
dma_channel.h:22
src
app
emu
memory
dma_channel.h
Generated by
1.12.0