Commit Graph

15622 Commits

Author SHA1 Message Date
Aaron Giles
06f296a55a Added the ability to specify member function driver callbacks for
machine/sound/video_start/reset. Changed liberatr as an example.
If a callback is specified, it is called in place of the corresponding
virtual method.

Not entirely sure I like this, so consider the example open for
discussion.
2012-04-10 04:39:20 +00:00
Scott Stone
4e01c83775 PGM, Scorpion 4/5 and Astra Fruit Machine [David Haywood]
- Slightly reworked some previous PGM submissions.
- Reorganized many bfm_sc4/sc5 sound roms.
- Added some notes, code and alternate revisions to astrafr.c.


New games marked as GAME_NOT_WORKING
------------------------------------
Knights of Valour: Aoshi Sanguo / Sangoku Senki: Aoshi Sanguo (ver. 202CN) Bootleg  [Unknown source]
2012-04-10 03:56:34 +00:00
R. Belmont
4243eab5c4 SDL: fix build on non-OS X targets (nw) 2012-04-09 22:47:42 +00:00
stephh
08df7d3c47 0123456789012345678901234567890123456789012345678901234567890123456789
kinstb, ffight2b, iron, denseib, sblast2b (snesb.c) [stephh] :
  - Fixed Dip Switches and Coin Inputs (after verification of the 5A22
    code)
2012-04-09 21:18:35 +00:00
Aaron Giles
5181e3ea96 Moved soundlatch helpers into driver.c and removed emu/audio/generic.c.
Normalized soundlatch helper function names.

