diff options
author | Mike Pavone <pavone@retrodev.com> | 2012-12-21 20:56:32 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2012-12-21 20:56:32 -0800 |
commit | 8ac9006be0170d550147873ca1f5169f3a443149 (patch) | |
tree | e0fc50dded3d28356418d4a39a94f606fae4fc3b /blastem.h | |
parent | 30e36fd405aa5d8879ac9992d4ed9f44da5aa5ba (diff) |
Implement DMA (untested)
Diffstat (limited to 'blastem.h')
-rw-r--r-- | blastem.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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_1; 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_ |