Mercurial > repos > blastem
comparison backend.h @ 1506:ded16f3d7eb4 mame_interp
Super hacky integration of the version of Musashi from MAME
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 27 Dec 2017 13:46:52 -0800 |
parents | 5d41d0574863 |
children | 2455662378ed |
comparison
equal
deleted
inserted
replaced
1471:2e6320d261ff | 1506:ded16f3d7eb4 |
---|---|
129 void patch_for_retranslate(cpu_options *opts, code_ptr native_address, code_ptr handler); | 129 void patch_for_retranslate(cpu_options *opts, code_ptr native_address, code_ptr handler); |
130 | 130 |
131 code_ptr gen_mem_fun(cpu_options * opts, memmap_chunk const * memmap, uint32_t num_chunks, ftype fun_type, code_ptr *after_inc); | 131 code_ptr gen_mem_fun(cpu_options * opts, memmap_chunk const * memmap, uint32_t num_chunks, ftype fun_type, code_ptr *after_inc); |
132 void * get_native_pointer(uint32_t address, void ** mem_pointers, cpu_options * opts); | 132 void * get_native_pointer(uint32_t address, void ** mem_pointers, cpu_options * opts); |
133 uint16_t read_word(uint32_t address, void **mem_pointers, cpu_options *opts, void *context); | 133 uint16_t read_word(uint32_t address, void **mem_pointers, cpu_options *opts, void *context); |
134 void write_word(uint32_t address, uint16_t value, void **mem_pointers, cpu_options *opts, void *context); | |
135 uint8_t read_byte(uint32_t address, void **mem_pointers, cpu_options *opts, void *context); | |
136 void write_byte(uint32_t address, uint8_t value, void **mem_pointers, cpu_options *opts, void *context); | |
134 memmap_chunk const *find_map_chunk(uint32_t address, cpu_options *opts, uint16_t flags, uint32_t *size_sum); | 137 memmap_chunk const *find_map_chunk(uint32_t address, cpu_options *opts, uint16_t flags, uint32_t *size_sum); |
135 uint32_t chunk_size(cpu_options *opts, memmap_chunk const *chunk); | 138 uint32_t chunk_size(cpu_options *opts, memmap_chunk const *chunk); |
136 uint32_t ram_size(cpu_options *opts); | 139 uint32_t ram_size(cpu_options *opts); |
137 | 140 |
138 #endif //BACKEND_H_ | 141 #endif //BACKEND_H_ |