Commit Graph

792 Commits

Author SHA1 Message Date
Zsolt Vasvari
51a3a9eb01 Fixed taitoic regression
(Note to Haze: a little less crying and instead spending 2 minutes with a diff program would have been a lot more productive)
2008-02-29 04:23:37 +00:00
Zsolt Vasvari
f8cbcafd5e Replaces mame_bitmap with bitmap_t
Removes mame_bitmap
2008-02-29 04:01:09 +00:00
Zsolt Vasvari
a3aef48df5 - Converted Amiga based games to partial updating and proper scanline based timers
- Beginning of the clean-up of Space Guerilla - fixed rotation, some other stuff
- Removed tmpbitmap from some drivers
2008-02-29 01:42:25 +00:00
stephh
9d6f8060d6 "Input (this Game)" menu now handles conditional inputs.
See 'qcrayon2' in taito_f2.c driver (play with the last Dip Switch and look how inputs change).
2008-02-28 18:23:37 +00:00
Zsolt Vasvari
c1eddd0763 Adds mc6845_assert_light_pen_input. This latches the next character display address into the light pen latch. 2008-02-28 13:25:19 +00:00
Zsolt Vasvari
8cf42a706d Fixed incorrect comments 2008-02-28 10:05:12 +00:00
Zsolt Vasvari
22f1803388 Signals both the 0->1 and 1->0 transitions of the synching pins 2008-02-28 09:30:14 +00:00
Zsolt Vasvari
0516bab238 - MC6845 - Added HSYNC and VSYNC callbacks -- I actually tested this :)
- Added macros and typedefs for callback function types
- Updated all users for the new macros
2008-02-28 06:34:58 +00:00
Aaron Giles
b96aa2fb5c Spacing and version bump. 2008-02-28 06:20:19 +00:00
Aaron Giles
4741ad3a7e From: Robert [mailto:pac0446@bigpond.net.au]
Subject: A fix for the z80pio

Hi there,

Here is a one-line fix for the z80pio.

At the moment when the interrupt control word is sent (with interrupts
enabled), an interrupt occurs. In reality, interrupts are disabled until
the interrupt mask byte is sent.
2008-02-28 05:48:21 +00:00
Aaron Giles
061ea91358 From: RansAckeR
Subject: astinvad.c & astrocde.c dips

Added dip location: astinvad.
Added dip locations and improved dip switches: seawolf2, wow, gorf, robby, 
profpac. 

--

From: RansAckeR
Subject: asuka.c dips

Added dip locations for: bonzeadv, cadash, asuka, mofflott, galmedes.

--

From: RansAckeR
Subject: atarifb.c dips

Added dip locations to: atarifb, atarifb4, abaseb, soccer.
2008-02-28 05:46:00 +00:00
Aaron Giles
a06cdea7db From: roberto zandona
Subject: risky challenge 

another opcode to fix a sprite bug and a general clean up of the remarks in the driver
2008-02-28 05:42:20 +00:00
Aaron Giles
ef3562b02b From: JEA Wallace [mailto:jeaw100@york.ac.uk]
Subject: MPU4 Changes part 2

Right, I've added a bit of CTS pin checking logic, so that the status
flag is actually set when the pin changes state.

