Commit Graph

10005 Commits

Author SHA1 Message Date
Miodrag Milanovic
0bd74f6269 Removed bool operator, and changed operator char *() to return NULL in case of NULL string, which makes if conditions to work properly.
Require full recompile. (no whatsnew)
2010-08-22 11:07:03 +00:00
stephh
c808af4ee4 fastlane (fastlane.c) [stephh] :
- Fixed Dip Switches and Inputs (after verification of the HD6309
    code)
2010-08-22 04:48:06 +00:00
Brian Troha
1520b57aac change rom label to lower case 2010-08-22 02:58:01 +00:00
Brian Troha
b6b7c83653 CPS-1 update [Team CPS-1]:
* Added proper willowj roms to match real pcb,
  it was using incorrect roms copied from parent set
* Added an old pcb rev of knightsj, using split roms
* Added an old pcb rev of kodj, using split roms
* Added newer Street Fighter II CE set
* Fixed kodj labels and confirmed pcb infos
* Fixed qadj labels, added PALs and pcb infos
* Fixed sf2ua labels and added pcb infos
* Minor cleanups and fixes


New clones added
-------------------------------------------
Knights of the Round (Japan 911127, B-Board 89625B-1) [Layne, john666, Ricky74, ranger_lennier, Smitdogg, The Dumping Union]
The King of Dragons (Japan 910805, B-Board 89625B-1) [Kevin Eshbach, takearushfan, M. De Pasquale, Smitdogg, The Dumping Union]
Street Fighter II': Champion Edition (World 920513) [john666, Smitdogg, The Dumping Union]
Willow (Japan, Japanese) [Layne, john666, C. Trutmann, Smitdogg, The Dumping Union]
2010-08-22 02:48:53 +00:00
Brian Troha
e39f17f50c Revert rom label and add a note about the alt rom labels that are also Seta custom chip numbers 2010-08-22 02:25:44 +00:00
Brian Troha
b90190f146 updated rom labels in seta.c 2010-08-22 01:54:59 +00:00
Angelo Salese
62300ca1fc Made x/y sizes to be dependant by the display registers, not worth again 2010-08-22 01:44:39 +00:00
Angelo Salese
47fe4cd04b Improved visible area stuff, not worth 2010-08-22 01:24:50 +00:00
R. Belmont
8f829c7f11 Fix apparent out-of-control auto-replace (no whatsnew) 2010-08-22 00:37:49 +00:00
Angelo Salese
acf3a2f9c4 Distraction fix 2010-08-21 23:49:19 +00:00
Aaron Giles
aafb63c072 Added an alternate set of address map macros. Now, if you
#define ADDRESS_MAP_MODERN prior to #including "emu.h", you will
get the new macros, which have the following properties:

* ADDRESS_MAP_START takes a 4th parameter, which is the name of the
   driver_data class the other macros will reference

* AM_READ/AM_WRITE/etc. all assume you are providing method names off
   of the driver_data class you originally specified

* AM_READ_LEGACY/AM_WRITE_LEGACY macros are provided for calling
   global static functions of yore

* AM_BASE/AM_SIZE all assume you are providing member names off of the
   driver_Data class

* AM_BASE_LEGACY/AM_SIZE_LEGACY are provided to reference globals if
   necessary

Also removed AM_READ_MEMBER/AM_WRITE_MEMBER/etc from the non-modern
macros. If you want to use member functions in the address map, you
are now required to use the new macros.
2010-08-21 23:47:07 +00:00
Aaron Giles
d0cb76c6fe Declared virtual functions in driver_data_t for:
machine_start
  machine_reset

  sound_start
  sound_reset

  palette_init
  video_start
  video_reset
  video_update
  video_eof

The default implementations of these call through the machine
configuration's functions as before. However, if a driver_data_t
overrides them, it will be called instead.

Also added virtual functions for pre_save() and post_load(),
which can be overridden to implement machine driver-specific
pre-save/post-load functionality instead of registering with
the save state system.

Updated beathead to use these new virtual functions instead of
specifying callbacks in the MACHINE_DRIVER.
2010-08-21 23:13:26 +00:00
Angelo Salese
aa42ebcb51 Updated to latest source tree 2010-08-21 22:52:34 +00:00
Aaron Giles
a3de0910fb Put a BSD license on the voodoo emulation so the DOSbox guys can stop
fretting over it.
2010-08-21 22:52:01 +00:00
Phil Bennett
e0f2331081 All American Football set updates: [Phil Bennett]
* aafb: Added missing 03-28008.u93 GFX ROM
 * aafbb: Marked 24015-02.u59 BAD_DUMP and demoted set to GAME_NOT_WORKING
