Initial submission of the PCem-Experimental source code.
This commit is contained in:
16
src/dma.h
Normal file
16
src/dma.h
Normal file
@@ -0,0 +1,16 @@
|
||||
void dma_init();
|
||||
void dma16_init();
|
||||
void dma_reset();
|
||||
|
||||
#define DMA_NODATA -1
|
||||
#define DMA_OVER 0x10000
|
||||
|
||||
void readdma0();
|
||||
int readdma1();
|
||||
uint8_t readdma2();
|
||||
int readdma3();
|
||||
|
||||
void writedma2(uint8_t temp);
|
||||
|
||||
int dma_channel_read(int channel);
|
||||
int dma_channel_write(int channel, uint16_t val);
|
||||
Reference in New Issue
Block a user