Mercurial > repos > blastem
diff blastem.h @ 75:108e587165c0
Implement DMA (untested)
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 21 Dec 2012 20:56:32 -0800 |
parents | 7a22a0e6c004 |
children | 209a37eed3e7 |
line wrap: on
line diff
--- a/blastem.h Fri Dec 21 16:38:40 2012 -0800 +++ b/blastem.h Fri Dec 21 20:56:32 2012 -0800 @@ -1,6 +1,8 @@ #ifndef BLASTEM_H_ #define BLASTEM_H_ +#include <stdint.h> + typedef struct { uint32_t th_counter; uint32_t timeout_cycle; @@ -17,6 +19,7 @@ extern io_port gamepad_2; void io_adjust_cycles(io_port * pad, uint32_t current_cycle, uint32_t deduction); +uint16_t read_dma_value(uint32_t address); #endif //BLASTEM_H_