Commit Graph

83326 Commits

Author SHA1 Message Date
Brice Onken
4506cae8b1
machine/dp83932c.cpp: Support BE mode and transmission packet appending (#9910)
Added support for big endian bus accesses by adjusting the width of the bus access appropriately.  (In 32-bit mode, descriptors and the RBA must all be aligned to 32-bit boundaries, even when the values are only 16 bit, thus the previous method had issues on BE buses.  See pages 7 and 15 in the datasheet.)

Stop device from starting a second transaction task if one is already in progress.  The datasheet recommends that software which wants to append packets during a transmission send another transmission command to avoid a race condition, and it should do nothing if this command is received while the transfer is still ongoing.  NEWS-OS 4.2.1aRD is an example of software that does this.  It would hang on boot without this change because the SONIC would start doing weird things when the second transmit command came in.
2022-06-12 04:23:59 +10:00
Luca Elia
219d63bada
igs017.cpp, igs022.cpp: Improved protection and decryption; ,oved protection data to external files. (#9890)
* igs017.cpp: Improved protection and decryption [Luca Elia]
 - Implemented "magic" i/o as a memory map (IGS_MUX) for added flexibility
 - Hooked up IGS_INCDEC protection to cpoker2, tarzanc, spkrform, starzan
 - Implemented specific IGS_INC protection in cpoker2
 - Hooked up improved IGS022 protection to lhzb2, sqlz2
 - Added IGS025 string protection to lhzb2, lhzb2a, mgcs, spkrform, slqz2, starzan, tarzanc, tjsb
 - Palette scramble and tweaked tiles decryption in tarzanc (used also by starzan, happyskl, cpoker2)
 - Decrypted sprites in tarzanc and starzan (used also by happyskl)
 - Lamps and layout for starzan, happyskl, cpoker2
 - Cleaned up/finished hopper emulation, added diplocations
 - Joystick inputs in mgcs
 - Finished inputs in spkrform. Allow hiding gambling (switching to Formosa and back)
 - Moved protection data to external files

* igs022.cpp: Fixes for igs017.cpp games [Luca Elia, RockyWall]
 - Fixed initial auto-DMA mode
 - Enlarged internal RAM. Added stack
 - Fixed command 12: Copy -> Stack Push
 - Added command 45: Stack Pop
 - Fixed command 6d opcode 1: Add Imm -> Sub Values
 - Added command 6d opcode 0: Add Values
 - Extended logging

Machines promoted to working
----------------------------
Tarzan Chuang Tian Guan (China, V109C, set 1) [Luca Elia, iq_132, Ivan Vangelista, Guru, Dyq, bnathan]
Super Tarzan (Italy, V100I) [Luca Elia, iq_132, Ivan Vangelista, f205v, Mirko Buffoni]
Happy Skill (Italy, V611IT) [Luca Elia, Ivan Vangelista, Caius, The Dumping Union]
Champion Poker 2 (V100A) [Luca Elia, Ivan Vangelista, Jorge Silva, Fernando Oliveira]
Long Hu Zhengba 2 (China, set 1) [Luca Elia, RockyWall, David Haywood, iq_132, Pierpaolo Prazzoli, XingXing]
Shuang Long Qiang Zhu 2 VS (China, VS203J) [Luca Elia, RockyWall, David Haywood, iq_132, Pierpaolo Prazzoli, XingXing]

Clones promoted to working
--------------------------
Super Poker (V100xD03) / Formosa [Luca Elia, ANY]
2022-06-12 03:08:01 +10:00
0kmg
e22c748061
punchout.cpp: Correctly labeled service button and coin 2 inputs. (#9921) 2022-06-12 02:57:11 +10:00
npwoods
7f0905bec3
Changed the constructor of fs::dir_entry to take 'std::string &&name' instead of 'const std::string &name' (#9913) 2022-06-11 14:24:49 +02:00
Vas Crabb
f47f9c3db3
ui, docs: Added menus to fill a couple of gaps, improved consistency. (#9915)
Added menus for controlling toggle inputs, and showing recognised input
devices and control state.  Moved input menu options off main menu to a
submenu, as there are a lot of them now.

Moved menu heading drawing into base class, added headings to more
menus, and made headings more consistent with the menu items used to
reach them.  Also made terminology more consistent.

Changed the default names for buttons and hat switches/D-pads to use
1-based numbering.  DirectInput still returns 0-based button numbers for
some devices.

Removed local copy of MinGW xaudio2.h as it’s now included in the MSYS2
package.  Also fixed building the DirectSound sound output module with
the SDL OSD on Windows - the Windows headers are sensitive to include
order.

Started adding documentation for menus, to hopefully help people find
menus they remember seeing but can't recall how to access.

For translators, this makes terminology more consistent.  In particular:
* "Settings" is preferred over "configuration" in a number of places, as
  the latter can be construed as referring specifically to settings
  stored in .cfg files in the cfg_directory folder.  Also, references to
  saving machine configuration could be interpreted as relating to the
  settings on the "Machine Configuration" menu.
* The controls on host input devices (e.g. keys, buttons, joystick axes)
  are referred to as "controls", while emulated inputs are referred to
  as "inputs".
* The menus for assigning host controls to emulated inputs are called
  "input assignments" menus to distinguish them from other input
  settings menus.
* Combinations of controls that can be assigned to emulated inputs are
  referred to as "combinations" rather than "sequences".
* The potentially confusing term "ROM set" has been removed altogether.
  Use "short name" to refer to a device or system's identifier.
* "System" is used in almost places to refer to a complete, runnable
  system rather than "Machine".
* "Driver" is now only used to refer to source files where systems or
  devices are defined - it is no longer used to refer to individual
  systems.
* A few more menus have message context for the messages.  This makes it
  a bit easier to guess where the messages are used.  It also means you
  can use different translations in different places if necessary (e.g.
  if the same English text should be translated differently as an item
  in one menu and as a heading in another).
2022-06-11 21:47:19 +10:00
hap
5214d7f31c mess.lua: place hh_ collection drivers and their subclasses together 2022-06-11 11:22:23 +02:00
MASH
c4d26ca26d
Fixed Arcade build (#9912)
Added missing segafruit.cpp to Arcade build filter.
2022-06-10 20:26:40 +02:00
hap
f37ea30bfc rename headonb.cpp to efg8080.cpp 2022-06-10 20:25:59 +02:00
arbee
ccfbb57705 Add missing segafruit.cpp source file. [R. Belmont] 2022-06-10 11:24:33 -04:00
arbee
7534ecd5f6 New machines added as MACHINE_NOT_WORKING
-----------------------------------------
M3001 [Darksoft, Team Europe, R. Belmont]
M4001 [Darksoft, Team Europe, R. Belmont]
2022-06-10 11:22:47 -04:00
hap
33ec3778e6 breakout: improve cpanel in internal artwork, hide it by default 2022-06-10 17:19:31 +02:00
couriersud
1f3f5e0d57
netlist: fix bugs and more cpp instead of macros (#9897)
* netlist: fix bugs and more cpp instead of macros

- C-style comments converted to c++
- Fix crash in state saving code when an abort queue processing event
  is pending.
- Fix a bug where a net could be twice in the queue.
- Convert more macros to c++
- fixed SUBTARGET=nl build
- fixed potential bugs which would allow a terminal to belong to more
  than one net. This is not possible even for a short time.
- moved some member function definitions out-of-class.
- moved code out-of-class
- added constexpr where appropriate
- fixed mamenl build
- Cleanup and indentation
2022-06-10 16:11:21 +02:00
hap
63e595ae36 pong: remove obsolete external version 2022-06-10 15:27:19 +02:00
SomeRandomGuyIdk
445293464e
jpmsru.cpp: Added Lucky Casino. (#9864)
New machines marked as NOT_WORKING
------------------------
Lucky Casino (JPM) (SRU) (revision 8A)

New clones marked as NOT_WORKING
------------------------
Lucky Casino (JPM) (SRU) (revision 8, lower %)
2022-06-10 18:25:39 +10:00
cracyc
44c2dcc333 upd7220: reset pattern after figd 2022-06-09 16:01:04 -05:00
cracyc
fab82e4048 pwrview: display and sio wip 2022-06-09 12:58:39 -05:00
Robbbert
6e1ea31cc3 Fixed MESS build. 2022-06-10 00:39:17 +10:00
Robbbert
4b2e9a6fd0 mbeett: machine has recently regressed, can't see why, so marked as MNW. 2022-06-10 00:06:22 +10:00
Robbbert
d98c7ff663 mbee: fixed unwanted L chrs for mbee -bios 1 2022-06-09 23:59:06 +10:00
Olivier Galibert
df182a28b9 Cleanup of the source files lists for src/mame:
- Every file in src/mame/{includes,drivers,audio,machine} with the
  exception of konamiic.txt has to appear in one and only one of the
  projects of arcade.lua or mess.lua (ignoring mameshared)

- Files in mameshared must exist in mame.lua
2022-06-09 15:02:29 +02:00
Tony Konzel
21cf4d3cd4
sound/k054539.cpp: Fixed DPCM table, and added cubic interpolation. (#9778)
Using powers of 2 rather than squares for the DPCM table fixes DC offsets for 4-bit sample playback.
2022-06-09 22:05:08 +10:00
hap
a0f069a766 cclimber: update yamato notes 2022-06-09 14:01:16 +02:00
Olivier Galibert
0396da946e Remove currently shelved uncompiled experiment 2022-06-09 12:06:08 +02:00
hap
a2c4f690ea mame/includes: remove 2 files i forgot to delete ages ago 2022-06-09 11:24:22 +02:00
arbee
0bf3e133ee New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Blicks [Darksoft, Team Europe, R. Belmont]
2022-06-08 23:05:32 -04:00
hap
0dc4edd4e1 audio/cclimber: assert on rom region size 2022-06-09 01:00:39 +02:00
hap
3e4d77b937 audio/cclimber: use a timer+dac instead of MAME samples, add support for looping 2022-06-09 00:22:56 +02:00
hap
1fc3a3ff10 toprollr: correct playfield visible area 2022-06-09 00:22:56 +02:00
MooglyGuy
c046ba26c0
cpu/dps56156, plygonet.cpp: DSP56156 fixes and plygonet.cpp cleanup: (#9894) [Ryan Holtz]
* cpu/dsp56156: Fixed ANDI, fixed BFCLR errata, fixed DEC24 not affecting flags.
* cpu/dsp56156: Added proper devcb_write16 for Port C output.
* plygonet.cpp: Fixed banking and tightened up VRAM access.
* plygonet.cpp: Account for endianness in tilemap accesses.
* plygonet.cpp: Switched to logmacro, merged into one file, and general code cleanup.
2022-06-09 03:26:49 +10:00
Olivier Galibert
4fdaa5733a How did the CI manage to compile already? 2022-06-08 18:50:21 +02:00
Olivier Galibert
673dc793b1 Remove header file that doesn't exist anymore from tiny.lua and ci.lua 2022-06-08 18:44:34 +02:00
ArcadeShadow
f610ada74f
ibm5170.xml: 18 new software additions (#9891)
* ibm5170.xml: 18 new software additions

New working software list additions
-----------------------------------
Alone in the Dark (France, newer) [abandonware-france.org]
Commander Keen in Secret of the Oracle (shareware) [bpc908, archive.org]
Duke Nukem II (shareware, $5 Computer Store - Wiz Technology release) [bpc908, archive.org]
Gunship 2000 (3.5" HD, v469.0605) [ibmpc5150, archive.org]
Gunship 2000 (3.5" DD, v469.03) [ibmpc5150, archive.org]
Gunship 2000 (5.25" HD, v469.03) [ibmpc5150, archive.org]
Gunship 2000 (5.25" HD, v469.02) [ibmpc5150, archive.org]
Hired Guns [The Good Old Days]
Microsoft Arcade [The Good Old Days]
Microsoft Entertainment Pack [The Good Old Days]
Microsoft Entertainment Pack 2 [The Good Old Days]
Microsoft Entertainment Pack 3 [The Good Old Days]
Microsoft Entertainment Pack 4 [The Good Old Days]
Microsoft Entertainment Pack 4 (alt) [The Good Old Days]
Microsoft Flight Simulator 5.0 [The Good Old Days]
Mike Ditka Ultimate Football [The Good Old Days]
Retro City Rampage: 486 [The Good Old Days]
The Beverly Hillbillies [The Good Old Days]
2022-06-08 11:03:40 -04:00
Patrick Mackinlay
41d4860585 labtam: improve z80sbc interrupt handling and mapping logic 2022-06-08 14:32:51 +07:00
Patrick Mackinlay
c0d3d39224 labtam: improve vducom palette handling and font decode 2022-06-08 14:28:49 +07:00
Patrick Mackinlay
9a8885634a z80dma: ensure dma is stopped after most commands 2022-06-08 14:26:11 +07:00
Patrick Mackinlay
b9658c3eb5 am9519: interrupt requests are latched 2022-06-08 14:25:35 +07:00
Miodrag Milanovic
dc727261d9 20pacgal: fixed regression, by connecting cts signal 2022-06-08 08:15:14 +02:00
Miodrag Milanovic
a047d1efc2 rc2014: enable user to start from empty backplane configuration 2022-06-08 07:55:14 +02:00
arbee
52e0f9a5e5 mac.cpp: fix save states for all Mac II and LC series models. [R. Belmont] 2022-06-07 23:18:47 -04:00
arbee
697e50acd9 maciivx/maciivi: Properly draw all supported video modes from 1 to 16 bpp. [R. Belmont] 2022-06-07 23:06:27 -04:00
hap
7994bfbffa toprollr: correct samples base pitch 2022-06-08 02:12:51 +02:00
hap
f67daff909 toprollr: assume coin3 is service coin (unlike coin1/coin2, makes no sound effect) 2022-06-08 00:34:58 +02:00
hap
74ba26ab91 toprollr: replace rom 15.h4 with a redump from July 2001 [Lee Taylor] 2022-06-07 23:39:57 +02:00
hap
27442a30b0 toprollr: fix textlayer color problem 2022-06-07 22:06:57 +02:00
Chris Swan
ec974d32e8
bus/rc2014/edge.cpp: Fix typos in comments
bus/rc2014/edge.cpp: Fix typos in comments
2022-06-07 20:19:52 +02:00
Robbbert
64e0dd3b0b Fixes for ph_04 and sis630. 2022-06-07 19:01:14 +10:00
Vas Crabb
4ceb6a873c 8080bw.cpp: Fixed galwars port 0 - it requires a fixed value. 2022-06-07 14:48:02 +10:00
Ivan Vangelista
9b4c5e3d4a New working clones
------------------
unknown 'Pac Man with cars' gambling game [Jorge Silva]
2022-06-07 06:16:02 +02:00
Ivan Vangelista
eb8d96142c New working machines
--------------------
Ganbare Goemon [Jingleboy, Fluvian]
2022-06-07 04:56:03 +02:00
Ivan Vangelista
d689cb75ef New machines marked as NOT_WORKING
----------------------------------
Phantom Haus (0.4) [Flipprojets.fr, PinMAME]

New clones marked as NOT_WORKING
--------------------------------
World Cup Soccer (Lx-1) [inkochnito, PinMAME]
2022-06-07 04:28:54 +02:00