Commit Graph

12092 Commits

Author SHA1 Message Date
Miodrag Milanovic
d705e4a28d ioport tagged_list to unordered_map (nw) 2016-06-18 15:32:15 +02:00
Miodrag Milanovic
cb9d158d57 proper exception handling (nw) 2016-06-18 15:32:15 +02:00
Miodrag Milanovic
a07b82ac11 tagged_list to unordered_map for slots (nw) 2016-06-18 15:32:15 +02:00
Miodrag Milanovic
62805f7cac no need for custom allocators (nw) 2016-06-18 15:32:15 +02:00
hap
a205b38cf6 Merge pull request #962 from ajrhacker/addrvalid
Validity checking for AM_MASK/AM_MIRROR/AM_SELECT, based on OG's rece…
2016-06-17 21:10:55 +02:00
R. Belmont
11ed715659 Merge pull request #955 from belegdol/master
Made the way jpeglib.h is included more pretty
2016-06-17 14:26:57 -04:00
AJR
0d6f7bc4b0 Validity checking for AM_MASK/AM_MIRROR/AM_SELECT, based on OG's recent restrictions (nw)
- Update address maps so all drivers pass checks
- Comment out some irregularly-patterned mirrors on RAM areas (needs better solution)
2016-06-17 14:05:34 -04:00
Olivier Galibert
402f0c86ab emumem: Handlers on different subunits of the same address with different address masks are now supported. [O. Galibert] 2016-06-17 19:00:50 +02:00
Olivier Galibert
a903e4c59c Merge pull request #956 from Dagarman/master
Fix comment
2016-06-17 18:27:07 +02:00
Miodrag Milanovic
5e906e9fcf simple_list to std::vector (nw) 2016-06-17 15:40:26 +02:00
Miodrag Milanovic
402ad8ef85 small debugger cleanup (nw) 2016-06-17 13:39:42 +02:00
Angelo Salese
2e8a87393b ... and analog noise being generated like ass (nw) 2016-06-17 12:53:20 +02:00
Angelo Salese
dc5d8a94e6 Improved doxygen-style comments for some defs in screen.h, thumbs down for the class (nw) 2016-06-17 12:49:22 +02:00
Miodrag Milanovic
3969f6e749 Fixed debugger regression (nw) 2016-06-17 12:04:28 +02:00
angelosa
c3770fe54e Some misc updates, nw 2016-06-16 23:09:30 +02:00
Dagarman
8454e117a9 Add files via upload 2016-06-16 07:47:59 -07:00
Olivier Galibert
7099d6eaa2 gcc 6.1.1 warning fixes (nw) 2016-06-16 14:21:44 +02:00
Vas Crabb
20833d9530 nullptr to nullptr doesn't deserve a warning (nw) 2016-06-16 17:42:58 +10:00
Vas Crabb
523b8d1de8 Fix GCC6 warnings 2016-06-16 17:35:02 +10:00
Julian Sikorski
6208ca7d34 Made the way jpeglib.h is included more pretty 2016-06-15 22:26:56 +02:00
angelosa
b49b23b7df Added command strobe callback interface for LDV1000, and hooked it up to esh.cpp driver. [Angelo Salese]
(out of whatsnew: also fixed irq 0 hookup, using device_timer to ack an irq for MAME is never a good idea)
2016-06-15 19:38:04 +02:00
angelosa
6df371a0f1 romload.cpp: added ROMX_FILL, passing a ROM_SKIP(param_value) will fill and skip just like a ROM_LOAD16_BYTE macro [Angelo Salese]
Added line blinking and overlay opacity selectors for esh.cpp [Angelo Salese]
Some minor improvements for LDP-1000 (nw)
2016-06-15 03:51:52 +02:00
Olivier Galibert
b82d7c4aef Memory fun [O.Galibert]
- Added AM_SELECT/addrselect field.  Replaces the old
  AM_MIRROR/AM_MASK combo used to mirror a handler and get the mirrored
  bits in the offset.

- Removed mask and/or mirror from where it didn't belong.  Simplified
  a lot of instances of mask that just weren't needed, especially in bus
  handlers.  Used the short forms of install handlers where possible.

- Replaced the 60s hippy, "It's cool man" range parameter handling in
  map_range that tried to guess what was meant when the values passed
  were not entirely sensible, by a cranky, diner waitress-turned IRS
  auditor curmudgeon.  Main control function has a series of 14 tests
  just to find a reason to fatalerror out your requests.  You have
  been warned.

