Mercurial > repos > blastem
diff backend.h @ 1313:b27d7bf1107e
Improved printing of word at absolute address to support reading from all address types. Implemented support for printing the value pointed to by a register. Removed abuse of read_dma_value in internal debugger.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 03 Apr 2017 20:48:13 -0700 |
parents | 6b0da6021544 |
children | 5d41d0574863 |
line wrap: on
line diff
--- a/backend.h Fri Mar 31 19:11:04 2017 -0700 +++ b/backend.h Mon Apr 03 20:48:13 2017 -0700 @@ -125,6 +125,7 @@ code_ptr gen_mem_fun(cpu_options * opts, memmap_chunk const * memmap, uint32_t num_chunks, ftype fun_type, code_ptr *after_inc); void * get_native_pointer(uint32_t address, void ** mem_pointers, cpu_options * opts); +uint16_t read_word(uint32_t address, void **mem_pointers, cpu_options *opts, void *context); memmap_chunk const *find_map_chunk(uint32_t address, cpu_options *opts, uint16_t flags, uint32_t *size_sum); uint32_t chunk_size(cpu_options *opts, memmap_chunk const *chunk); uint32_t ram_size(cpu_options *opts);