Commit Graph

27465 Commits

Author SHA1 Message Date
Alex W. Jackson
1a4931f507 megacd: fix crash introduced by gfx_element commit (nw) 2014-03-12 05:33:50 +00:00
Alex W. Jackson
91db5cd8e7 z8000: global_free fix (nw) 2014-03-12 04:27:16 +00:00
Ivan Vangelista
ab507b68dc upd1771.c: resolve_safe(), heeding advice. (nw) 2014-03-12 04:09:55 +00:00
Jonathan Gevaryahu
840462f583 remove duplicate type definition of FPTR, fix compile on GCC 4.4.7
(other definition is in osdcomm.h, which pmwinmm.c #includes right above the duplicated definition)
2014-03-12 02:28:49 +00:00
Justin Kerk
c5f97d99c7 oops (nw) 2014-03-12 02:18:46 +00:00
Justin Kerk
c521b8b150 Silence more clang warnings (nw) 2014-03-12 01:54:18 +00:00
David Haywood
25759faf79 new clone
Billard List [system11]

(not all ROMs were dumped from the board, I've marked the ones that weren't sa BAD_DUMP until they're verified.)

also modified the clocks based on his measurements, it's stupidly slow now, but that's how the PCB is according to what has been said.
2014-03-11 23:43:35 +00:00
smf-
27ecfbe3e7 added a note against SCPH-5002 that it might not exist (nw) 2014-03-11 20:59:47 +00:00
Alex W. Jackson
000fed0aea spu.c, discrete.c: global_free fixes (nw) 2014-03-11 20:52:03 +00:00
Wilbert Pol
621083947c Fixed OSX debugger and clang compile fix (nw) 2014-03-11 20:28:47 +00:00
Michaël Banaan Ananas
eb97b7e1af small improvement to loop offset and final volume 2014-03-11 20:10:44 +00:00
Miodrag Milanovic
4c3dd33d93 fix for stream_buffer free (nw) 2014-03-11 19:48:14 +00:00
Wilbert Pol
7356f8c7e4 Fix clang compile (nw) 2014-03-11 19:14:35 +00:00
Mike Naberezny
44e07aea5c (MESS) hardbox: Fix comment. (nw) 2014-03-11 18:39:47 +00:00
Michael Zapf
f06394b6fd (MESS) Some more variable initializations.(nw) 2014-03-11 18:37:52 +00:00
Michaël Banaan Ananas
2f84db3331 frac can possibly go over 16bits 2014-03-11 18:08:45 +00:00
Roberto Fresca
9711c34096 Double-Up Poker (Jubilee) improvements [Roberto Fresca]
Added partial lamps support (some are missing), and a
workaround for discrete sounds trigger offsets. Also
a zillion of technical notes about findings.
2014-03-11 18:02:57 +00:00
Roberto Fresca
2f9210f892 Added button-lamps support to all Cherry Bonus III sets.
Also created almost realistic control panel internal layout.
Added technical notes about Cherry Bonus III memory map.
[Roberto Fresca]
2014-03-11 17:36:06 +00:00
Oliver Stöneberg
d965157fcc more clang and Linux compilation fixes (nw) 2014-03-11 17:27:39 +00:00
Ivan Vangelista
7f6756ef15 Updated upd1771.c to use devcb2 (nw) 2014-03-11 17:25:40 +00:00
Oliver Stöneberg
c8ea1c0d04 fixed GCC/clang compilation / fixed some forward declarations (nw) 2014-03-11 17:13:40 +00:00
David Haywood
e647a2b812 just some experimentation with the sound hardware on MegaPhoenix, still wrong (nw) 2014-03-11 16:45:36 +00:00
Michaël Banaan Ananas
821d24f77b documentation + small cleanup. No functional change 2014-03-11 16:44:16 +00:00
Aaron Giles
b81f497a93 Fix a couple of compile errors, leftover debugging. 2014-03-11 15:58:45 +00:00
Aaron Giles
4ea9df02a1 Moved core template container classes up from emutempl.h to coretmpl.h:
[Aaron Giles]
 * these classes now no longer take a resource_pool; everything is
    managed globally -- this means that objects added to lists must be
    allocated with global_alloc
 * added new auto_pointer<> template which wraps a pointer and auto-frees
    it upon destruction; it also defaults to NULL so it doesn't need to
    be explicitly initialized
 * moved tagged_list template to tagmap.h

Redo of the low-level memory tracking system: [Aaron Giles]
 * moved low-level tracking out of emu\emualloc into lib\util\corealloc
    so it can be shared among all components and used by core libraries
 * global_alloc and friends no longer use a resource pool to track
    allocations; turns out this was a wholly redundant system that wasted
    a lot of memory
 * removed global_resource_pool entirely
 * added global_free_array to delete arrays allocated with 
    global_alloc_array
 * added tracking of object versus array allocation; we will now error
    if you use global_free on an array, or global_free_array on an object

Added new utility helper const_string_pool which can be used to 
efficiently accumulate strings that are not intended to be modified.
Used by updated makelist and software list code. [Aaron Giles]

Updated png2bdc and makelist tools to not leak memory and use more modern
techniques (no more MAX_DRIVERS in makelist, for example). [Aaron Giles]

Deprecated auto_strdup and removed all uses by way of caller-managed 
astrings and the software list rewrite. [Aaron Giles]

Rewrote software list management: [Aaron Giles]
 * removed the notion of a software_list that is separate from a
    software_list_device; they are one and the same now
 * moved several functions into device_image_interface since they really
    didn't belong in the core software list class
 * lots of simplification as a result of the above changes

Additional notes (no whatsnew):

Moved definition of FPTR to osdcomm.h.

Some changes happened in the OSD code to fix issues, especially regarding
freeing arrays. SDL folks may need to fix up some of these.

The following devices still are using tokens and should be modernized
(I found them because they kept their token as void * and tried to
delete it, which you can't):

namco_52xx_device (mame/audio/namco52.c)
namco_54xx_device (mame/audio/namco54.c)
namco_06xx_device (mame/machine/namco06.c)
namco_50xx_device (mame/machine/namco50.c)
namco_51xx_device (mame/machine/namco51.c)
namco_53xx_device (mame/machine/namco53.c)
voodoo_device (emu/video/voodoo.c)
mos6581_device (emu/sound/mos6581.c)
aica_device (emu/sound/aica.c)
scsp_device (emu/sound/scsp.c)
dmadac_sound_device (emu/sound/dmadac.c)
s3c2440_device (emu/machine/s3c2440.c)
wd1770_device (emu/machine/wd17xx.c)
latch8_device (emu/machine/latch8.c)
duart68681_device (emu/machine/68681.c)
s3c2400_device (emu/machine/s3c2400.c)
s3c2410_device (emu/machine/s3c2410.c)
strataflash_device (mess/machine/strata.c)
hd63450_device (mess/machine/hd63450.c)
tap_990_device (mess/machine/ti99/990_tap.c)
omti8621_device (mess/machine/omti8621.c)
vdt911_device (mess/video/911_vdt.c)
apollo_graphics_15i (mess/video/apollo.c)
asr733_device (mess/video/733_asr.c)
2014-03-11 15:54:58 +00:00
Miodrag Milanovic
b05606404a k007342_device callbacks and params modernized as example how to do it :) (nw) 2014-03-11 14:35:17 +00:00
Alex W. Jackson
04b9d9e0f9 Checkpoint: gfx_elements now have a pointer to a palette_device (which is not actually initialized or used yet), and no longer have an unneeded pointer to the running_machine. Removed some gfx_element getter methods described in comments (by Aaron?) as 'a bit gross', and fixed the tiny handful of drivers that were using them (nw) 2014-03-11 14:28:45 +00:00
R. Belmont
940bb2190e (MESS) apollo: cleanup (nw) 2014-03-11 13:53:25 +00:00
Curt Coder
0a5d2f5dfa mc6852: Fixed state saving. (nw) 2014-03-11 13:44:27 +00:00
David Haywood
51871ba957 workaround for internal compiler error when using vs2013 64-bit (nw) 2014-03-11 13:39:45 +00:00
Curt Coder
22b1da4b2c (MESS) mc6852: devcb2 + diserial. (nw) 2014-03-11 13:36:53 +00:00
Oliver Stöneberg
6477207016 disabled another check with SANITIZE=undefined (nw) 2014-03-11 12:45:14 +00:00
Oliver Stöneberg
04f100f176 removed left-over legacy_cpu_device usage from src/emu/cpu/arm7/arm7core.h (nw) 2014-03-11 10:43:59 +00:00
Oliver Stöneberg
f965b3985b fixed usage of uninitialized members in ti_fdc_device and ti_fdc_legacy_device (nw) 2014-03-11 10:40:51 +00:00
mahlemiut
662bd6cf43 hd61830: made character mode also work in 16-bit chunks. Fixes text display on the Hunter 2. 2014-03-11 09:21:41 +00:00
Olivier Galibert
72c4cc20f8 Add an osd_truncate call to truncate files [O. Galibert] 2014-03-11 09:19:17 +00:00
mahlemiut
dff9b4b28b hunter2: fixed Shift-6/7 correctly this time. (no whatsnew) 2014-03-11 08:57:06 +00:00
smf-
18fda43ee7 Fixed c64 restore key and c128 crashing if exp_irq_w called at device_start() time. 2014-03-11 08:16:57 +00:00
mahlemiut
8b069e3424 hunter2: missed one. (no whatsnew) 2014-03-11 07:53:08 +00:00
mahlemiut
9bafc73c67 hunter2: fixed a few more key definitions. (no whatsnew) 2014-03-11 07:42:23 +00:00
mahlemiut
c28c003834 nsc810: fixed I/O port writing, fixing the keyboard on the Hunter 2
hunter2: switched S and C keys around
2014-03-11 06:57:05 +00:00
Curt Coder
7d5ef42206 Removed unselectable slot options (SLOT_INTERFACE_INTERNAL) from the -listxml output. [Curt Coder] 2014-03-11 06:54:42 +00:00
Curt Coder
beff1ef9a0 (MESS) Fixed validation. (nw) 2014-03-11 06:53:56 +00:00
Curt Coder
20e9afdb96 (MESS) Fixed regressions. (nw) 2014-03-11 06:45:54 +00:00
Curt Coder
a5b609f658 (MESS) Fixed screen regressions. (nw) 2014-03-11 06:36:58 +00:00
Curt Coder
e41407d467 (MESS) pofo: Fixed screen regression. (nw) 2014-03-11 06:29:39 +00:00
Curt Coder
024457765f (MESS) mm1m6: Fixed screen regression. (nw) 2014-03-11 06:28:42 +00:00
Curt Coder
755c7b4b5d (MESS) vt100: Fixed screen regression. (nw) 2014-03-11 06:26:52 +00:00
Curt Coder
afa6dbee84 (MESS) wangpc: Fixed palette regression. (nw) 2014-03-11 06:22:36 +00:00
mahlemiut
c86b56168c Added basic implementation of the NSC810 RAM-I/O-Timer device, and plugged it into the Husky Hunter 2 driver. [Barry Rodewald] 2014-03-11 06:05:35 +00:00