comparison sms.h @ 1141:7e199bebde2f

Initial support for Sega's family of SMS mappers
author Michael Pavone <pavone@retrodev.com>
date Mon, 02 Jan 2017 22:54:24 -0800
parents 928a65750345
children 6b0da6021544
comparison
equal deleted inserted replaced
1140:4490c9c12272 1141:7e199bebde2f
13 system_header header; 13 system_header header;
14 z80_context *z80; 14 z80_context *z80;
15 vdp_context *vdp; 15 vdp_context *vdp;
16 psg_context *psg; 16 psg_context *psg;
17 sega_io io; 17 sega_io io;
18 uint8_t *rom;
19 uint32_t rom_size;
18 uint32_t master_clock; 20 uint32_t master_clock;
19 uint32_t normal_clock; 21 uint32_t normal_clock;
20 uint8_t should_return; 22 uint8_t should_return;
21 uint8_t ram[SMS_RAM_SIZE]; 23 uint8_t ram[SMS_RAM_SIZE];
22 } sms_context; 24 } sms_context;