From 6e60af32c1e2c2a91937d9184778dad97182f36e Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 4 Nov 2023 00:37:48 +1100 Subject: sega/sega_beena.cpp: Added basic book page display. sega_beena_cart.xml: Put page scans in individual data areas. frontend/mame/luaengine_mem.cpp: Added a raw read function for memory regions. plugins/layout: Added bitmap classes to layout sandbox. --- docs/source/luascript/ref-mem.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/source/luascript') diff --git a/docs/source/luascript/ref-mem.rst b/docs/source/luascript/ref-mem.rst index 24c16670c47..0987889d3dc 100644 --- a/docs/source/luascript/ref-mem.rst +++ b/docs/source/luascript/ref-mem.rst @@ -419,6 +419,12 @@ manager.machine.devices[tag]:memregion(tag) Methods ~~~~~~~ +region:read(offs, len) + Reads up to the specified length in bytes from the specified offset in the + memory region. The bytes read will be returned as a string. If the + specified length extends beyond the end of the memory region, the returned + string will be shorter than requested. Note that the data will be in host + byte order. region:read_i{8,16,32,64}(offs) Reads a signed integer value of the size in bits from the specified offset in the memory region. The offset is specified in bytes. Reading beyond the -- cgit v1.2.3-70-g09d2