summaryrefslogtreecommitdiff
path: root/blastem.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-21 20:56:32 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-21 20:56:32 -0800
commit8ac9006be0170d550147873ca1f5169f3a443149 (patch)
treee0fc50dded3d28356418d4a39a94f606fae4fc3b /blastem.h
parent30e36fd405aa5d8879ac9992d4ed9f44da5aa5ba (diff)
Implement DMA (untested)
Diffstat (limited to 'blastem.h')
-rw-r--r--blastem.h3
1 files changed, 3 insertions, 0 deletions
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 <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_