Created delegates for machine/sound/video_start/reset callbacks and
added necessary infrastructure to use them going forward.
2012-04-09 20:23:26 +00:00
Wilbert Pol
6711559e87 SDL: Got rid of some code duplication between the _unix and _macosx implementations for sdlptty and sdlmisc. (nw) 2012-04-09 19:55:43 +00:00
Wilbert Pol
49f47372a8 Removed some leftovers from the conversion to a modern device (nw) 2012-04-09 19:22:46 +00:00
Aaron Giles
7f5529c2cd Templatized the palette generators and made naming consistent.
Moved video/generic flip screen management into the base
driver_device class and updated all callers.
2012-04-09 17:30:29 +00:00
Miodrag Milanovic
94d0358dd3 ddenlovr was missed in conversion due to name difference with h file (no whatsnew) 2012-04-09 14:16:12 +00:00
Miodrag Milanovic
12123cb805 modernization of some CUSTOM_INPUT's part 5 (no whatsnew) 2012-04-09 13:55:37 +00:00
Miodrag Milanovic
90d9f9ca06 modernization of some CUSTOM_INPUT's part 4 (no whatsnew) 2012-04-09 13:23:05 +00:00
Miodrag Milanovic
d1bd5be055 modernization of some CUSTOM_INPUT's part 3 (no whatsnew) 2012-04-09 12:55:12 +00:00
Miodrag Milanovic
aee1fd4cbe modernization of some CUSTOM_INPUT's part 2 (no whatsnew) 2012-04-09 12:25:58 +00:00
Miodrag Milanovic
38fd064151 modernization of some CUSTOM_INPUT's (no whatsnew) 2012-04-09 11:58:25 +00:00
Miodrag Milanovic
0aca27ceef Small cleanup (no whatsnew) 2012-04-09 08:09:07 +00:00
Aaron Giles
cf19a5897b MT04761: waveshrk regression. 2012-04-09 07:05:56 +00:00
Aaron Giles
82821bd714 MT04760: fix cobram3 regression. 2012-04-09 07:02:53 +00:00
Aaron Giles
49f8c938bf MT04758: fix gal3 regression. 2012-04-09 06:55:09 +00:00
Aaron Giles
a2a70af586 MT04757: fix majorpkr regression. 2012-04-09 06:52:51 +00:00
Aaron Giles
f51412b3f6 MT04756: fix littlerb regressions. Kind of ugly, not sure the best way
to make this nicer.
2012-04-09 06:47:30 +00:00
Aaron Giles
3c856191c0 MT04754: fix qdrmfgp regression. 2012-04-09 06:37:05 +00:00
Miodrag Milanovic
0ff77e902e Missed one file (nw) 2012-04-09 06:16:56 +00:00
Miodrag Milanovic
70718f506e SoftFloat changes for last CL and x07 tape format from MESS (no whatsnew) 2012-04-09 06:03:25 +00:00
Miodrag Milanovic
bbddee4a75 m68k improvements: [Hans Ostermeyer]
- Fixed BFINS, BFEXTU, and BFEXTS to fetch 8-bit quantities as 8 bits (corrects Domain/OS 10.3.5 crash on page boundry)
- Added SoftFloat log functions and m68k FLOGNP1, FLOGN, FLOG2, and FLOG10 instructions
2012-04-09 06:00:44 +00:00
Aaron Giles
4f2850b93c MT04752: atarigt regressions. 2012-04-09 05:40:11 +00:00
Aaron Giles
955ad998cf MT04751: fix darkhors regression. Not sure what the EEPROM
code was trying to achive, but reading half of it outside of 
the memory region bounds is clearly not correct.
2012-04-09 05:33:24 +00:00
Aaron Giles
3b3b559c44 MT04750: btoads regression. 2012-04-09 05:19:34 +00:00
Aaron Giles
897d7612a9 MT04749: grndtour regression. 2012-04-09 05:17:14 +00:00
Aaron Giles
71651807a8 MT04078: ninjakun regression. 2012-04-09 05:15:17 +00:00
Aaron Giles
96a29fba76 Clang fixes. 2012-04-09 03:43:48 +00:00
Aaron Giles
e06a07056c Psikyo and DCS fixes. 2012-04-09 03:43:38 +00:00
Michaël Banaan Ananas
aa2077859a fix astropal crash 2012-04-08 21:48:41 +00:00
Angelo Salese
35e09dd41c Clean-ups and version bump 2012-04-08 14:12:02 +00:00
Angelo Salese
8d66a9445a misc sc4/68307 updates + prelim peripheral hookups, allows most sc4 sets to run their sound rom checks 2012-04-08 13:04:57 +00:00
Angelo Salese
86b2abfdbb New NOT WORKING game
--------------------
Dragon World Pretty Chance [Smitdogg, Tjeerd Carter]
2012-04-08 13:01:39 +00:00
R. Belmont
ee4a9b45b6 littlerb: work around bug in older GCCs (nw) 2012-04-07 21:55:07 +00:00
Michaël Banaan Ananas
c7f9edd793 added sound 2012-04-07 17:56:13 +00:00
Michaël Banaan Ananas
b562706272 (companyname fix) 2012-04-07 16:30:28 +00:00
Michaël Banaan Ananas
52f30c5e69 inputs WIP, robbie will take over 2012-04-07 15:00:57 +00:00
Miodrag Milanovic
5694a5e4a5 removed legacy macros to prevent their usage in future (no whatsnew) 2012-04-07 10:27:50 +00:00
Olivier Galibert
68d1159efd namcos10: Fix banking for mrdriller 2, first stab at the encryption [O. Galibert] 2012-04-07 07:30:29 +00:00
Michaël Banaan Ananas
f491e46cf4 wldarrow.c: Added service inputs, allowing battery RAM to be initialized in test mode, making the games close to playable. [hap] 2012-04-07 03:12:04 +00:00
Aaron Giles
3324483130 Extracted driver_device base class from machine.* and into its
own file driver.*
2012-04-06 20:24:04 +00:00
Aaron Giles
3e575ad6b9 Move driver list/enumerator to new file drivenum.c/.h.
Move game_driver definition and constants to new header gamedrv.h.
2012-04-06 19:59:27 +00:00
Michaël Banaan Ananas
12b4c3a38d (wboy5 bootleg companyname) 2012-04-06 19:07:39 +00:00
Luca Elia
bf1bb6201a Redumped sprites rom of lhzb2 [Guru]
Decrypted sprites in lhzb. Decrypted tiles and palette in lhzb2 and slqz2.
Added inputs and memory maps in these games, pending protection simulation [Luca Elia]
2012-04-06 17:57:36 +00:00
Miodrag Milanovic
cc78fc2684 MAME going modern part 8 (no whatsnew) 2012-04-06 15:03:29 +00:00
Miodrag Milanovic
3541b5c351 MAME going modern part 7 (no whatsnew) 2012-04-06 14:29:31 +00:00
Aaron Giles
7818ba99ea Added code to cdrom.c to compute and verify ECC codes for mode 1/2
sectors. [David Haywood]

Added CD compressor template which separates subcode data from sector
data, removes redundant ECC data prior to compression, and uses
separate compressors for each part. Defined LZMA and ZLib CD
compressors based on this and made them the default for CDs. 
[Aaron Giles]

(Sadly couldn't wrap the FLAC compressor here because it would have
produced incompatible output with previous versions.)
2012-04-06 13:24:30 +00:00
Aaron Giles
e48e63d684 Add logic to ensure that shared pointers are checked to be of the
right width. The primary upshot is that if you declare AM_SHARE("paletteram")
in an 8-bit memory map, then only m_generic_paletteram_8 will be populated,
and m_generic_paletteram_16 will be NULL. But it applies to all
required_/optional_shared_ptrs declared, so make sure they are of the
right type.

The required_/optional_shared_ptr mechanism should be used to replace
AM_BASE_MEMBER and AM_SIZE_MEMBER, which are technically dangerous and
illegal in C++ but work today through some trickery.
2012-04-05 19:19:38 +00:00