Commit Graph

1138 Commits

Author SHA1 Message Date
Aaron Giles
2a9d6c09bf Added missing #include. 2008-04-02 08:17:56 +00:00
Nicola Salmoria
72b84c545f Use new TILEMAP_DRAW_ALL_CATEGORIES flag where applicable 2008-04-02 04:54:02 +00:00
Nathan Woods
ff3b615c69 Removing false assertion; NULL is also DEVICE_TYPE_WILDCARD 2008-04-02 01:39:31 +00:00
Pierpaolo Prazzoli
704514c351 Forgot to decomment a check 2008-04-01 21:31:54 +00:00
Pierpaolo Prazzoli
f95ec93c7c - Added tilemaps and sprites 4bpp mode
- Added preliminary ROZ implementation (disabled until the enable / disable register is found)
- Changed background pen to fix emeralda demo
2008-04-01 21:29:29 +00:00
Couriersud
f4b7ad20e2 discrete sound system:
* Fix timing of stream_update in discrete_sound_w
  All sound cores update before processing changed data
* Add streeam_update to discrete_sound_r
* Now supports multiple output nodes per module. 
  There is the possibility to support multiple outputs per module.
  In this case, NODE_XXX is the default output. Alternative outputs may
  be accessed by using NODE_XXX_YY where 00<Y<08.
  
  You may also access nodes with macros:
  
      NODE_XXX = NODE_SUB(XXX, 0)
      NODE_XXX = NODE(XXX)
      NODE_XXX_YY = NODE_SUB(XXX, YY) with YY != 00 
      
  This should e.g. make discrete sound emulation easier
  when dealing with e.g. flip flops (Q & QQ) and binary counters

* added sanity checks to check consistency issues introduced by this change
* modules specify number of outputs ==> Certain special modules (WAVELOG) 
  may no longer be used as input nodes
* removed explicit (NODE_XX + expr) from a couple of drivers
2008-04-01 21:17:17 +00:00
Brian Troha
4a83ea709f Credit: The Guru
Adds Super Bishi Bashi Champ (Korea) to bishi.c

CPU speed correct & readme text added.
2008-04-01 20:43:58 +00:00
Nicola Salmoria
a284b2fd9e fix tilemap viewer to draw the whole tilemap when categories are used 2008-04-01 16:01:34 +00:00
Nicola Salmoria
d91c34cf31 01468: ldrun2: Priority problem at titlescreen 2008-04-01 13:30:49 +00:00
Nicola Salmoria
e81294dfa0 Fix 01469: ldrun2: Compared to the PCB does MAME show less graphic at the bottom of the screen. 2008-04-01 12:52:04 +00:00
Nathan Woods
68db1ed583 Typo fix 2008-04-01 01:24:10 +00:00
Andrew Gardner
859f894aa2 A few more memory map merges. 2008-03-31 04:52:41 +00:00
R. Belmont
2a869f8673 Various SCSI devices register state items by their disk ID, which are not unique across device types. This introduces a device-type offset for CD-ROMs so their registrations don't clash with harddisks. 2008-03-31 03:04:34 +00:00
Phil Bennett
cb87356d5c Courtesy of Anonymous:
* Added plane priority to blitter - if anyone knows how this really works let us know!
 - Fixes Treble Top signature writing
* Video output now supports all modes - lores, hires, mixedres, 8/7/4/3 bits/pixel
  - Fixes Every Second Counts colour problems
* Added line draw
  - Fixes missing stuff from Question Of Sport
