comparison segacd.h @ 2081:cfd53c94fffb

Initial stab at RF5C164 emulation
author Michael Pavone <pavone@retrodev.com>
date Thu, 03 Feb 2022 23:15:42 -0800
parents bafb757e1cd2
children ff32a90260c9
comparison
equal deleted inserted replaced
2080:bafb757e1cd2 2081:cfd53c94fffb
1 #ifndef SEGACD_H_ 1 #ifndef SEGACD_H_
2 #define SEGACD_H_ 2 #define SEGACD_H_
3 #include <stdint.h> 3 #include <stdint.h>
4 #include "genesis.h" 4 #include "genesis.h"
5 #include "cdd_mcu.h" 5 #include "cdd_mcu.h"
6 #include "rf5c164.h"
6 7
7 typedef struct { 8 typedef struct {
8 m68k_context *m68k; 9 m68k_context *m68k;
9 system_media *media; 10 system_media *media;
10 genesis_context *genesis; 11 genesis_context *genesis;
32 uint8_t busreq; 33 uint8_t busreq;
33 uint8_t busack; 34 uint8_t busack;
34 uint8_t reset; 35 uint8_t reset;
35 uint8_t need_reset; 36 uint8_t need_reset;
36 uint8_t memptr_start_index; 37 uint8_t memptr_start_index;
38 rf5c164 pcm;
37 lc8951 cdc; 39 lc8951 cdc;
38 cdd_mcu cdd; 40 cdd_mcu cdd;
39 cdd_fader fader; 41 cdd_fader fader;
40 uint8_t cdc_dst_low; 42 uint8_t cdc_dst_low;
41 uint8_t cdc_int_ack; 43 uint8_t cdc_int_ack;