Initial submission of the PCem-Experimental source code.

This commit is contained in:
OBattler
2016-06-26 00:34:39 +02:00
parent 09d7c4384f
commit fd2a5bc9f5
610 changed files with 184352 additions and 0 deletions

16
src/dma.h Normal file
View 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);