2010-08-21 22:41:02 +00:00
Aaron Giles
fcbab89545 Whoops, forgot to fix this part. 2010-08-21 22:32:52 +00:00
Aaron Giles
a2f7346d90 I had originally wanted to convert the profiler to use scopes (e.g.,
create a stack class that started the profiler in the constructor
and stopped it in the destructor). Sadly, doing that causes gcc to
call out to hook up the unwind chain, and this tanks performance
quite badly, even when the profiler is off.

Since I had already class-ified profiler.c, I decided to keep the old
way of doing things but wrap it in the newer classes. So at least it
wasn't a complete waste of my time.

Search & replace:

  profiler_mark_start -> g_profiler.start
  profiler_mark_end -> g_profiler.end
2010-08-21 22:25:58 +00:00
Aaron Giles
e8d644d285 Fix logic to re-use exact-matching ranges to force a remap.
Fixed almost all regressions reported.
2010-08-21 21:02:19 +00:00
Brian Troha
dcb988acec Correct the rom labels for the atari version of Arabian [The Dumping Union] 2010-08-21 20:55:16 +00:00
Phil Bennett
14a93b0469 04009: pacland and clones: Reload of state cause game issues [Phil Bennett] 2010-08-21 20:51:47 +00:00
Angelo Salese
8987e6dfdc Toaplan2: Removed tile limit hack, not needed now since VDP is mixed properly [David Haywood] 2010-08-21 19:50:40 +00:00
Angelo Salese
15e1bc9b2e Changed dogyuun to use more simple mixing, not worth mentioning 2010-08-21 19:38:12 +00:00
Aaron Giles
d5d2cd0bb9 Haha, recent change to astrings also revealed that validity checks
were busted for ROM_FILL/ROM_COPY (we didn't detect regions populated
this way were non-empty).
2010-08-21 19:37:32 +00:00
Aaron Giles
4d1fc8fafa Swap: (astring.len() != 0) -> astring
Swap: (astring.len() == 0) -> !astring
2010-08-21 19:27:14 +00:00
Aaron Giles
0e09afc1a8 Added bool operator to astring, returning true if the string is
not empty. Conveniently, this creates ambiguity if you write
astring == NULL. Rooted out remaining cases where we were doing
that and fixed them.
2010-08-21 19:23:48 +00:00
Angelo Salese
5f6ba3ed9c Fixed Toaplan2 VDP mixing in Batsugun [David Haywood] 2010-08-21 19:23:23 +00:00
Aaron Giles
5f174240f1 Fix crash when loading cheats, plus a bit of minor cleanup. 2010-08-21 19:05:14 +00:00
Aaron Giles
e38adf825e Added mask-free versions of read_word/read_dword/read_qword to
address_space. Also added unaligned variants that can read
unaligned values. Rewrote the core handler as a template that
handles all cases, along with a simple unit test to verify that
everything is correct.

Updated 68k, v60, i86, and nec cores to use unaligned read/
write instead of their own stubs for handling misalinged reads.

Fixed memory management of ga2 decryption.
2010-08-21 18:40:01 +00:00
Phil Bennett
71090cf8fa 03718: shdancer: Freeze on stage 2-4 [Phil Bennett]
segaic16.c: Treat unsupported read and write accesses to defined devices/memory as open-bus reads or unmapped writes instead of falling through to the memory-mapping registers [Phil Bennett]
2010-08-21 18:30:19 +00:00
Angelo Salese
2cd0d9ca47 Marked Gold Medalist sound roms with bad dump flag (they comes from a bootleg board), not worth mentioning 2010-08-21 18:20:50 +00:00
Angelo Salese
23f7551cbb Documented unemulated protection in Super Champion Baseball, marked the game with GAME_UNEMULATED_PROTECTION due of that [Angelo Salese] 2010-08-21 18:16:48 +00:00
Angelo Salese
65076ac9d1 added correct GFX roms for Gang Wars, renamed bootleg set as Euro set (and new parent),made note about bootleg GFX roms [David Raingeard] 2010-08-21 18:01:02 +00:00
Angelo Salese
da9712fb52 new clones
----------
Eco Fighters (Phoenix Edition)

