Commit Graph

68949 Commits

Author SHA1 Message Date
feos
d51d2a71d5 luaengine: reduce memory usage during compilation
Previous semantics were encouraged by sol2, and ThePhD admitted it was a bad idea for usertypes with lots of members. sol3 allows to assign members outside a constructor for regular usertypes, but mame can't move to sol3 because it requires C++17. Turns out sol2 also has a way to add members separately, and that is what I used. This helps immensely.

This approach required a fix to warning C5046 copied from here 5799084572

Tested current mame plugins, everything seems to work.

PS: Due to come black magic, if I use simple_usertype::set() with "manager" as well, "machine" member dies (others are fine!), so I had to leave it intact.
2019-10-19 11:37:01 +03:00
hap
bfbe918626 hh_sm510: group common mcfg blocks together (nw) 2019-10-07 19:02:19 +02:00
68bit
92d7227ec0 MEK6800D1: early Motorola 6800 design evaluation board
The MIKBUG monitor is working. The terminal support for reading and
'punching' tapes is not yet implemented.
2019-10-08 03:47:02 +11:00
Vas Crabb
6cb51d5673 (nw) use optional I/O ports for G&W 2019-10-08 03:29:50 +11:00
Vas Crabb
2d6d158033 (nw) clean up code rot and cancer
I haven't tested the hh_sm510.cpp changes very well yet - I'll give it
another review soon, and test it some more before the end of the month.
I'm not sure about whether any of the B or BA handlers should be in the
base config methods for G&W.  I've left them there for some
configurations that always have them, but I might rip them out of the
common methods altogether.  It's not like Tiger where all the games use
them.
2019-10-08 01:50:18 +11:00
hap
eadc0eb471 taito_z: sci BUTTON4 duplicate, MT7448 (nw) 2019-10-07 15:25:34 +02:00
Ivan Vangelista
3b45b19a7a
cninja.cpp: fixed MT07447 (nw) 2019-10-07 11:54:35 +02:00
MooglyGuy
c99e5f3c0c -supracan: Silence debugging, nw 2019-10-07 09:42:54 +02:00
MooglyGuy
95ee886ea0 -supracan: Added preliminary sprite/tilemap priority support. Fixes sangofgt intro, monopoly menus, possibly others. [Ryan Holtz] 2019-10-07 09:33:56 +02:00
Vas Crabb
88662cf705 playch10.cpp: Corrected BIOS PPU ROM loading. [brizzo] 2019-10-07 12:39:36 +11:00
ajrhacker
4befa4c499
Merge pull request #5722 from cam900/sid_save
mos6581.cpp : Add save states, Misc SID chip updates
2019-10-06 21:19:10 -04:00
Scott Stone
1d3ecff45d vz_snap.xml: dtd validation fix (nw)
Many assorted XML files fixed for errant spaces, missing linefeed, improper format, and other oddness (nw)
2019-10-06 21:12:33 -04:00
AJR
880f2b7ae1 stadhero: Make stage music selection and various other things more random 2019-10-06 21:10:16 -04:00
couriersud
545f8069ef netlist: maintenance and lint fixes. (nw) 2019-10-06 23:50:13 +02:00
hap
38fd19fe30 hh_sm510: override default lcd decay for some games (nw) 2019-10-06 22:27:49 +02:00
cam900
be9efeee59 mos6581.cpp : Add save states
sid.cpp : Reduce duplicates, Add postload function
sidvoice.cpp : Fix type value when DIRECT_FIXPOINT defined
sidenvel.cpp, sidvoice.cpp, sid.cpp : Fix spacings
2019-10-07 00:22:57 +09:00
couriersud
5aac500dee kidniki: Fix a number of audio issues. [Couriersud]
- better document schematics, add J4
- Fix a number of resistor/capacitor values.
- Fix one barrier statement.
- Simplify code.
2019-10-06 16:01:43 +02:00
couriersud
de6b84a533 netlist: More unique_ptr use. GMRES update, new preconditioner (nw) 2019-10-06 15:58:23 +02:00
Priit Laes
290dad6ea1 tms34020: implement CLIP opcode (#5716)
* tms34020: Fix out of bounds read, when extra logging is enabled

* tms34020: Annotate unimplemented clip opcode

* tms34020: Implement CLIP instruction
2019-10-06 09:09:49 -04:00
arbee
4bbabbde2d SDL: support RRGGBB00 format used by ARM Mali GPUs [R. Belmont] 2019-10-06 08:39:13 -04:00
Robbbert
4025e8e5f4 Merge branch 'master' of https://github.com/mamedev/mame 2019-10-06 23:35:00 +11:00
r09
2576f614e6 fmtowns: bring machine configurations a bit closer to real hardware (#5719)
* fmtowns: bring machine configurations a bit closer to real hardware

- Separated the SCSI controller from the base machine configuration and
turned it into an optional device, since the first-generation models and
the Marty don't have one.

- Changed the CPU of the FM Towns II SJ to a 66 MHz 486DX2 instead of a
Pentium.

- Added comments describing the RAM expansion possibilities in each
model, and modified the user-selectable options accordingly.

- Added a separate machine configuration for the FM Towns II MX, since
it has a different CPU and more RAM options than the HR.

- Corrected memory maps for the 386SX-based models so the VRAM is
accessible at 0xb00000 in packed format. Fixes several instances of
graphics being garbled on the UX and Marty.

- Configured the Marty with just one floppy drive and 2 MB of RAM.

- Added a couple of sanity checks to prevent MAME from crashing when
selecting 1 MB of RAM or a single floppy drive. This makes it possible
to emulate something reasonably close to the functionality of an
original FM Towns Model 1, though the real Model 1/2 ROMs still need to
be dumped.

* accidentally broke floppy change detection (nw)

* move SCSI-related member functions to protected (nw)

* tabs (nw)
2019-10-06 23:34:39 +11:00
Robbbert
44e456fb5b (nw) basic52: fixed url 2019-10-06 23:34:29 +11:00
Christian Groessler
071696acec gamate: fix power up RAM contents (#5711)
* gamate: fix power up RAM contents

According to reports in the cc65 project, it appears that the RAM contains
0xFFs at power up. See https://github.com/cc65/cc65/issues/941.
Adapt the driver to account for this.

* gamate.c: don't use magical number for memory size
2019-10-06 23:27:21 +11:00
MooglyGuy
e37179f730 -supracan: Switched to logmacro, added sprite-to-sprite masking. [Ryan Holtz] 2019-10-06 14:01:41 +02:00
Robbbert
d328e21287 (nw) pes : clock was changed by mistake 2019-10-06 22:05:34 +11:00
Robbbert
6e679869d9 pes : modermised; fixed regressions caused by years of bitrot. 2019-10-06 21:15:19 +11:00
braintro
830cf62af6 (nw) gaelco.cpp: Big Karnak clocks - Use OSC based clocks
Based of picture: https://ibb.co/0XBwxzX

68000 @ 12MHz like all other PCBs in drivers/gaelco.cpp
6809E @ 2MHz (8MHz / 4) - complete guess
YM3812 @ 4MHz (8MHz / 2)
OKI 6295 @ 1MHz (8MHz / 8) - no 1.056MHz resonator on PCB
2019-10-06 01:39:27 -05:00
braintro
8a19731ee1 (nw) Misc Sega ID# udaptes 2019-10-06 01:20:21 -05:00
braintro
0b0cc5ba4e (nw) karnov.cpp: Remove obsolete comment. 2019-10-05 22:42:43 -05:00
braintro
09b321ffb1 (nw) Add Sega game ID# for Monster Land 2019-10-05 21:50:24 -05:00
AJR
88fde72e56 addrmap.h: Replace assert with emu_fatalerror using helper function (nw) 2019-10-05 16:46:48 -04:00
AJR
5a79e134fb bigkarnk: Adjust YM3812 clock so pitch matches reference recording 2019-10-05 16:27:15 -04:00
Vas Crabb
0b72efe507 misc cleanup (nw) 2019-10-06 04:55:09 +11:00
Robbbert
2ea3b4d7b9 trs80dt1 : Added rs232 and LPT, marked as working. 2019-10-06 04:06:35 +11:00
Robbbert
19104b22ad (nw) trs80dt1: fixed screen attributes
- replaced nonworking hack with one that works.
2019-10-05 23:36:52 +10:00
Vas Crabb
404c8ff7e1 (nw) misc cleanup:
* upd765, next, sun3x: fix FDC mode being treated as clock frequency (MCFG removal gone wrong)
* h01x: translate some comments from Chinese to English
* snes/sfx: trampoline constructors should be private
2019-10-05 22:52:26 +10:00
zzemu-cn
e1ebf0c51d new Chinese computer H-01B 2019-10-05 22:24:57 +10:00
arbee
c7aa273254 apple3: debugger-guard the $C800 switching [R. Belmont, Rob Justice] 2019-10-05 08:23:28 -04:00
Vas Crabb
56b000344e nmk16spr, superfx, makedep: misc cleanup (nw) 2019-10-05 21:56:49 +10:00
MooglyGuy
8a280aba9c -snes: Differentiate between SuperFX 1 and SuperFX 2. Fixes game speed in Star Fox, Stunt Race FX, Vortex, and others. [Ryan Holtz] 2019-10-05 13:34:12 +02:00
hap
747f27c600 hh_sm510: add note (nw) 2019-10-05 11:35:45 +02:00
hap
d9e765e5c8 namcos22: remove the fixme (nw) 2019-10-05 10:15:47 +02:00
Ivan Vangelista
b1684563e3
gts80b.cpp: fixed my copy-paste error. Thanks MetalliC for spotting this. (nw) 2019-10-05 07:24:32 +02:00
AJR
d2d205a57d i8275: Simplify read/write handlers (nw) 2019-10-05 01:09:18 -04:00
AJR
52cd97b79a treacity: Fix scrolling regression (nw) 2019-10-05 00:44:27 -04:00
Vas Crabb
4b414fa45b clean up some .hxx abuse (nw) 2019-10-05 14:02:58 +10:00
cam900
3f7aa11e26 ninjaw.cpp, warriorb.cpp : Accurate psg output position (subwoofer only) (#5709)
* ninjaw.cpp, warriorb.cpp : Accurate psg output position (subwoofer only)

* ninjaw.cpp, warriorb.cpp : Add notes, Fix output position
2019-10-05 13:48:41 +10:00
AJR
db87759815 addrmap.h: Assert in case subdevice fails to find things (nw) 2019-10-04 22:48:58 -04:00
Vas Crabb
d672b34912 'subwoofer' does not describe a position (nw) 2019-10-05 12:32:36 +10:00