diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-10-16 18:25:18 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-10-16 18:25:18 -0700 |
commit | cd98b3665144c7a5ac641afe0fa916830bd2f563 (patch) | |
tree | 3cb906e33ef08e6f9283f41953cdd75692eae04a /jaguar.h | |
parent | 4f1275708c60e7b582a3e5a02fac4ee0300a9999 (diff) |
Initial stab at implementing the Jaguar object processor
Diffstat (limited to 'jaguar.h')
-rw-r--r-- | jaguar.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,7 +6,7 @@ #define DSP_RAM_BYTES 8192 #include "jag_video.h" - +typedef struct m68k_context m68k_context; typedef struct { m68k_context *m68k; jag_video *video; @@ -16,6 +16,7 @@ typedef struct { uint32_t cart_size; uint32_t memcon1; uint32_t memcon2; + uint32_t rom_cycles; uint16_t write_latch; uint8_t write_pending; @@ -26,5 +27,8 @@ typedef struct { uint8_t memcon_written; } jaguar_context; +uint64_t jag_read_phrase(jaguar_context *system, uint32_t address, uint32_t *cycles); +uint32_t jag_write_phrase(jaguar_context *system, uint32_t address, uint64_t value); + #endif //JAGUAR_H_ |