couriersud
c0754c36cd
netlist: simplify code.
2020-10-02 19:58:32 +02:00
couriersud
c797d55aaf
netlist: move core_terms to netlist_state.
...
* These are used during creation and reset only. No need to
maintain them on net_t level.
2020-10-02 19:58:31 +02:00
couriersud
fe47fcf9f1
netlist: more clang lint fixes.
2020-10-02 19:58:30 +02:00
couriersud
1dcedeee9d
netlist: Add parse optimization to pfunction.
...
* "(1 + 2)*a" now during parse step will be rewritten to "3*a".
2020-10-02 19:58:29 +02:00
couriersud
58b4e89c0c
netlist: rename more files to lower case.
2020-10-02 19:58:28 +02:00
Vas Crabb
4f05917494
Got rid of global_alloc/global_free.
...
The global_alloc/global_free functions have outlived their usefulness.
They don't allow consistently overriding the default memory allocation
behaviour because they aren't used consistently, and we don't have
standard library allocator wrappers for them that we'd need to use them
consistently with all the standard library containers we're using. If
you need to change the default allocator behaviour, you can override the
new/delete operators, and there are ways to get more fine-grained
control that way. We're already doing that to pre-fill memory in debug
builds.
Code was already starting to depend on global_alloc/global_free wrapping
new/delete. For example some parts of the code (including the UI and
Windows debugger) was putting the result of global_alloc in a
std::unique_ptr wrappers without custom deleters, and the SPU sound
device was assuming it could use global_free to release memory allocated
with operator new. There was also code misunderstanding the behaviour
of global_alloc, for example the GROM port cartridge code was checking
for nullptr when a failure will actually throw std::bad_alloc.
As well as substituting new/delete, I've made several things use smart
pointers to reduce the chance of leaks, and fixed a couple of leaks,
too.
2020-10-03 03:00:24 +10:00
Robbbert
3340fc0d21
sdk86: fixed Paste; got rid of terminal, since the system is meant to interface with an intellec unit, and this requires floppy disks and drives.
2020-10-03 02:06:41 +10:00
Robbbert
a5a73d0198
radio86: fixed ^ natural key
2020-10-03 00:17:47 +10:00
Robbbert
8b12352031
partner: fixed spacebar,@,^ natural keys
2020-10-02 21:58:28 +10:00
Robbbert
f04e4171f0
elekscmp: Fixed paste.
2020-10-02 20:26:07 +10:00
Robbbert
4270d69cf9
ti99_8: fixed some grammar.
2020-10-02 19:50:02 +10:00
Robbbert
3869431b47
x1: moved note to make it clear it applies to x1turbo only
2020-10-02 19:17:05 +10:00
Robbbert
0c3b49dbde
dragon: added [_] natural keys.
2020-10-02 19:14:51 +10:00
Robbbert
8acdc7005d
ac1: swapped around brackets and braces in natural keyboard.
2020-10-02 18:21:34 +10:00
Olivier Galibert
b5477919bf
votrax: Adjust the final filter [O. Galibert]
2020-10-02 09:27:51 +02:00
Robbbert
dd1b9daeca
mess.flt: added macquadra700.cpp
2020-10-02 16:51:19 +10:00
Vas Crabb
d32834f1f7
formats/cassimg.cpp: Finish encapsulation of cassette_image class.
2020-10-02 14:01:03 +10:00
ajrhacker
0bfc5ed542
Merge pull request #7307 from darkstar/sgi_softlist
...
sgi_mips.xml: more Hot Mix CDs for SGI
2020-10-01 20:59:55 -04:00
arbee
3ee3906d10
mac: move macqd700 to its own driver and clean up more cruft [R. Belmont]
2020-10-01 19:29:56 -04:00
Darkstar
def5a0a82e
sgi_mips.xml: more Hot Mix CDs for SGI
2020-10-02 00:42:02 +02:00
AJR
fc1a375510
pdp1: Better fix for read-in mode
2020-10-01 13:37:48 -04:00
AJR
72b7a50cb3
pdp1: Fix read-in mode
2020-10-01 13:29:30 -04:00
Vas Crabb
54048b3407
-imagedev/cassimg.cpp: Make the interface look something like C++.
...
-sound/tiasound.cpp: Use some vaguely C++-like code internally.
2020-10-02 02:42:28 +10:00
Robbbert
7550749c67
fp6000: PORT_CHAR(0) is invalid; added '_' natural key
2020-10-02 01:12:20 +10:00
Robbbert
0e57b72292
phc25: upgraded sound flag from none to imperfect.
2020-10-02 00:45:49 +10:00
Robbbert
82e4776323
mbee: replaced dump of ic16
2020-10-01 21:34:46 +10:00
MetalliC
20f802a283
naomi.cpp: redumped vfurlong (Atomiswave) [brizzo]
2020-10-01 13:01:02 +03:00
Robbbert
6bf5349ac6
trs80m4 marked as MNW, because it can't boot its own floppy disk.
2020-10-01 19:57:10 +10:00
AJR
30371b5717
pdp11.cpp: More consistent indentation
2020-09-30 19:11:45 -04:00
AJR
a1f22c7533
discrete.h: Fix build on old compilers not compliant with retroactive C++11 revisions
2020-09-30 13:23:06 -04:00
Ivan Vangelista
d026d1ba84
6840ptm.cpp: initialized array to fix listxml and validate crash
2020-09-30 18:20:06 +02:00
Miodrag Milanovic
caa1e969e4
Fix zexall target compile
2020-09-30 17:37:01 +02:00
Ivan Vangelista
b32b366d9f
pdp1.cpp: initialized 3 more variables that were causing crashes while running in gdb
2020-09-30 17:12:49 +02:00
Ivan Vangelista
868a424e27
pdp1.cpp: initialized some emu_timer s that were causing crashes
2020-09-30 17:07:15 +02:00
Vas Crabb
b320438db4
sound/discrete: Get rid of vtables in factories.
...
This speeds up compilation.
2020-10-01 00:16:40 +10:00
Vas Crabb
687dd20aeb
sound/discrete.cpp: Fix more crashes, and modernise a little.
...
Reserve some space in another vector that it takes addresses to members
of (fixes lack of sound in dkong and dkongjr).
Removed dependence on auto_alloc and friends. There's one more
problematic make_unique_clear now, but there are several fewer
auto_alloc family calls.
2020-09-30 23:40:06 +10:00
Vas Crabb
cc8cd6c33b
sound/discrete: Reserve space before taking addresses of new vector items.
...
This code is still unsafe, 16 just happens to be enough for the systems
in MAME. (The old vector_t implicitly reserved space for 16 items on
construction.)
2020-09-30 22:12:44 +10:00
Vas Crabb
88a1e42774
cpu/pdp1: Initialise a couple of pointer members.
2020-09-30 21:18:00 +10:00
Vas Crabb
5bb5c31345
emu/machine.cpp: Get rid of remaining make_unique_clear on 'manager' objects.
2020-09-30 20:53:42 +10:00
couriersud
3a95d1e4fd
netlist: Convert driver filenames to lower case.
2020-09-30 08:38:06 +02:00
couriersud
91ca668d14
netlist: Fix a net splitting issue with four term devices.
...
* Under cirtum circumstances the splitter would create "ghost" solvers
consisting of terminals already used in another and complete
solver. This may impact all netlist which use opamps and thus
is committed early in the cycle.
* This commit adds functionality to instruct the splitter code to
include terminals which will not create matrix elements into
the parsing of net groups for solvers.
2020-09-30 08:37:42 +02:00
couriersud
d838120e37
netlist: Rewrote frontier documentation.
...
* Also includes a small optimization for FP signal code.
2020-09-30 08:37:18 +02:00
couriersud
9a08e63fd3
netlist: applied some clang tidy recommendations
2020-09-30 08:36:53 +02:00
Vas Crabb
3b59cb8860
-Got rid of most of the remaining problematic uses of make_unique_clear.
...
-sound/discrete.cpp: Use C++ std::vector and range-based for.
2020-09-30 14:10:43 +10:00
AJR
dfb6ab880b
pdp11.cpp, terak.cpp: Add CPU notes
2020-09-29 21:22:41 -04:00
Vas Crabb
8dfa980fdd
MAME 0.225
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE0DYtsBhE4EM627+6wXSxAYxAcQ4FAl9y4SUACgkQwXSxAYxA
cQ6QwQ//eS+j8+k4MMTc9QgRxdJU5HHDfoMpIHTxPOZo4C3sAyEPLh+3YDZagTOS
nU0eDcCalDvUm5qxWRpl/7XyiK+xrI8yvGabCeeclKbS7ktVP3UBYCuqZ5UgvlRK
NDtcTD/v0kYhrFyOBgK6hAnyIek7RDYdKywZ3uxop8QqfZcAjX+kTDsbVoNXEstq
vnR4s+pYOMgaf7vSqk3+qTbko1Y/0eUCYdMf2V9UMFsSfOIWXKT6s/irXLfWopK7
rWz32gxym5P/fQuHfRYTQ3TxW6xKXyo2mdTXUvGYD63iAlXqQLUD18J5Bm41jExp
mlD3gne2yMXCTV9myhbnaqNH/5rMUhylmnpp6OLSadtSVB5RglYhJyt+Kwyx+ZSQ
C6AIMuX/1qgYVOqvfi6X4QgHBRey5tliggT/TGSH+wJOIlHKXIQ2hvbvDkGIWM5i
QI21kM9qE8Q0H8SrjBC9bUZBEdd+KoJUHQcRKrzQ2NA7hvVlkCNXk8xNG6uDRSXA
u0/OSw9+wxEm7kH5dX27ww54AlpMrIt/O0m3VCBjJTtv0c5Y4ifZRSC3Rk45AaTW
/wjx3pMXmzfBQE150MC01h50guzXWQozrM5KZpgA90lE+FRTAmPtWMssTfzdBeQY
sQL/YgjJbmGduYFavfK1bhmfpsYEbLlQvFNrF/z7l9+Xr9PzpH8=
=B2au
-----END PGP SIGNATURE-----
Merge tag 'mame0225' into mainline-master
MAME 0.225
2020-09-30 09:05:21 +10:00
ajrhacker
d305cd4503
Merge pull request #7302 from DavidHaywood/290920_2
...
machines promoted to WORKING (plug play)
2020-09-29 18:30:53 -04:00
DavidHaywood
30cac51f50
machines promoted to WORKING
...
-----
Konami Collector's Series Arcade Advanced [David Haywood]
2020-09-29 23:26:59 +01:00
cam900
ff4f63b8d7
macrossp.cpp: Add notes for quizmoon ( #7292 )
2020-09-29 11:43:09 -04:00
cam900
c4d0b99dc8
namcos12.cpp: Add notes for RAM size ( #7296 )
2020-09-29 11:42:31 -04:00