From b7f56161c35a33630ddbf6065c8dc4dcfcc92403 Mon Sep 17 00:00:00 2001 From: "Peter Helcmanovsky (Ped)" Date: Thu, 21 Jan 2021 18:53:45 +0100 Subject: [PATCH] docs: MMU + SLOT allowing also starting-address --- docs/documentation.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/documentation.xml b/docs/documentation.xml index 73403aa4..1cff7b3f 100644 --- a/docs/documentation.xml +++ b/docs/documentation.xml @@ -2408,7 +2408,7 @@ ALLPASS - interpret Lua script in all passes. It is needed if you generate some - MMUMMUDEVICESLOTPAGE <first slot number> [<last slot number>|<single slot option>], <page number>[,<address>] + MMUMMUDEVICESLOTPAGE <first slot number or address> [<last slot number or address>|<single slot option>], <page number>[,<address>] Maps memory page(s) to slot(s), similar to SLOT + PAGE combination, but allows @@ -2421,6 +2421,9 @@ ALLPASS - interpret Lua script in all passes. It is needed if you generate some The optional third argument is address for ORG functionality. + (since v1.18.1) You can also use starting address of particular slot instead + of its number, ie. for ZX128: MMU $8000,3 is alias of MMU 2,3 + Single slot option (default state is: no error/warning and no wrap = nothing special): e = error on writing beyond last byte of slot w = warning on writing beyond last byte of slot @@ -3017,16 +3020,19 @@ var2 DB 2 ; WpMem - not exported, case sensitive! - SLOTSLOTDEVICEMMUPAGE <number> + SLOTSLOTDEVICEMMUPAGE <number_or_address> Work only in real device emulation mode. See DEVICE. - Set current slot. Slot's defined by MEMORYMAP pseudo-op. + Set current slot. Slots are defined by DEVICE pseudo-op. Use pseudo-op PAGE to change page in the current slot. + (since v1.18.1) You can also use starting address of particular slot instead + of its number, ie. for ZX128: SLOT $8000 is alias of SLOT 2 +