comparison rf5c164.h @ 2278:5a21bc0ec583

Implement turbo/slo mo for Sega CD
author Michael Pavone <pavone@retrodev.com>
date Mon, 02 Jan 2023 13:08:49 -0800
parents 0d1d5dccdd28
children 9ead0fe69d9b
comparison
equal deleted inserted replaced
2277:9e578fd493e1 2278:5a21bc0ec583
32 uint8_t flags; 32 uint8_t flags;
33 } rf5c164; 33 } rf5c164;
34 34
35 void rf5c164_init(rf5c164* pcm, uint32_t mclks, uint32_t divider); 35 void rf5c164_init(rf5c164* pcm, uint32_t mclks, uint32_t divider);
36 void rf5c164_deinit(rf5c164* pcm); 36 void rf5c164_deinit(rf5c164* pcm);
37 void rf5c164_adjust_master_clock(rf5c164* pcm, uint32_t mclks);
37 void rf5c164_run(rf5c164* pcm, uint32_t cycle); 38 void rf5c164_run(rf5c164* pcm, uint32_t cycle);
38 void rf5c164_write(rf5c164* pcm, uint16_t address, uint8_t value); 39 void rf5c164_write(rf5c164* pcm, uint16_t address, uint8_t value);
39 uint8_t rf5c164_read(rf5c164* pcm, uint16_t address); 40 uint8_t rf5c164_read(rf5c164* pcm, uint16_t address);
40 void rf5c164_enable_scope(rf5c164* pcm, oscilloscope *scope); 41 void rf5c164_enable_scope(rf5c164* pcm, oscilloscope *scope);
41 42