From b95fb0789b334fd3345d30abee7c595e293aa1b4 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 24 Jun 2024 03:36:11 +1000 Subject: -cpu/m6805/m68hc05e1.cpp: Added missing header with inline function definitions to fix link errors. -scripts/minimaws: Fixed deprecation warning in Python 3.11 (cgi module deprecated). --- scripts/minimaws/lib/wsgiserve.py | 8 ++++---- src/devices/cpu/m6805/m68hc05e1.cpp | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/minimaws/lib/wsgiserve.py b/scripts/minimaws/lib/wsgiserve.py index 1158528d954..28afa75d1f2 100644 --- a/scripts/minimaws/lib/wsgiserve.py +++ b/scripts/minimaws/lib/wsgiserve.py @@ -6,7 +6,6 @@ from . import dbaccess from . import htmltmpl -import cgi import inspect import json import mimetypes @@ -16,11 +15,12 @@ import sys import urllib import wsgiref.util -if hasattr(cgi, 'escape'): - htmlescape = cgi.escape -else: +try: import html htmlescape = html.escape +except ImportError: + import cgi + htmlescape = cgi.escape try: import urllib.parse as urlparse diff --git a/src/devices/cpu/m6805/m68hc05e1.cpp b/src/devices/cpu/m6805/m68hc05e1.cpp index 75105f54bf0..b4a220c0d08 100644 --- a/src/devices/cpu/m6805/m68hc05e1.cpp +++ b/src/devices/cpu/m6805/m68hc05e1.cpp @@ -6,6 +6,7 @@ #include "emu.h" #include "m68hc05e1.h" +#include "m6805defs.h" #include "6805dasm.h" #define VERBOSE (0) -- cgit v1.2.3 From bb6daaea1051cead7ea7926eb3e7b35f17393f6f Mon Sep 17 00:00:00 2001 From: arbee Date: Sun, 23 Jun 2024 14:10:29 -0400 Subject: apple/egret.cpp: Don't try to pre-init the NVRAM if no save exists, this makes the IIsi unhappy. [R. Belmont] --- src/mame/apple/egret.cpp | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/src/mame/apple/egret.cpp b/src/mame/apple/egret.cpp index b076ba14ab2..bafc8a62faa 100644 --- a/src/mame/apple/egret.cpp +++ b/src/mame/apple/egret.cpp @@ -339,39 +339,7 @@ void egret_device::nvram_default() { memset(m_disk_pram, 0, 0x100); - LOGMASKED(LOG_PRAM, "PRAM reset to default"); - - // IIsi and IIvx both default PRAM to this, it seems a reasonable default for Egret systems - m_disk_pram[0x1] = 0x80; - m_disk_pram[0x2] = 0x4f; - m_disk_pram[0x3] = 0x48; - m_disk_pram[0x8] = 0x13; - m_disk_pram[0x9] = 0x88; - m_disk_pram[0xb] = 0x4c; - m_disk_pram[0xc] = 0x4e; - m_disk_pram[0xd] = 0x75; - m_disk_pram[0xe] = 0x4d; - m_disk_pram[0xf] = 0x63; - m_disk_pram[0x10] = 0xa8; - m_disk_pram[0x14] = 0xcc; - m_disk_pram[0x15] = 0x0a; - m_disk_pram[0x16] = 0xcc; - m_disk_pram[0x17] = 0x0a; - m_disk_pram[0x1d] = 0x02; - m_disk_pram[0x1e] = 0x63; - m_disk_pram[0x6f] = 0x28; - m_disk_pram[0x70] = 0x83; - m_disk_pram[0x71] = 0x26; - m_disk_pram[0x77] = 0x01; - m_disk_pram[0x78] = 0xff; - m_disk_pram[0x79] = 0xff; - m_disk_pram[0x7a] = 0xff; - m_disk_pram[0x7b] = 0xdf; - m_disk_pram[0x7d] = 0x09; - m_disk_pram[0xf3] = 0x12; - m_disk_pram[0xf9] = 0x01; - m_disk_pram[0xf3] = 0x12; - m_disk_pram[0xfb] = 0x8d; + LOGMASKED(LOG_PRAM, "PRAM cleared"); m_pram_loaded = false; } -- cgit v1.2.3 From b962c2d157c29718819a6ad1b0c50ac22ed60fbf Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 27 Jun 2024 05:31:14 +1000 Subject: Various fixes: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * challenge_gear_cart.xml: Use title from cartridge label, also shown on boot screen. * sgi_mips.xml: Marked NetBSD install media as unsupported as it can't be installed (doesn't recognise hard disk). * spectrum_cass.xml: Consistent description format for Bruxólico demos. * cpu/dsp56156, cpu/z80: Fixed prefix header inclusion (or lack thereof). * bandai/wswan.cpp: Marked Pocket Challenge V2 software list as original. * tomy/tomy_princ.cpp: Blank line between ROM definitions. --- hash/challenge_gear_cart.xml | 4 +-- hash/sgi_mips.xml | 54 +++++++++++++++++++-------------------- hash/spectrum_cass.xml | 4 +-- src/devices/cpu/dsp56156/inst.cpp | 7 +++-- src/devices/cpu/z80/z80ndasm.cpp | 1 + src/mame/bandai/wswan.cpp | 2 +- src/mame/tomy/tomy_princ.cpp | 1 + 7 files changed, 37 insertions(+), 36 deletions(-) diff --git a/hash/challenge_gear_cart.xml b/hash/challenge_gear_cart.xml index 0bc6ecec1a4..164920cd3c8 100644 --- a/hash/challenge_gear_cart.xml +++ b/hash/challenge_gear_cart.xml @@ -54,10 +54,10 @@ Extra: Nihon kaitaku no tabi Game (日本かいたくの旅ゲーム) - 6th Grade: Dance Battle + Challenge 6-nensei 2003 Benesse Corporation - + diff --git a/hash/sgi_mips.xml b/hash/sgi_mips.xml index 15ccbd7307b..78787dac49f 100644 --- a/hash/sgi_mips.xml +++ b/hash/sgi_mips.xml @@ -5826,7 +5826,7 @@ license:CC0-1.0 - + NetBSD 1.6.2 2004 The NetBSD Project @@ -5846,7 +5846,7 @@ license:CC0-1.0 - + NetBSD 2.0 2004 The NetBSD Project @@ -5866,7 +5866,7 @@ license:CC0-1.0 - + NetBSD 2.0.2 2005 The NetBSD Project @@ -5886,7 +5886,7 @@ license:CC0-1.0 - + NetBSD 2.1 2005 The NetBSD Project @@ -5906,7 +5906,7 @@ license:CC0-1.0 - + NetBSD 3.0 2005 The NetBSD Project @@ -5926,7 +5926,7 @@ license:CC0-1.0 - + NetBSD 3.0.1 2006 The NetBSD Project @@ -5946,7 +5946,7 @@ license:CC0-1.0 - + NetBSD 3.0.2 2006 The NetBSD Project @@ -5966,7 +5966,7 @@ license:CC0-1.0 - + NetBSD 3.1 2006 The NetBSD Project @@ -5986,7 +5986,7 @@ license:CC0-1.0 - + NetBSD 4.0 2007 The NetBSD Project @@ -6006,7 +6006,7 @@ license:CC0-1.0 - + NetBSD 4.0.1 2008 The NetBSD Project @@ -6026,7 +6026,7 @@ license:CC0-1.0 - + NetBSD 5.0 2009 The NetBSD Project @@ -6046,7 +6046,7 @@ license:CC0-1.0 - + NetBSD 5.0.1 2009 The NetBSD Project @@ -6066,7 +6066,7 @@ license:CC0-1.0 - + NetBSD 5.0.2 2010 The NetBSD Project @@ -6086,7 +6086,7 @@ license:CC0-1.0 - + NetBSD 5.1 2010 The NetBSD Project @@ -6106,7 +6106,7 @@ license:CC0-1.0 - + NetBSD 5.1.1 2012 The NetBSD Project @@ -6126,7 +6126,7 @@ license:CC0-1.0 - + NetBSD 5.1.2 2012 The NetBSD Project @@ -6146,7 +6146,7 @@ license:CC0-1.0 - + NetBSD 5.1.3 2013 The NetBSD Project @@ -6166,7 +6166,7 @@ license:CC0-1.0 - + NetBSD 5.1.4 2014 The NetBSD Project @@ -6186,7 +6186,7 @@ license:CC0-1.0 - + NetBSD 5.1.5 2014 The NetBSD Project @@ -6206,7 +6206,7 @@ license:CC0-1.0 - + NetBSD 5.2 2012 The NetBSD Project @@ -6226,7 +6226,7 @@ license:CC0-1.0 - + NetBSD 5.2.1 2013 The NetBSD Project @@ -6246,7 +6246,7 @@ license:CC0-1.0 - + NetBSD 5.2.2 2014 The NetBSD Project @@ -6266,7 +6266,7 @@ license:CC0-1.0 - + NetBSD 5.2.3 2014 The NetBSD Project @@ -6286,7 +6286,7 @@ license:CC0-1.0 - + NetBSD 6.0 2012 The NetBSD Project @@ -6306,7 +6306,7 @@ license:CC0-1.0 - + NetBSD 6.0.1 2012 The NetBSD Project @@ -6326,7 +6326,7 @@ license:CC0-1.0 - + NetBSD 6.0.2 2013 The NetBSD Project @@ -6346,7 +6346,7 @@ license:CC0-1.0 - + NetBSD 6.0.3 2013 The NetBSD Project diff --git a/hash/spectrum_cass.xml b/hash/spectrum_cass.xml index 5ddeddd6aa6..183a753d02f 100644 --- a/hash/spectrum_cass.xml +++ b/hash/spectrum_cass.xml @@ -54223,7 +54223,7 @@ Side B: Once Upon a Lily Pad - Bruxólico (demo 1.0, English) + Bruxólico (English, demo 1.0) 2022 Amaweks @@ -54235,7 +54235,7 @@ Side B: Once Upon a Lily Pad - Bruxólico (demo 1.0, Portuguese) + Bruxólico (Portuguese, demo 1.0) 2022 Amaweks diff --git a/src/devices/cpu/dsp56156/inst.cpp b/src/devices/cpu/dsp56156/inst.cpp index 339156aa35e..c091659ba67 100644 --- a/src/devices/cpu/dsp56156/inst.cpp +++ b/src/devices/cpu/dsp56156/inst.cpp @@ -2,10 +2,9 @@ // copyright-holders:Andrew Gardner #include "emu.h" #include "inst.h" -#include "emu.h" -namespace DSP_56156 -{ +namespace DSP_56156 { + // Factory std::unique_ptr Instruction::decodeInstruction(const Opcode* opc, const uint16_t word0, @@ -783,4 +782,4 @@ std::unique_ptr Instruction::decodeInstruction(const Opcode* opc, return nullptr; } -} +} // namespace DSP_56156 diff --git a/src/devices/cpu/z80/z80ndasm.cpp b/src/devices/cpu/z80/z80ndasm.cpp index 402a682c427..ccf5be7ef98 100644 --- a/src/devices/cpu/z80/z80ndasm.cpp +++ b/src/devices/cpu/z80/z80ndasm.cpp @@ -5,6 +5,7 @@ * *****************************************************************************/ +#include "emu.h" #include "z80ndasm.h" const z80_disassembler::z80dasm z80n_disassembler::mnemonic_ed_n[256] = diff --git a/src/mame/bandai/wswan.cpp b/src/mame/bandai/wswan.cpp index 4fb5fe4ae2a..d892621267c 100644 --- a/src/mame/bandai/wswan.cpp +++ b/src/mame/bandai/wswan.cpp @@ -321,7 +321,7 @@ void wswan_state::pockchv2(machine_config &config) wswan_base(config); // software lists - SOFTWARE_LIST(config, "pc2_list").set_compatible("pockchalv2"); + SOFTWARE_LIST(config, "pc2_list").set_original("pockchalv2"); } void wscolor_state::wscolor(machine_config &config) diff --git a/src/mame/tomy/tomy_princ.cpp b/src/mame/tomy/tomy_princ.cpp index c151c0af26b..4a753a3be36 100644 --- a/src/mame/tomy/tomy_princ.cpp +++ b/src/mame/tomy/tomy_princ.cpp @@ -1508,6 +1508,7 @@ ROM_START( princnt ) ROM_REGION( 0x100000, "maincpu", 0 ) ROM_LOAD("tc538000.u3", 0x00000, 0x100000, CRC(e4e2bfe9) SHA1(b3a7727544918b9030c362694ddf9a2fc3bca8b4)) ROM_END + ROM_START( princnt3 ) ROM_REGION( 0x100000, "maincpu", 0 ) ROM_LOAD("tc538000.3.u3", 0x00000, 0x100000, CRC(eed0a0f9) SHA1(c15b97c2c29b354136cef046f72a6443b415e673)) -- cgit v1.2.3 From 663abae07169276e6e10a2565dcfeee20d083256 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 28 Jun 2024 01:10:40 +1000 Subject: Bumped version to 0.267 --- android-project/app/src/main/AndroidManifest.xml | 4 ++-- docs/source/conf.py | 4 ++-- makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android-project/app/src/main/AndroidManifest.xml b/android-project/app/src/main/AndroidManifest.xml index 05ce70d1566..765e2a0788b 100644 --- a/android-project/app/src/main/AndroidManifest.xml +++ b/android-project/app/src/main/AndroidManifest.xml @@ -4,8 +4,8 @@ --> diff --git a/docs/source/conf.py b/docs/source/conf.py index 0b78ef7a53e..c498499145f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -63,9 +63,9 @@ copyright = u'1997-2024, MAMEdev and contributors' # built documents. # # The short X.Y version. -version = '0.266' +version = '0.267' # The full version, including alpha/beta/rc tags. -release = '0.266' +release = '0.267' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/makefile b/makefile index e15b8e42fe9..599df7935da 100644 --- a/makefile +++ b/makefile @@ -1578,7 +1578,7 @@ endif ifeq (posix,$(SHELLTYPE)) $(GENDIR)/version.cpp: makefile $(GENDIR)/git_desc | $(GEN_FOLDERS) - @echo '#define BARE_BUILD_VERSION "0.266"' > $@ + @echo '#define BARE_BUILD_VERSION "0.267"' > $@ @echo '#define BARE_VCS_REVISION "$(NEW_GIT_VERSION)"' >> $@ @echo 'extern const char bare_build_version[];' >> $@ @echo 'extern const char bare_vcs_revision[];' >> $@ @@ -1588,7 +1588,7 @@ $(GENDIR)/version.cpp: makefile $(GENDIR)/git_desc | $(GEN_FOLDERS) @echo 'const char build_version[] = BARE_BUILD_VERSION " (" BARE_VCS_REVISION ")";' >> $@ else $(GENDIR)/version.cpp: makefile $(GENDIR)/git_desc | $(GEN_FOLDERS) - @echo #define BARE_BUILD_VERSION "0.266" > $@ + @echo #define BARE_BUILD_VERSION "0.267" > $@ @echo #define BARE_VCS_REVISION "$(NEW_GIT_VERSION)" >> $@ @echo extern const char bare_build_version[]; >> $@ @echo extern const char bare_vcs_revision[]; >> $@ -- cgit v1.2.3