Some drivers, hopefully not many, will fail the gate-guarding
bureaucrat trials.  Should be easy to fix actually, I worked on the
error messages.  A full regression test would be welcome.
2016-06-14 23:21:58 +02:00
Ivan Vangelista
ab9d8aa8bf driver.cpp: removed the old soundlatch methods. (nw) 2016-06-12 12:07:34 +02:00
fulivi
c7d9059466 Moved things a bit around to better decouple
device_image_interface::call_display and UI front-end
2016-06-09 18:03:07 +02:00
therealmogminer@gmail.com
f1fcc209e7 remove #include addition due to smf's better fix 2016-06-08 20:44:38 +02:00
therealmogminer@gmail.com
0ae82382cb Fix build on MSVC thanks to Rene, also fix debug_break crashes 2016-06-08 20:43:59 +02:00
therealmogminer@gmail.com
1079f45424 Fix -nodebug crash (nw) 2016-06-08 10:11:42 +10:00
therealmogminer@gmail.com
56bd36c5ef Major refactoring of debugger core [Ryan Holtz]
* Eliminate globals/file statics
* Remove lots of stuff from global scope
* Use std::function for custom command registration
* Eliminate some trampolines
* Build fixes from Vas Crabb and balr0g
2016-06-08 08:10:55 +10:00
ImJezze
6ea15072a7 Procedural texture for vectors in HLSL
* added simple procedural texture for vectors with rounded line ends and beam smoothness
* added optional -vector_beam_smooth option
* removed -antialias option, antialiasing is now always applied, except for plain D3D
2016-06-05 23:50:44 +02:00
Miodrag Milanovic
dba7c1ac94 Placed back old output system as module "-output windows" need more things cleaned (nw) 2016-06-05 21:11:56 +02:00
angelosa
62b82f2937 TODO note, nw 2016-06-05 16:11:28 +02:00
angelosa
ea46245a9a Added commit command to debugger. [Angelo Salese] 2016-06-05 16:11:27 +02:00
Nathan Woods
65720796a8 Changed UI handlers to be stored as std::function(); implemented old set_handler() on top of this 2016-06-04 15:06:39 -04:00
angelosa
6aa1d4d66c Update help file, the whole help string parser is so 90s, nw 2016-06-04 19:43:26 +02:00
angelosa
a9a5cceb72 Added comlist comment to debugger [Angelo Salese]
Added notes wrt dangarj protection, nw
2016-06-04 19:43:25 +02:00
Olivier Galibert
5cc0284cf7 Damn, missed that one (nw) 2016-06-04 12:36:47 +02:00
Vas Crabb
7dd07bdfae Merge pull request #912 from npwoods/ui_option_as_enum
Changed the backing representation of OPTION_UI from being a string t…
2016-05-30 22:43:53 +10:00
Vas Crabb
bbb2e917b5 MT6225 MT6226 MT6227 debugger may crash when validating expression with non-existent memory space name 2016-05-30 14:17:01 +10:00
Nathan Woods
d134d16d7d Changed the backing representation of OPTION_UI from being a string to an enum 2016-05-29 10:05:21 -04:00
ImJezze
6af3202119 Fixed MT06222
- fixed offset of vector lines and clipping rectangle when vector primitives are prepared to be rendered into a texture (HLSL) instead of directly on the screen (GDI, D3D)
2016-05-28 16:33:59 +02:00
Miodrag Milanović
369cfd658f Merge pull request #892 from ajrhacker/port_optional
Add flag to mark input fields as optional [AJR]
2016-05-25 10:46:39 +02:00
Miodrag Milanovic
68785dccfe Cleanups and version bump 2016-05-25 08:19:21 +02:00
Paul Priest
25d907c348 psikyosh.cpp/drawgfx.cpp - Fix debug asserts MT3753
Psikyosh uses bitmap_rgb32, but should really use argb32, but that requires overloading lots of drawgfx for this one driver. Removed assert was wrong and unavoidable. Fixed boundary condition tripping daraku as per MT3753.
2016-05-24 21:45:24 +01:00
AJR
5139c32d8f Unnecessary leftover (nw) 2016-05-23 15:51:48 -04:00
AJR
9707fdbf09 Add flag to mark input fields as optional
Inputs marked as optional should be controls that are not required for normal operation and may not be hooked up on actual hardware, but are still worth emulating because the hardware does respond to them in some way. Currently this flag is only exposed through the Lua interface and "reqbuttons" XML field; the intent is for frontends to map all optional buttons by default if this is possible and convenient. MT #6136 has inspired the addition of this flag to gijoe and clones.

Remove the generally useless PORT_UNUSED to make way for PORT_OPTIONAL; IPT_UNUSED, which most drivers were using already, is a better way of disabling unused fields. (nw)
2016-05-23 14:23:42 -04:00
ImJezze
052fd0c608 Moved extension of vector lines to where it belongs (nw) 2016-05-22 20:54:31 +02:00
Miodrag Milanovic
81a6b313a8 Fix accessing base() when there is empty buffer (nw) 2016-05-22 11:34:25 +02:00
angelosa
732eef6e0e Added base sprites. Also added STEP2_INV / STEP4_INV, nw 2016-05-19 20:24:48 +02:00
AJR
ea43e9a386 Ioport refactoring and cleanups (nw)
- Completely move mouse hit testing down into the UI input module. This reduces some dependencies.
- Never return a null pointer from ioport_field::name() to prevent potential crashes. All anonymous inputs are classified as INPUT_CLASS_INTERNAL, so several frontend functions now check type_class instead.
- Correct a couple of typos.
2016-05-18 19:23:54 -04:00