Commit Graph

69780 Commits

Author SHA1 Message Date
Vas Crabb
9efc500cc0 add <cassert,map,memory,string> for completeness, even though it will arrive some other way (nw) 2019-11-21 03:53:50 +11:00
Vas Crabb
477081964c fix clang build (nw) 2019-11-21 03:51:29 +11:00
Vas Crabb
6c61aa61d2 UI input mapping menu updates:
* When a switch-type input is selected, show feedback when it's pressed
* If an invalid code is entered (e.g. only negatives) abandon the change rather than cycling default/none
* If an invalid code is entered display a message until the user takes some other action

input.cpp updates:
* constexpr crusade on input_code and input_seq and some very slight optimisation to input_seq
* seq_poll* is a frontend function and had no business being in the core, so it's a utility class now
* seq_poll* now exposes a bit more detail, enabling improved interaction on the UI inputs menu
* global state is reduced a little, but the poll_* functions are still members of the input manager with global state

(nw) The Lua engine has been updated in a way that maintains source compatibility with existing Lua
scripts.  This is less than ideal, but it minimises impact.  Ideally someone (possibly me) will be
able to expose the input sequence poller helper properly.  I tested the changes with the cheat and
autofire plugins and I was able to assign sequences.  However I found two issues: it's seems
impossible to assign a more complex sequence than a single key/button in the autofire plugin (i.e.
no AND or NOT conditions, I confirmed this is pre-existing, not a regression), and in both the cheat
and autofire plugins I found it a bit unwieldy trying to enter a complex sequence without live
feedback of the sequence as it's built (this was also applicable to MAME's own input mapping menu
until I added the live display yesterday).
2019-11-21 03:36:19 +11:00
AJR
f5d23f7036 gkidabc.cpp: Another note (nw) 2019-11-20 11:12:36 -05:00
cam900
ab67769285 mb8421.cpp : Support variable size and data width, Use template for base device, Add notes (#5929)
* mb8421.cpp : Support variable size and data width, Reduce duplicate, Add notes
twinkle.cpp, firebeat.cpp : Device-fied CY7C131 Dual port SRAM, Add notes
esqmr.cpp : Add IDT7130 Dual port SRAM placeholder, Add notes

* esqmr.cpp : Fix spacing

* mb8421.cpp : Fix data width behavior

* mb8421.cpp : Forgot this

* mb8421.cpp : Fix spacing

* mb8421.cpp : Use const in initializers, Fix class name related to support more similar DPRAMs in future
, Add notes, Remove internal helpers

* mb8421.cpp : Re-add masking

* mb8421.cpp : Fix notes

* mb8421.cpp : Fix manufacturer tags, Add notes

* mb8421.cpp : Fix ram size argument behavior, Add notes

* mb8421.cpp : Use template for base device, Fix build

* mb8421.cpp : Use template and static constexprs for RAM defines

* mb8421.cpp : Use extern template, Fix build, RAM size
2019-11-21 02:59:18 +11:00
Robbbert
fc0de7cfce (nw) fixed some tabs 2019-11-21 00:49:44 +11:00
couriersud
cdfe37d955 sliders.cpp: Support PORT_CONDITION for PORT_ADJUSTER [Couriersud]
PORT_CONDITION can now enabled/disabled the display of PORT_ADJUSTER
sliders in the UI, i.e.

PORT_START("SOMEPORT")
PORT_ADJUSTER(...) PORT_CONDITION("OTHERPORT", ...)
2019-11-20 11:05:17 +01:00
angelosa
fd96868a55 x1.cpp: improve QA notes, improve palette hooks for turboz (nw) 2019-11-20 10:53:39 +01:00
Vas Crabb
92436f623b metro.cpp: add kana in handwritten labels for metabee (nw) 2019-11-20 18:08:51 +11:00
Ivan Vangelista
3732d56274 metro.cpp: address comments about ROM labels for metabee (nw) 2019-11-20 07:37:01 +01:00
AJR
0ae401849e ddz.cpp: Make this driver no more broken than it was before (nw) 2019-11-19 18:18:34 -05:00
hap
cebf8fc2d2 mephisto_modular: added older version of berl16 [CB-Emu] 2019-11-19 21:12:30 +01:00
David Haywood
c88b59f0cf vt1682.cpp - (plug & play) x/y scroll support (#5930)
* fix encoding (nw)

* reduce intendtation (nw)

* shuffle (nw)

* (nw)

* shuffle (nw)

* shiffle (nw)

* shuffle (nw)

* more refactor (nw)

* refactor (nw)

* refactor (nw)

* x scroll support (nw)

* scroll support (nw)
2019-11-19 15:09:36 -05:00
Vas Crabb
e87447e37d UI: when modifying an input mapping, only cycle default/none if UI_CANCEL is the first thing pressed
(nw) It's annoying that if you accidentally start to change an input, there's no way to
back out at all.  You need to press something before it will do anything.  Also, if you
go to add an additional "or" combination and press the wrong thing, you can't back out
just the change - hitting UI_CANCEL takes you back to the default.  This at least
partially addresses it: if you hit UI_SELECT to modify an input then hit UI_CANCEL
immediately, it will cycle default/none; however if you press any other input first and
then hit UI_CANCEL, it will just back out the change.  The implementation is a bit
whacky at the moment, but doing better would require another emu.h change which I don't
want to do right now.
2019-11-20 03:55:28 +11:00
Vas Crabb
593b3d9fe1 simplest change possible to fix display of codes starting with 'not' - e.g. this fixes 'not A S' being displayed as 'A S' 2019-11-20 03:43:57 +11:00
Vas Crabb
228540e279 restore code cleaning behaviour prior to ae2cc6853d - it's broken in some corner cases but the regressions are fixed 2019-11-20 02:54:59 +11:00
Ivan Vangelista
bdaaa0a558 New machines marked as NOT_WORKING
------------------------------------------
Fishing Master  [SpinalFeyd, The Dumping Union]
Metabee Shot [SpinalFeyd, The Dumping Union]

New clones marked as NOT_WORKING
--------------------------------
Oba-Oba (old hardware) [PinMAME]
Space Train (Pinball, old hardware) [PinMAME]
2019-11-19 16:41:48 +01:00
Vas Crabb
e37b159997 UI show feedback when configuring an input to give the user more of an idea of what's going on 2019-11-20 02:07:56 +11:00
AJR
30d5040d36 gkidabc: Further note (nw) 2019-11-19 10:03:31 -05:00
David Haywood
48e5b2eed1 vt1682.cpp - (plug & play) preliminary sound support (#5928)
* page logic (nw)

* misc (nw)

* timer prep (nw)

* dac prep (nw)

* add some (not perfect) sound (nw)

* srcclean (nw)
2019-11-19 09:54:51 -05:00
ajrhacker
5434d49cd3
Merge pull request #5927 from JoakimLarsson/epcisworking
eispc.cpp, mda.cpp: epc LPT device properly installed and is promoted to working
2019-11-19 09:45:36 -05:00
Roberto Fresca
d58af5f9d5 Fixed the pinout diagram... (nw) 2019-11-19 14:52:57 +01:00
Joakim Larsson Edstrom
98f4c0e063 eispc.cpp, mda.cpp: epc LPT device properly installed and is promoted to working 2019-11-19 13:05:54 +01:00
Ivan Vangelista
6dc3680652 flstory.cpp: dumped m68705 MCU for victnine [brizzo, ShouTime, Lord Nightmare]
(nw) not hooked up
2019-11-19 07:02:42 +01:00
David Haywood
0f8da9d530 vt1682.cpp : map some controls, which work for the 32-in-1 (#5922)
* reference table (nw)

* move some machine specific stuff into different class (nw)

* put things behind log macros (nw)

* add in some controls, that work for the 32-in-1 at least (nw)

* note (nw)

* hide excessive logging (nw)

* dma fix for tetris (nw)

* alu work (nw)
2019-11-18 22:41:30 -05:00
braintro
a1653b5e9d (nw) zn.cpp: More accurate ROM label for NBA Jam Extreme V1.04 2019-11-18 21:19:03 -06:00
Vas Crabb
b8e1ba0cbb misc cleanup: (nw)
* clean up some palettes
* clean up some bitscanning and indentation in olibuchu
* rename machine/epos.cpp to machine/pacman.cpp as it's unrelated to drivers/epos.cpp
* move epos-on-pacman members from pacman_state to derived epospm_state
2019-11-19 13:34:49 +11:00
MetalliC
62be5492ce new working clones
------------------
JoJo's Venture (Euro 990128) [Darksoft]
JoJo's Venture (Euro 990108) [Darksoft]
JoJo's Venture (Euro 981202) [Darksoft]
2019-11-18 23:44:04 +02:00
Joakim Larsson Edström
c449662983
Merge pull request #5920 from JoakimLarsson/nobaudoutpin
ins8250: reverted BAUDOUT pin support and documented findings in eispc.cpp
2019-11-18 20:25:29 +01:00
Joakim Larsson Edstrom
36753f6823 ins8250: reverted BAUDOUT pin support and documented findings in eispc.cpp 2019-11-18 20:19:07 +01:00
David Haywood
a6ef1e7558 vt1682.cpp - (Plug and Play) get some sprites displayed (#5919)
* enable sprite dma, refactor a little (nw)

* (nw)

* refactor (nw)

* refactor (nw)

* sprite work (nw)

* misc work (nw)

* xflip (nw)
2019-11-18 12:29:08 -05:00
mooglyguy
b54cb1804b -sun4c_mmu.cpp: Made generic to support sun4 MMU mode, and cleaned up save state usage. [Ryan Holtz]
-sun4.cpp: Various changes: [Ryan Holtz]
 * Split sun4 and sun4c hardware emulation into separate derived classes.
 * Hooked up Sbus IRQs.
 * Removed now-unnecessary duplicate MMU code.

-cgsix.cpp: Added VSync IRQ, cleaned up save state usage, and added THC MISC register. [Ryan Holtz]

-sparc.cpp: Renamed MB86901 to SPARCV7, and added a separate class for SPARCV8. [Ryan Holtz]

-bt45x.cpp: Made logmacro.h usage more consistent. [Ryan Holtz]
2019-11-18 17:31:09 +01:00
MooglyGuy
0a0d0fd9b0 -save: Print the name of non-fundamental save_items when fatalerroring, for easier debugging. nw 2019-11-18 17:31:08 +01:00
Vas Crabb
a0d110e5f6 ioport.cpp: small cleanup (nw) 2019-11-19 01:33:46 +11:00
hap
3897ad7519 coolridr: forgot to remove todo note (nw) 2019-11-18 14:42:40 +01:00
Patrick Mackinlay
3ca44c7df1 forgot this (nw) 2019-11-18 20:39:49 +07:00
AJR
aec8b78561 New machines marked as NOT_WORKING
----------------------------------
Mis Primeras Lecciones (Spain) [ClawGrip]
2019-11-18 07:59:45 -05:00
AJR
5b6015e297 Build fix and housekeeping (nw) 2019-11-18 07:55:43 -05:00
Patrick Mackinlay
dda9786a74 New machines marked as NOT_WORKING
----------------------------------
Silicon Graphics 4D/30 [Patrick Mackinlay]
Silicon Graphics 4D/35 [Patrick Mackinlay]
2019-11-18 19:17:49 +07:00
Patrick Mackinlay
f821d80e01 dsp56000: new disassembler 2019-11-18 18:15:09 +07:00
Vas Crabb
5e8dad836a UI: if panel is collapsed while focused, return focus to systems/software 2019-11-18 21:36:47 +11:00
Vas Crabb
bc4906f991 UI updates:
* Hook up focus next/focus prev on system/software selection menus (Tab and LShift-Tab, respectively by default)
* Allow joystick buttons to be used to change focus on system/software selection menus
* Fixed bug that allowed focus to move to hidden panels

(nw) Second attempt at doing this, and it worked fine.  Must've been in bad mental health when I tried and failed to do this back in May
2019-11-18 21:11:00 +11:00
Vas Crabb
f1c02b33e1 fix option conflict (nw) 2019-11-18 19:24:14 +11:00
Vas Crabb
080d711ac5 Make debugger view startup more efficient - it's still not going to be practical with 200k save items, but it's better than before 2019-11-18 19:14:31 +11:00
arbee
a829064e83 apple2gs: Music Construction Set depends on an implementation detail of LC inhibit in bank 01 [Peter Ferrie, R. Belmont] 2019-11-17 23:36:58 -05:00
AJR
1440dd0f11 ps2.cpp: Correct region widths and some CPU typs and system descriptions (nw)
The sets here are also no longer listed as clones of ibm5170, only as compatible with it.
2019-11-17 23:01:33 -05:00
arbee
2d4996a21e SDL: recognize GUIDs for joysticks, allows stable input ID mapping [R. Belmont] 2019-11-17 22:30:25 -05:00
AJR
e79c2337b4 vcombat: Fix region widths (nw)
The samples might need to be flipped back again, but they sound all right this way, at least on vcombat.
2019-11-17 22:26:45 -05:00
AJR
efa99030c4 blitz68k.cpp: Fix region width (nw) 2019-11-17 22:15:41 -05:00
cracyc
99a628eb7c plugins/cheatfind: pull https://github.com/mamedev/mame/pull/4618 with some simplifications and bugfixes (nw) 2019-11-17 21:12:41 -06:00