projects
/
dos_sbtest
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
works in dosbox
[dos_sbtest]
/
src
/
dma.h
1
#ifndef DMA_H_
2
#define DMA_H_
3
4
#include <inttypes.h>
5
6
enum {
7
DMA_SINGLE = 0x01,
8
DMA_BLOCK = 0x02,
9
DMA_CASCADE = DMA_SINGLE | DMA_BLOCK,
10
DMA_DECR = 0x08,
11
DMA_AUTO = 0x10
12
};
13
14
void dma_out(int chan, uint32_t phyaddr, int size, unsigned int flags);
15
void dma_in(int chan, uint32_t phyaddr, int size, unsigned int flags);
16
17
#endif /* DMA_H_ */