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 bAdr;
13 uint16_t aAdr;
14 uint8_t aBank;
15 uint16_t size; // also indirect hdma adr
16 uint8_t indBank; // hdma
17 uint16_t tableAdr; // hdma
18 uint8_t repCount; // hdma
19 uint8_t unusedByte;
22 uint8_t mode;
23 bool fixed;
25 bool indirect; // hdma
26 bool fromB;
28 bool doTransfer; // 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:21