* Change blitter loop type control - there are 4 types of loop.
* Corrected video frame rate to 50Hz.
* Corrected Z80 speed - 5.91mhz, this still might be wrong but I don't have a board to check.
* Accounted for Z80 cycles stolen during a blit operation. Improves gfx/sound sync and seems to fix the final round lockup in Every Second Counts.
2008-03-30 23:59:31 +00:00
Nathan Woods
6bc1249cb8 More MESS-specific changes (this code should be factored out of MAME) 2008-03-30 23:30:43 +00:00
smf-
6c238b4395 Fixed state loading now that the digital i/o board's serial number has been changed to a const by not saving it. As the serial number cannot be changed at run time it was rather pointless. I can only imagine I did it so you could hack the state file instead of having to recompile, though it should probably load it from an external file so you can supply your own. 2008-03-30 22:37:06 +00:00
davidhay
988ab9a7b0 a bootleg of badlands - heavily modified, not working. 2008-03-30 19:54:22 +00:00
Brian Troha
83ecc9bd8f changes Deer Hunting USA v2.0 to "v2" as the actual subversion is unknown. 2008-03-30 19:37:49 +00:00
R. Belmont
778117985e [AW] A little magic from ElSemi to make the Atomiswave BIOS try to be more verbose, but our video emulation isn't good enough to cooperate. 2008-03-30 19:03:22 +00:00
R. Belmont
e05a67c0f2 [MEGADRIVE] Turned off default SRAM handling for #ifdef MESS. 2008-03-30 18:49:19 +00:00
Andrew Gardner
4f6044c309 Memory map merges for half of the W drivers.
A couple of random touchups for X, Y, and Z drivers as well.
Each driver is tested by watching the attract mode through and diff'ing logs.

My ISP was blocking mamedev e-mails for a couple of weeks, so I apologize if I did anything odd because of a discussion that I missed.
2008-03-30 18:26:42 +00:00
davidhay
d332b5c542 (from Bryan McPhail) adds Chase Bombers to undrfire.c, not working properly. 2008-03-30 17:57:17 +00:00
Nathan Woods
52f6db9e2b MESS specific change; part of MESS' device changeover 2008-03-30 17:14:03 +00:00
Couriersud
cac4d00e7d Add ITEM_IDs for additional axes and switches
Add ITEM_IDs for up to 4 hats/POVs
2008-03-30 14:28:08 +00:00
stephh
652ffd72f9 Changed Seibu sound CPU to use AM_READ_PORT("COIN") instead of input_port_0_r.
Added in bloodbro.c driver partial work from RansAckeR :
  - dips locations
  - coin modes

Added notes for 'bloodbra'.
2008-03-30 10:19:43 +00:00
smf-
ad4ef5d256 New macros added for checking mem_mask. ACCESSING_BYTE_n, ACCESSING_WORD_n & ACCESSING_DWORD_n. These check for any access within the bounds, currently the pattern for checking whether both bytes of a word is written is to make two byte checks ( this pattern existed before because there was no macro for testing a 16 bit word, though you could have used ACCESSING_LSW32 ).
All occurrences of ACCESSING_LSB, ACCESSING_MSB, ACCESSING_LSB16, ACCESSING_MSB16, ACCESSING_LSB32, ACCESSING_MSB32, ACCESSING_LSW32, ACCESSING_MSW32 & simple mem_mask checks have been replace with the new macros.
The old macros are gone.
2008-03-30 09:19:23 +00:00
stephh
c646da31ad Fixed clones relationship. 2008-03-30 06:51:25 +00:00
R. Belmont
40f3c081f4 [AICA, SCSP] Fixed encoding/decoding of negative denormal floats in the DSP. Shouldn't actually affect any games. (kingshriek, Deunan Knute) 2008-03-30 00:12:07 +00:00
Couriersud
ad1d29db6e Removed unnecessary #include 2008-03-29 23:14:54 +00:00
Couriersud
91d938313b Added discrete filtering and mixing games using konami_sound. 2008-03-29 23:14:08 +00:00
Couriersud
4e4c63ba21 Added NODE(x) macro to avoid avoid (NODE_00 + 3) in code. 2008-03-29 23:06:29 +00:00
Couriersud
edf72c9bf9 implements discrete mixing
* uses DISCRETE_RCFILTER_SW
* uses sound routing to route 76416 output to discrete logic
2008-03-29 21:12:54 +00:00
Couriersud
6a8fa36bcc adds DISCRETE_RCFILTER_SW to discrete sound
* this implements multiple RC networks with CD4066 switches to connect/disconnect capacitor
2008-03-29 21:10:06 +00:00
Pierpaolo Prazzoli
a934d5cf95 Fixed sprites shadow in namcona1 driver and removed Emeraldia hack 2008-03-29 15:20:33 +00:00
Nathan Woods
1e57031838 MESS-specific changes; mame.h no longer include's MESS's device.h 2008-03-29 14:46:37 +00:00
Curt Coder
e241656170 Reverted to old execute, new broke more than it fixed. 2008-03-29 14:13:09 +00:00
Yasuhiro Ogawa
b4dc7567b4 added multiplier (same as wecleman) to Flak Attack
Info provided by VU801qCf
2008-03-29 13:32:28 +00:00
Curt Coder
6bdcdb0769 Removed debugging code. 2008-03-29 12:18:41 +00:00
Curt Coder
d23a72d1cd Rewrote the COP400 execute function. 2008-03-29 12:17:59 +00:00
Phil Bennett
1a931524f6 Added 'Beeline' by BFM. Non-working as we're missing the 3.5" floppy image... 2008-03-29 02:32:55 +00:00
Phil Bennett
ed397c466a 1. Added driver for JPM 'Give us a Break' hardware, supporting:
* Give us a Break [2 sets]
* Ten Up [2 sets]
Neither are playable; they don't register coins for some reason.

