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
6namespace yaze {
7namespace app {
8namespace emu {
9namespace memory {
10
11typedef 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;
22 uint8_t mode;
23 bool fixed;
25 bool indirect; // hdma
26 bool from_b;
28 bool do_transfer; // hdma
29 bool terminated; // hdma
31
32} // namespace memory
33} // namespace emu
34} // namespace app
35} // namespace yaze
36
37#endif // YAZE_APP_EMU_MEMORY_DMA_CHANNEL_H
struct yaze::app::emu::memory::DmaChannel DmaChannel
Definition common.cc:22