diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-11-05 00:23:11 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-11-05 00:23:11 -0700 |
commit | dd260c76cde35ba8ad5508f03163216f359d00e1 (patch) | |
tree | f3d3d57224ec08a2d08d53175f3722c74eadd697 /jaguar.h | |
parent | e895e82ba2f3cb0d47212e05740d51be5e8324b5 (diff) |
Get Jaguar video interrupt working
Diffstat (limited to 'jaguar.h')
-rw-r--r-- | jaguar.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,8 @@ typedef struct { uint32_t memcon1; uint32_t memcon2; uint32_t rom_cycles; + uint32_t max_cycles; + uint16_t cpu_int_control; uint16_t write_latch; uint8_t write_pending; @@ -27,6 +29,8 @@ typedef struct { uint8_t memcon_written; } jaguar_context; +#define BIT_CPU_VID_INT_ENABLED 0x01 + 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); |