(i.e. no credit wanted)
2010-08-21 16:43:50 +00:00
Angelo Salese
3688cae4db Toaplan2: Attempted to implement dual VDP mixing with the equations provided by Quench, doesn't yet work [David Haywood] 2010-08-21 15:59:07 +00:00
Angelo Salese
843e4de54a Fixed unmap writes in core, not worth mentioning, just do any stylistical change if you want it. 2010-08-21 15:53:43 +00:00
Angelo Salese
b57c4c0360 new clones
----------
Legion (bootleg of Legend) [Team Europe]
2010-08-21 15:06:49 +00:00
Angelo Salese
47ec70b9e6 Haze: Made "Input file is for..." warning non-fatal (it crashed MAME before, and it's not really fatal anyway, sets can be renamed, and some inps are compatible across sets)
in this case, I've recoreded an init inp for the igrosoft games, which works with all sets with the same service menu.. it plays fine on them, but because of this fatalerror MAME crashes when i attempt to use it with a set other than the one i recorded with
which isn't good behavior
I see no issue with it.. mame shouldn't crash in that situation, and sometimes you want that behavior.

(not worth mentioning)
2010-08-21 13:21:17 +00:00
Curt Coder
6791eb9adb Expanded the Z80-DART interface to allow future implementation of Z80-SIO features: [Curt Coder]
- added separate clock inputs for channel B
- added SYNC inputs/outputs for both channels
2010-08-21 00:03:37 +00:00
stephh
e5e8a7b4d9 crospang, heuksun, bestri (crospang.c) [stephh] :
- Improved Dip Switches (after verification of the M68000 code)
2010-08-20 23:53:30 +00:00
Roberto Fresca
4bcfb04bb4 Just a little comment about the bad dump from comg080. 2010-08-20 23:36:19 +00:00
Curt Coder
d303a4f17d Imported the Hitachi HCD62121 CPU core from MESS. 2010-08-20 17:32:03 +00:00
Curt Coder
5cfa64098e ARM7 core fix from Aaron. (no whatsnew) 2010-08-20 17:29:10 +00:00
Miodrag Milanovic
8f0fae278c Fix for i286 regression (no whatsnew) 2010-08-20 16:55:22 +00:00
Curt Coder
b5fabb049d Clear Z80 DART interrupts at constructor time. [Curt Coder] 2010-08-20 16:15:41 +00:00
Angelo Salese
4512bc3122 Work-around for too small timers, not worth mentioning 2010-08-20 15:02:39 +00:00
Angelo Salese
eed6b16b3f Enabled PIT irq, not worth mentioning 2010-08-20 14:00:23 +00:00
Roberto Fresca
86b987a9a9 Improvements to CEI 906 III system. [Roberto Fresca]
* Corrected docs about the 906III memory map.
  * Mapped the AY8912.
  * Added AY8912 proper interfase. Tied SW2 to AY8912 port.
  * PIA0, portA is polled constantly. Tied some debug handlers
     to understand how the input system works.
  * Added notes about the PIAs R/W.
2010-08-20 12:57:45 +00:00
Angelo Salese
f487d31c1a Various sm8500 CPU core fixes [Robbbert] 2010-08-20 12:21:17 +00:00
Angelo Salese
0d99de8361 Removed excessive HALT_LINE call, fixes Jag BIOS roar sound (not worth mentioning) 2010-08-20 11:43:07 +00:00
Roberto Fresca
ed48be89c4 Improvements to calomega.c driver [Roberto Fresca]
* Added Game 24.0 (Gaming Draw Poker, hold). The game is playable.
  * Added missing 50/60Hz output frequency selector to systems 903-905.
     However, I dunno how it looks physically (switch/jumper/bridge?)
  * Injected missing start and NMI vectors to comg080 (Arcade Black Jack),
     from an exhaustive program ROM analysis / reverse engineering.
     The game now starts ok and is triggering proper NMI's.
  * Inputs from the scratch for comg080 (Arcade Black Jack).
  * Added workaround to pass the vector-check protection.
  * Reworked the lamps circuitry by system-basis.
  * Updated games list and technical notes.
  * Promoted comg080 (Arcade Black Jack) to working state.

  * Added support for system 906III:
     - Accurate memory map, CRTC, and PIAs mapped.
     - Preliminary PIAs support (no multiplexion yet).
     - Added proper machine driver, with correct R65C02 CPU.
     - Documented the hardware specs.
     - Added Game 51.08 (CEI Video Poker, Jacks or Better),
       running in CEI 906III hardware. The game is not working.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Cal Omega - Game 8.0 (Arcade Black Jack) [Roberto Fresca]
Cal Omega - Game 24.0 (Gaming Draw Poker, hold) [Roberto Fresca]


New games marked as GAME_NOT_WORKING
------------------------------------
Cal Omega - Game 51.08 (CEI Video Poker, Jacks or Better) [Roberto Fresca, Dave Ormiston]
2010-08-20 08:02:25 +00:00