I've also simplified the MPU4 ACIA clock logic, but it's still not ideal
(Ideally, the ACIA should only run one transmit or receive event each
time the PTM O1 pin goes high, but that's not possible right now, so I
just set the clocks as close to off as I can when the pin is low, and to
something that approximates the distance between output state changes
when it's on). There's also a few more little cleanups based on
schematics and flyers from TAFA, and an emulation of the master reset
behaviour. Incidentally, if anyone wants to see just why this isn't
kicking into life now, by all means do, since there's nothing left that
I can see that it can get hung up on, other than the video chip, and the
aforementioned ACIA logic.
2008-02-28 04:19:39 +00:00
Aaron Giles
0104d6ff63 From: Wilbert Pol [mailto:wilbert@jdg.info]
Subject: uPD7801, uPD78C05, and uPD78C06 cpu cores added to the uPD7810
cpu core

This patch adds basic support for the NEC uPD7801, uPD78C05, and  
uPD78C06 cpus to the uPD7810 cpu core.
2008-02-28 03:22:38 +00:00
Zsolt Vasvari
34781e5f4c - Better variable name for the cursor counter
- Pedantic clean-up of comments
- R6545 is still in the "MC6845 CRTC" family, therefore removed DEVINFO_STR_FAMILY
2008-02-28 03:16:36 +00:00
Nathan Woods
ee187c0bf6 Added a stub implementation of the Rockwell 6545 2008-02-28 02:22:10 +00:00
Zsolt Vasvari
7d092ece83 Adds support for cursors. All 4 blinking modes are supported (always on, always off, fast, slow) 2008-02-28 02:01:37 +00:00
Mathis Rosenhauer
b0735fe318 BITSWAP macro used. 2008-02-27 19:58:53 +00:00
Mathis Rosenhauer
210af56aa8 Support for original Omega Race state PROM 2008-02-27 15:51:37 +00:00
Aaron Giles
e65c8bd5c6 From: Lei Wu
To: submit@mamedev.org
Subject: added PGM.c EEPROM/hiscore saving [Creamymami]
2008-02-27 15:05:50 +00:00
Aaron Giles
2702453660 Couple more address map merges, plus an MSVC compile fix. 2008-02-27 15:01:08 +00:00
Zsolt Vasvari
f78611cfd3 - Clean-up of the Crazy Climber video driver, mainly via tilemap conversion.
This fixes the ape sprite positioning in Crazy Kong -- no more gap between feet and platform
- Merged Yamato driver with Crazy Climber
- XX Mission tilemap conversion
- Removes VIDEO_START(generic) -- no longer used
2008-02-27 13:51:06 +00:00
Roberto Fresca
e362c9301e Added Cal Omega - Game 10.7 (Big Game).
This one has a keyboard interfase with 1 ROM (dumped).
Game is not working.
2008-02-27 06:25:17 +00:00
Brian Troha
035863f8a6 correction to the color code 2008-02-26 23:20:52 +00:00
Aaron Giles
b61bc6d703 Turned on use of designated initializers for tokenized structures in gcc,
since it appears to support them with std=gnu89. Fixed several places
where drivers were violating the rules.
2008-02-26 11:16:37 +00:00
Aaron Giles
3fbf56dc0f Merged memory maps. 2008-02-26 10:56:21 +00:00
Aaron Giles
e8d437422c Fixed typo. 2008-02-26 10:55:38 +00:00
Aaron Giles
41d2a2d8c1 Change priority_bitmap accesses back to UINT8s, now that we are
again allocating an 8bpp bitmap. Fixes crashes in several games.
2008-02-26 10:48:45 +00:00
Roberto Fresca
b28523cabe Big changes to Cal Omega driver to support systems 903/904/905/906.
A lot of sets were added. Also System 903/905 diag ROMs.
Submitted the driver at this point because it's growing as a monster.
Parent/clone relationship for official games is not defined yet.

Changes:
- Renamed the driver to calomega.c.
- Extended the driver to support all the other Cal Omega systems.
- Switched to XTAL def.
- Fixed CPU & sound clocks based on official diagrams.
- Replaced the AY-8910 with AY-8912 to match the real hardware.
- Unified some memory maps.
- Splitted machine in sys903 and sys905.
- Fixed memory map offsets for sys905.
- Added support to the following games:

    Game 7.6 (Arcade Poker)
    Game 7.9 (Arcade Poker)
    Game 9.4 (Keno)
    Game 12.5 (Bingo)
    Game 12.7 (Keno)
    Game 12.8 (Arcade Game)
    Game 13.4 (Nudge Bingo)
    Game 14.5 (Pixels)
    Game 15.7 (Double-Draw Poker)
    Game 15.9 (Wild Double-Up)
    Game 16.4 (Keno)
    Game 16.8 (Keno)
    Game 17.2 (Double Double Poker)
    Game 17.51 (Gaming Draw Poker)
    Game 17.6 (Nudge Bingo)
    Game 18.1 (Nudge Bingo)
    Game 18.3 (Pixels)
    Game 18.5 (Pixels)
    Game 18.6 (Pixels)
    Game 20.4 (Super Blackjack)
    Game 20.8 (Winner's Choice)
    Game 22.7 (Amusement Poker, d/d)
    Game 23.6 (Hotline)
    Game 23.9 (Gaming Draw Poker) --> EX gdrawpkr.
    Game 24.6 (Hotline)
    Game 27.2 (Keno, amusement)
    Game 27.2 (Keno, gaming)
    System 903 Diag.PROM 
    System 905 Diag.PROM
    Jackpot Joker Poker (set 1)
    Jackpot Joker Poker (set 2)
    SSI Poker (v2.4)
    SSI Poker (v3.0)
    SSI Poker (v4.0)

- Added a list of official/unofficial games, and their states.
- Fixed a bug introduced when extended the color PROM region to eliminate colortable lenght.
- Other changes/fixes.
- Updated technical notes.
2008-02-26 09:41:11 +00:00
Aaron Giles
adcdfd3e5b Converted MACHINE_DRIVER definitions from function
constructors to tokenized lists. For the most part
this is a non-invasive change, except for those drivers
using MDRV_WATCHDOG_TIME_INIT. In order to allow for
tokenization of attotimes, a set of new macros is
provided called UINT64_ATTOTIME_IN_x() which follows the
same pattern as ATTOTIME_IN_x() but packs the attotime
down into a single 64-bit value for easier tokenization.

Separated MDRV_DEVICE_CONFIG_DATA into 32-bit and 64-bit
versions. Added floating-point versions with configurable
resolutions.

Fixed several errors in the machine drivers which were
caught by the additional checks now done in the machine
config detokenization code.

Converted speakers into devices. Machine->config no
longer houses an array of speakers; instead they are
iterated through using the new macros (defined in sound.h)
speaker_output_first() and speaker_output_next(). Updated
all relevant code to do this.

Improved game info display with multiple screens. Fixed
bug which caused all screens to display equally.

Added typedefs for all the machine config callback 
functions at the top of driver.h.
2008-02-26 06:31:28 +00:00
Brian Troha
d94da47366 credit Razz
adds the two new Neogeo clones
2008-02-26 00:15:32 +00:00
Brian Troha
4f417ac50a reverted back as my commit clobbered recent additions.
Readded the new clone properly
2008-02-25 23:05:33 +00:00
Couriersud
3bd4143eb6 * remove flip_screen macro
* flip_screen_x and flip_screen_y made static
* add flip_screen_x_get() and flip_screen_y_get()
* change writes to flip_screen_x from last commit to flip_screen_set_no_update()
* added save state calls for flip_screen_x and flip_screen_y
2008-02-25 23:01:59 +00:00
Brian Troha
32713a7e9e Credit Razz
Adds Dungeons and Dragons Tower of Doom (Japan 940412)
2008-02-25 22:43:36 +00:00
Couriersud
8e96884cc6 * Fix issues related to flip_screen being a define
* add "int flip_screen_get(void)"
* define flip_screen flip_screen_get()
* clean up drivers with collisions 
* mark write accesses to flip_screen_x with FIXME
2008-02-25 21:15:59 +00:00
Couriersud
df962f9ec4 dkong.c:
* added a comment from Mike about power up sounds
2008-02-25 20:18:59 +00:00
R. Belmont
205a261dbd [NSS] Removed bogus DIPs. 2008-02-25 17:47:05 +00:00
Roberto Fresca
06e7623033 - Added new game: Royal Vegas Joker Card (fast deal, english gfx).
- Added new game: Jolly Joker.
- Added new game: Jolly Joker (50bet).
- Added new game: Jolly Card (croatian, set 2).
- Added new game: Jolly Card (Evona Electronic)
- Added new game: Super Joly 2000 - 3x
- Fixed some inputs.
- Masked inputs to allow jolyjkra to boot.
- Added minor corrections.
- Updated technical notes.
2008-02-25 06:05:28 +00:00
Brian Troha
deb1f35af6 Adds a little bit of docs for American Horse Shoe
minor white space clean up and addition of IC location
2008-02-25 02:22:57 +00:00
Aaron Giles
9a359b370d Added new module: tokenize.h. This centralizes the behavior of
tokenizing data structures, as currently used by the input
port system. Redid the input port tokenization to be more
compact and make use of the new macros.
2008-02-25 01:35:48 +00:00
Couriersud
40ba785ded Various vector games:
* Remove MDRV_PALETTE_LENGTH which would trigger an assert in emupal.c (debug build)
2008-02-24 23:43:12 +00:00
Zsolt Vasvari
2b1192dec8 - Backs out BITMAP8 removal from most places.
- I still left drawgfx.c as is, the only piece of code that used any of the functions in drawgfx
  was s2636.c -- everything else uses 8-bit bitmaps as a replacement for a two dimensional array
2008-02-24 23:24:29 +00:00
Couriersud
ee93a91551 dkong.c:
* remove usage of video/generic spriteram, videoram & flip_screen
2008-02-24 19:55:52 +00:00
Aaron Giles
4a7301495b Different fix for X the Ball sound. Pulse no longer works for the 34010. Undid previous fix. 2008-02-24 15:57:25 +00:00
Zsolt Vasvari
803ece9d96 Removes 8-bit bitmap support and converts all previously 8-bit bitmaps to 16-bit 2008-02-24 13:30:08 +00:00
Zsolt Vasvari
51cae46fac - Added some asserts to drawgfx and drawgfxzoom
- Moved some variable declerations so that they are only visible where they are actually used

Note that the diff is large only because I removed a level of indentation from a huge chunk of code.
I could do that because the case it was checking for was already caught by one of the asserts added.
2008-02-24 06:33:02 +00:00
Zsolt Vasvari
4c67395bc6 machine->pen lookup removal 2008-02-24 06:08:08 +00:00
Zsolt Vasvari
0696fc6da2 Fixes crash in Raiga 2008-02-24 05:49:44 +00:00
Brian Troha
b0e0790099 removes the confirmed bad dump of Virtua striker 2 2000 2008-02-24 02:10:31 +00:00
Zsolt Vasvari
58fc9362eb This fixes the DAC sound in X The Ball that got broken in 114u2. Not 100% if the fix is right, though. 2008-02-24 01:54:54 +00:00