From cba80b7182897258080888387b7a38bdf6deac60 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 4 Jan 2019 01:12:02 +1100 Subject: Make informational verbs a bit more consistent, reduce copy/pasted code, a slight performance improvement for reading localisation files, and more documentation clean-up/correction/clarification --- docs/source/techspecs/layout_files.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/source/techspecs') diff --git a/docs/source/techspecs/layout_files.rst b/docs/source/techspecs/layout_files.rst index de9bdff916c..b12ad931df4 100644 --- a/docs/source/techspecs/layout_files.rst +++ b/docs/source/techspecs/layout_files.rst @@ -1090,9 +1090,9 @@ when parameters are used, or recursively nested groups. The ``complay.py`` script is compatible with both Python 2.7 and Python 3 interpreters. The ``complay.py`` script takes three parameters -- an input file name, an -output file name, and a base name for variables in the output:: +output file name, and a base name for variables in the output: - python scripts/build/complay.py input [output [varname]] + **python scripts/build/complay.py** ** [** [**]] The input file name is required. If no output file name is supplied, ``complay.py`` will parse and check the input, reporting any errors found, @@ -1104,6 +1104,6 @@ in case of an I/O error. If an output file name is specified, the file will be created/overwritten on success or removed on failure. To check a layout file for common errors, run the script with the path to the -file no check and no output file name or base variable name. For example:: +file no check and no output file name or base variable name. For example: - python scripts/build/complay.py artwork/dino/default.lay + **python scripts/build/complay.py artwork/dino/default.lay** -- cgit v1.2.3-70-g09d2 From a5461d9d6bf214cb5e348c892c72f528a7d237b9 Mon Sep 17 00:00:00 2001 From: Stiletto Date: Thu, 10 Jan 2019 17:01:26 -0500 Subject: 2018 -> 2019 changes (nw) * 2018 -> 2019 changes (nw) --- LICENSE.md | 2 +- README.md | 2 +- docs/source/license.rst | 2 +- docs/source/techspecs/luaengine.rst | 4 ++-- docs/source/whatis.rst | 2 +- src/lib/netlist/prg/nltool.cpp | 2 +- src/lib/netlist/prg/nlwav.cpp | 2 +- src/osd/modules/render/bgfx/shaders/shader.mk | 2 +- uismall.bdf | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/source/techspecs') diff --git a/LICENSE.md b/LICENSE.md index c1add6e5bca..b039d9596fd 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -4,7 +4,7 @@ MAME is a registered trademark of Gregory Ember. The text of version 2 of the GNU General Public License follows. - Copyright (C) 1997-2017 MAMEDev and contributors + Copyright (C) 1997-2019 MAMEDev and contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/README.md b/README.md index 22d62f68ace..100fe401a78 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ Please note that MAME is a registered trademark of Gregory Ember, and permission - Copyright (C) 1997-2018 MAMEDev and contributors + Copyright (C) 1997-2019 MAMEDev and contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/docs/source/license.rst b/docs/source/license.rst index 9e61b9ca349..db2eb2f41d0 100644 --- a/docs/source/license.rst +++ b/docs/source/license.rst @@ -6,7 +6,7 @@ The MAME project as a whole is distributed under the terms of the `GNU General P Please note that MAME is a registered trademark of Gregory Ember, and permission is required to use the "MAME" name, logo, or wordmark. - Copyright (C) 1997-2018 MAMEDev and contributors + Copyright (C) 1997-2019 MAMEDev and contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/docs/source/techspecs/luaengine.rst b/docs/source/techspecs/luaengine.rst index fa1c04cdb10..26d6da6a253 100644 --- a/docs/source/techspecs/luaengine.rst +++ b/docs/source/techspecs/luaengine.rst @@ -53,7 +53,7 @@ Let's first run MAME in a terminal to reach the LUA console: _/ _/ _/ _/_/_/_/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ - mame v0.195 + mame v0.205 Copyright (C) Nicola Salmoria and the MAME team Lua 5.3 @@ -77,7 +77,7 @@ You can check at runtime which version of MAME you are running, with: :: [MAME]> print(emu.app_name() .. " " .. emu.app_version()) - mame 0.195 + mame 0.205 We now start exploring screen related methods. First, let's enumerate available screens: diff --git a/docs/source/whatis.rst b/docs/source/whatis.rst index fb5dffe497b..51f9d244226 100644 --- a/docs/source/whatis.rst +++ b/docs/source/whatis.rst @@ -7,7 +7,7 @@ MAME's purpose is to preserve decades of software history. As electronic technol | | **MAME®** -| **Copyright © 1997-2018 by Nicola Salmoria and the MAME team** +| **Copyright © 1997-2019 by Nicola Salmoria and the MAME team** | **MAME is a registered trademark owned by Gregory Ember** | diff --git a/src/lib/netlist/prg/nltool.cpp b/src/lib/netlist/prg/nltool.cpp index 4395bd3bd17..ef45195ce67 100644 --- a/src/lib/netlist/prg/nltool.cpp +++ b/src/lib/netlist/prg/nltool.cpp @@ -696,7 +696,7 @@ int tool_app_t::execute() { pout( "nltool (netlist) 0.1\n" - "Copyright (C) 2018 Couriersud\n" + "Copyright (C) 2019 Couriersud\n" "License GPLv2+: GNU GPL version 2 or later .\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n\n" diff --git a/src/lib/netlist/prg/nlwav.cpp b/src/lib/netlist/prg/nlwav.cpp index a1f14692364..17d385f2c1a 100644 --- a/src/lib/netlist/prg/nlwav.cpp +++ b/src/lib/netlist/prg/nlwav.cpp @@ -379,7 +379,7 @@ int nlwav_app::execute() { pout( "nlwav (netlist) 0.1\n" - "Copyright (C) 2018 Couriersud\n" + "Copyright (C) 2019 Couriersud\n" "License GPLv2+: GNU GPL version 2 or later .\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n\n" diff --git a/src/osd/modules/render/bgfx/shaders/shader.mk b/src/osd/modules/render/bgfx/shaders/shader.mk index 84035e255fa..e7db3cdc242 100644 --- a/src/osd/modules/render/bgfx/shaders/shader.mk +++ b/src/osd/modules/render/bgfx/shaders/shader.mk @@ -1,5 +1,5 @@ # -# Copyright 2011-2018 Branimir Karadzic. All rights reserved. +# Copyright 2011-2019 Branimir Karadzic. All rights reserved. # License: http://www.opensource.org/licenses/BSD-2-Clause # diff --git a/uismall.bdf b/uismall.bdf index 3a62b0b9987..7897c0ae6c5 100644 --- a/uismall.bdf +++ b/uismall.bdf @@ -1,5 +1,5 @@ STARTFONT 2.1 -COMMENT Copyright (C) 1997-2018 MAMEDev and contributors +COMMENT Copyright (C) 1997-2019 MAMEDev and contributors FONT -mamedev-uismall-Medium-R-Normal--16-120-96-96-P-100-ISO10646-1 SIZE 12 96 96 FONTBOUNDINGBOX 8 11 0 -2 -- cgit v1.2.3-70-g09d2 From e65f6d75e1a135e796a123d6a0c5e06291cfcb9a Mon Sep 17 00:00:00 2001 From: cam900 Date: Sun, 17 Feb 2019 18:59:50 +0900 Subject: device_memory_interface.rst : Correct docs --- docs/source/techspecs/device_memory_interface.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/source/techspecs') diff --git a/docs/source/techspecs/device_memory_interface.rst b/docs/source/techspecs/device_memory_interface.rst index f35a1887cee..4efa6a75234 100644 --- a/docs/source/techspecs/device_memory_interface.rst +++ b/docs/source/techspecs/device_memory_interface.rst @@ -70,7 +70,7 @@ Associating maps to spaces is done at the machine config level, after the device | **MCFG_DEVICE_PROGRAM_MAP**\ (_map) | **MCFG_DEVICE_DATA_MAP**\ (_map) | **MCFG_DEVICE_IO_MAP**\ (_map) -| **MCFG_DEVICE_DECRYPTED_OPCODES_MAP**\ (_map) +| **MCFG_DEVICE_OPCODES_MAP**\ (_map) The generic macro and the four specific ones associate a map to a given space. Address maps associated to non-existing spaces are -- cgit v1.2.3-70-g09d2 From cdde287597f73b77606642f95af657f5e832182c Mon Sep 17 00:00:00 2001 From: hap Date: Sun, 24 Mar 2019 23:30:02 +0100 Subject: layout doc: correction and add inputraw (this one actually does work the way inputmask was documented before) (nw) --- docs/source/techspecs/layout_files.rst | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'docs/source/techspecs') diff --git a/docs/source/techspecs/layout_files.rst b/docs/source/techspecs/layout_files.rst index b12ad931df4..cc85a923caa 100644 --- a/docs/source/techspecs/layout_files.rst +++ b/docs/source/techspecs/layout_files.rst @@ -768,12 +768,15 @@ how digital displays may be connected to emulated outputs:: If an element instantiating a layout element has ``inputtag`` and ``inputmask`` attributes but lacks a ``name`` attribute, it will take its state from the value -of the corresponding I/O port, masked with the ``inputmask`` value, and shifted -to the right so that the least significant one bit of the mask aligns with the -least significant bit of the value (for example a mask of 0x05 will result in no -shift, while a mask of 0xb0 will result in the value being shifted four bits to -the right). This is often used to allow clickable buttons and toggle switches -to provide visible feedback. +of the corresponding I/O port, masked with the ``inputmask`` value and XORed +with the I/O port default field value. The latter is useful for inputs that are +active-low. If the result is non-zero, the state is 1, otherwise it's 0. This +is often used to allow clickable buttons and toggle switches to provide visible +feedback. By using ``inputraw="1"``, it's possible to obtain the raw data from +the I/O port, masked with the ``inputmask`` and shifted to the right so that the +least significant one bit of the mask aligns with the least significant bit of +the value (for example a mask of 0x05 will result in no shift, while a mask of +0xb0 will result in the value being shifted four bits to the right). When handling mouse input, MAME treats all layout elements as being rectangular, and only activates the frontmost element whose area includes the location of the -- cgit v1.2.3-70-g09d2 From 2b53b22bb58cb53215c041013947265108c5e200 Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 25 Mar 2019 13:04:15 +0100 Subject: layout doc: reword (nw) --- docs/source/techspecs/layout_files.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'docs/source/techspecs') diff --git a/docs/source/techspecs/layout_files.rst b/docs/source/techspecs/layout_files.rst index cc85a923caa..10467a8d0e9 100644 --- a/docs/source/techspecs/layout_files.rst +++ b/docs/source/techspecs/layout_files.rst @@ -32,7 +32,7 @@ There are two kinds of numbers in MAME layouts: integers and floating-point numbers. Integers may be supplied in decimal or hexadecimal notation. A decimal integer -consists of and optional # (hash) prefix, an optional +/- (plus or minus) sign +consists of an optional # (hash) prefix, an optional +/- (plus or minus) sign character, and a sequence of digits 0-9. A hexadecimal number consists of one of the prefixes $ (dollar sign) or 0x (zero ex) followed by a sequence of hexadecimal digits 0-9 and A-F. Hexadecimal numbers are case-insensitive for @@ -773,10 +773,9 @@ with the I/O port default field value. The latter is useful for inputs that are active-low. If the result is non-zero, the state is 1, otherwise it's 0. This is often used to allow clickable buttons and toggle switches to provide visible feedback. By using ``inputraw="1"``, it's possible to obtain the raw data from -the I/O port, masked with the ``inputmask`` and shifted to the right so that the -least significant one bit of the mask aligns with the least significant bit of -the value (for example a mask of 0x05 will result in no shift, while a mask of -0xb0 will result in the value being shifted four bits to the right). +the I/O port, masked with the ``inputmask`` value and shifted to the right to +remove trailing zeroes (for example a mask of 0x05 will result in no shift, while +a mask of 0xb0 will result in the value being shifted four bits to the right). When handling mouse input, MAME treats all layout elements as being rectangular, and only activates the frontmost element whose area includes the location of the -- cgit v1.2.3-70-g09d2