From 8ac9006be0170d550147873ca1f5169f3a443149 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Fri, 21 Dec 2012 20:56:32 -0800 Subject: Implement DMA (untested) --- blastem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'blastem.h') diff --git a/blastem.h b/blastem.h index e79c904..e9f62ad 100644 --- a/blastem.h +++ b/blastem.h @@ -1,6 +1,8 @@ #ifndef BLASTEM_H_ #define BLASTEM_H_ +#include + 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_ -- cgit v1.2.3