2. Fixed interrupt handling and 16-bit memory accessors in 6840ptm.c
Also cleaned up code for the sake of readability.

3. JPM games now have their own object archive file.
2008-03-29 01:35:02 +00:00
Couriersud
d71dc84ed6 Fix compile on 64bit environments 2008-03-28 22:58:17 +00:00
Aaron Giles
6350ab3302 Minor cleanup and simplification. Removed palette_config(). 2008-03-28 18:59:31 +00:00
Aaron Giles
c5335ee5d4 Fixed compile error in MSVC. 2008-03-28 18:32:09 +00:00
Curt Coder
cb38b8b0d5 - implemented interrupt
- implemented serial input/output
- fixed XAD/LDD, XIS1, RMB3 opcodes
- fixed clock divider
- fixed internal memory map size
- added some cpu variants

As a result, Draco at least initializes the AY-8910 now.
2008-03-28 16:10:23 +00:00
Aaron Giles
4821d456dd Fixed:
- 01622: [Core] -refreshspeed has no effect (aaron) - Resolved.
2008-03-28 10:10:21 +00:00
Aaron Giles
ce1da5c445 Fixed:
- 01629: [Graphics] raiga, stratof: broken colors on sprites (aaron) - Resolved.
- 01630: [Graphics] fstarfrc, ginkun, riot: broken colors on sprites (aaron) - Resolved.
- 01627: [Misc.] spbactn, spbactnj: Crashes with Access Violation (aaron) - Resolved.
2008-03-28 09:57:56 +00:00
Aaron Giles
ed961330b6 Added override to allow individual games to change sprite clipping behavior.
Fixed sprite clipping offset to be 0-15 as I originally derived....
2008-03-28 09:28:36 +00:00
Aaron Giles
6979179c11 Galaxian rewrite. Ultimately will combine the existing drivers
for galaxian, scramble, frogger, scobra, amidar, and dambustr.
For the moment, only a subset of games are implemented in the
new system; the remainder are running on the old code.

Main features are accurate video timing, correct stars 
implementation, better organization, simplified input ports,
and many other smaller fixes. In addition, the following
MAMETesters bugs are addressed:

- 01598: [Graphics] 4in1, gmgalax, pacmanbl: Sprites are cut off on the top row
- 01563: [DIP/Input] gmgalax: Duplicated Inputs
- 00300: [Graphics] zigzag: in cocktail mode player 2 screen is shift over to the right
- 01454: [Graphics] mshuttle, mshuttlj, mshutlj2: The display of the screen is shifted
- 01473: [Graphics] orbitron: Orbitron graphics not correctly displayed
- 01600: [Graphics] pacmanbl, batman2: The background is shifted to the right and cut off on the right side
- 01602: [Misc.] luctoday: Messed up graphics. (Screen Offset)
- 01599: [Graphics] omega: Screen is vertically offset
- 01605: [Graphics] gteikokb, gteikob2: Wrong screen offset (aaron)
2008-03-28 08:34:31 +00:00
Aaron Giles
ec36f9c06f Converted special-case DIP switches (service, unknown, unused) into their
own token type rather than expanding into other tokens. The reduces the
number of redundant strings and data.
2008-03-28 00:04:22 +00:00