From 6caef2579a1490f05d28bcede731cbdd45fc5c65 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Wed, 5 Jul 2017 11:44:49 +0200 Subject: dvdisasm: Overhaul [O. Galibert] Disassemblers are now independant classes. Not only the code is cleaner, but unidasm has access to all the cpu cores again. The interface to the disassembly method has changed from byte buffers to objects that give a result to read methods. This also adds support for lfsr and/or paged PCs. --- docs/source/techspecs/device_memory_interface.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/source/techspecs/device_memory_interface.rst') diff --git a/docs/source/techspecs/device_memory_interface.rst b/docs/source/techspecs/device_memory_interface.rst index d38faf8c996..f35a1887cee 100644 --- a/docs/source/techspecs/device_memory_interface.rst +++ b/docs/source/techspecs/device_memory_interface.rst @@ -40,12 +40,13 @@ instructions separately from the data. 2. Setup -------- -| std::vector>\ **memory_space_config**\ (int spacenum) const +| std::vector>\ **memory_space_config**\ (int spacenum) const The device must override that method to provide a vector of pairs comprising of a space number and its associated **address_space_config** describing its configuration. Some examples to look up when needed: + * Standard two-space vector: v60_device * Conditional AS_OPCODE: z80_device * Inherit config and add a space: m6801_device @@ -106,7 +107,7 @@ version tests for AS_PROGRAM/AS_0. Does a logical to physical address translation through the device's MMU. spacenum gives the space number, intention the type of the -future access (TRANSLATE_(READ|WRITE|FETCH)(|_USER|_DEBUG)) and +future access (TRANSLATE_(READ\|WRITE\|FETCH)(\|_USER\|_DEBUG)) and address is an inout parameter with the address to translate and its translated version. Should return true if the translation went correctly, false if the address is unmapped. -- cgit v1.2.3-70-g09d2