Commit Graph

1893 Commits

Author SHA1 Message Date
Aaron Giles
b171ca8111 From: Micko [mailto:mmicko@gmail.com]
Subject: 8080/8085 fix

Hello Aaron,
 
While working on drivers for some 8080 machines, I have noticed that there are some errors in flags settings in CPU implementation.
I have done fixes and now sending patch for code . Also there are changes to set right timings for both 8080 and 8085 since not all timings are up to documentation.
 
Regards,
Miodrag
2008-06-12 16:34:47 +00:00
Aaron Giles
72a6f91a8c From: Fabio Priuli [mailto:doge.fabio@gmail.com]
Subject: fix for MT bug #01885

I tested almost every set I changed, but it seems I missed astdelux.

Here there's a fix. Sorry.

Regards

     Fabio
2008-06-12 16:32:39 +00:00
Aaron Giles
f874100bc9 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Static qualifiers, header file cleanups, and new
include files for MAME

Hi mamedev,

The following two patches improve the use of header files in MAME, and
reduce the number of exported symbols.

The second patch then adds ~30 header files for a number of drivers
that use multiple source files.  It consolidated the various cchip
related declarations in cchip.h, and added machine/seicop.h as well.

~aa
2008-06-12 16:27:56 +00:00
Aaron Giles
50bbb369bb From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Static qualifiers, header file cleanups, and new
include files for MAME

The first patch adds static qualifiers where appropriate, adds missing
#include statements, source comments and header declarations, as well
as removes dead declarations.  The only part that required judgement
was deciding whether audio/galaxian.c declarations should be in
galaxold.h or galaxian.h, it doesn't make sense for them to be
declared in both.  This exercise did find a bug, galaxold_init_stars
was declared incorrectly in video/fastfred.c.
2008-06-12 16:25:34 +00:00
Aaron Giles
c52aacb732 From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Fix 01863 mwalk and clones: Crash on multisession

Hi mamedev,

This should fix 01863, a multisession bug with mwalk.  There is more
global state that might need zeroing, but for a 64-bit build, this was
sufficient.

~aa
2008-06-12 16:20:22 +00:00
Aaron Giles
13a86d728f From: Oliver Stoeneberg [mailto:oliverst@online.de]
Sent: Thursday, June 05, 2008 9:00 PM
To: submit@mamedev.org
Subject: Machine -> machine cleanups

This cleans up the usage of Machine in many of the src/video files.
2008-06-12 16:19:45 +00:00
Aaron Giles
e852db663a x86/x64 back-ends:
* fixed adc/sbb so that they don't optimize out ever
 * fixed detection of special and/or/xor cases
 * fixed GETFLGS opcode so that it doesn't return anything other than requested flags
 * changed LZCNT/BSWAP to be more flexible in register selection

C back-end:
 * implemented flag variants of SEXT/ROLAND/ROLINS/LZCNT/BSWAP

PPC DRC:
 * added more symbols for debugging
 * fixed lmw/stmw if rA is one of the loaded/stored registers
 * removed unnecessary variables & structure members
 * optimized for the XER and CR0 case where XER doesn't need an overflow calculation
 *
2008-06-12 16:13:05 +00:00
Tomasz Slanina
43c67f6adf Added sound emulation to Dacholer and Kick Boy 2008-06-12 15:12:33 +00:00
Manuel Abadia
9e6333d74e Added alternate layout for World Rally 2 PCB from Mirko Mattioli 2008-06-12 10:18:02 +00:00
Aaron Giles
20ee6bc325 PPC DRC:
* changed SPU receive model to a push model; updated drivers accordingly
 * added macros for setting the SPU transmit handler and sending bytes
 * cleaned up ppc.h
2008-06-12 02:48:11 +00:00
Jim Stolis
3b3f47b864 * All video slot titles now accept coins and play normally
* Renamed peps0716 to its proper name "River Gambler Slots", instead of "Quarter Mania Slots"
* Updated peps0716 to use the proper CAP
* Replaced peps0615 to use a CAP with closer colors (still wrong)

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Player's Edge Plus (PS0014) Super Joker Slots [Jim Stolis]
Player's Edge Plus (PS0022) Red White & Blue Slots [Jim Stolis]
Player's Edge Plus (PS0043) Double Diamond Slots [Jim Stolis]
Player's Edge Plus (PS0045) Red White & Blue Slots [Jim Stolis]
Player's Edge Plus (PS0308) Double Jackpot Slots [Jim Stolis]
2008-06-12 00:55:08 +00:00
Jim Stolis
f4e88036ac Timer 0's second split counter was incorrectly checking the Timer 1 Run Control Bit 2008-06-12 00:47:44 +00:00
Couriersud
2300a01dd5 Moved calipso to galdrvr.c/galaxian.c 2008-06-12 00:43:49 +00:00
Couriersud
ba646b1e9b Removed armorcar remains from scobra.c 2008-06-12 00:12:01 +00:00
Couriersud
8b6a2651c7 Move spdcoin & superbon to galaxian.c/galdrvr.c
* Fixes 00251: spdcoin: Sound isn't perfect. There are many static pops to be heard, and volume is very low.
* superbon: Change name to Agent Super Bond and Manufacturer to "Signatron USA"
* superbon: Change year to 1985 following information on arcadeflyers.com
2008-06-11 23:56:29 +00:00
Brian Troha
567964909e changed "CRC16" in comment to "checksum" to be accurate. 2008-06-11 21:41:26 +00:00
Brian Troha
6d484550e9 changes SWAT Police to "normal" from imperfect graphics thanks to Haze.
Fixed some roms and added a note stating that some PCBs come with larger EPROMs with data repeated.
2008-06-11 21:30:40 +00:00
Curt Coder
0d579d5375 Thayer's Quest:
- fixed Z80-COP communications
- figured out ports from disassembly
- added cart presence detection logic
2008-06-11 19:29:49 +00:00
Curt Coder
d8c3b0e4f1 COP4xx:
- fixed LEI instruction
2008-06-11 19:19:00 +00:00
Aaron Giles
2f524636c6 PPC DRC:
* added detection of MMU enablement in 403GCX case
 * fixed bug in protection bounds violation detection for 4XX to get ppd
    to the "ppc4xx_spu_rx_data unimplemented" message
2008-06-11 14:37:33 +00:00
Aaron Giles
7079892d7e Fixed left/right accesses to work with recent memory handler changes. 2008-06-11 13:44:46 +00:00
Roberto Fresca
a5ec808bdd Cal Omega driver improvements:
- Improved the input system for some games.
 - Fixed some wrong color codes.
 - Updated technical notes.
2008-06-11 08:14:54 +00:00
davidhay
daf632e308 improv 2008-06-11 06:47:40 +00:00
Aaron Giles
fe1200fdcb Thayer's Quest:
* fixed conflicting layout (not super happy with the technique...)

x64 back-end:
 * added a "hop" around the prolog of the HANDLE opcode to allow fall-through

x86 back-end:
 * redesigned stack management to keep the stack at the same 16-byte alignment

PPC DRC:
 * fixed parameter ordering for masked reads/writes
2008-06-11 05:27:13 +00:00
Brian Troha
b2a4d0e951 New games added or promoted from NOT_WORKING status
---------------------------------------------------
SWAT Police [Brian Troha]

New clones added
----------------
Head Panic (ver. 0117, 17/01/2000) [Brian Troha]


SWAT Police is marked as imperfect graphics.  I don't think the roms are bad... The driver may need to updated to support the foreground or the foreground isn't correctly mapped

I made the new Head Panic set the parent even though it's older.  Beacuse it's by ESD only and is all English.

Added notes about other ESD games and updates some general info
2008-06-11 01:38:02 +00:00
Roberto Zandona
c8ee175625 compile fix 2008-06-10 22:19:09 +00:00
davidhay
2b2f6c9bc5 adds squash (itisa) not working
GAMEs Not Working
-----------------

Squash (Itisa) [f205v]

i'll take a look why it doesn't work if i find time later.. probably a copy protection.
2008-06-10 22:12:02 +00:00
Aaron Giles
e9b6f6be04 Firebeat driver:
* Added VBLANK IRQ clear
 * Added ATAPI IRQ clear
 * Tried to add UART IRQ clear but it doesn't yet work
 * Most of the games start to show something again with these changes
 * Added fast RAM region

PPC DRC:
 * Fixed TLB filling for 4XX protection ranges

PC16552d:
 * Tried to wire up assert/clear signals for this chip based on guesswork
   (anyone want to implement it properly? :)
2008-06-10 21:49:33 +00:00
Aaron Giles
a96458747d PPC common:
* reduced address bus width of 4xx series to 31 bits per the
    documentation

PPC DRC:
 * fixed bug that would jump to incorrect PC after filling the
    TLB during a mismatch event
 * added explicit address truncation to 31 bits for 4xx series
 * added new PPCDRC_ACCURATE_SINGLES option, which removes the
    excessive (and very likely unecessary) extra rounding when
    performing the "fast" single-precision floating point ops

Konami drivers:
 * designated fast RAM accesses for work RAM
 * removed unnecessary mirroring
 
Model 3:
 * identified and fixed VBLANK bit in real3d status which was
    causing the system to hang at startup
 * designated fast RAM accesses for work RAM

53C810:
 * changed read/write handles to proper READ8/WRITE8_HANDLER
    callbacks so they can eventually be used directly
2008-06-10 20:10:57 +00:00
Curt Coder
623b9cd690 Thayer's Quest changes:
- cleaned up driver
- added LED layout from Dragon's Lair
- mapped keyboard and dips correctly
- added laser disc drive selection
2008-06-10 19:56:36 +00:00
Couriersud
4074d8cec7 01827: All sets in galaga.c: DIP switch information is not being readded properly when .CFG is read.
* commit 1728 got lost somehow - reapplied
2008-06-10 19:32:13 +00:00
Curt Coder
fd00d5fb31 Fixed AY-3-8910 output mode in Draco. 2008-06-10 19:29:22 +00:00
Aaron Giles
ec6953c047 PPC DRC:
* Added basic cycle counts for longer instructions
 * Added penalty for polling timebase and decrementer registers
 * Fixed dependencies in cpu.mak
2008-06-10 09:03:45 +00:00
Aaron Giles
156d61c760 DRC frontend:
* changed from tracking "live" registers to tracking "necessary" registers
 * genericized register tracking to be more flexible
 * added previous instruction pointer to opcode descriptions

PowerPC frontend/DRC:
 * cleaned up register tracking implementation
 * fixed numerous errors and shortcomings in the tracking
 * added support for removing unnecessary XER CA and CR0 computations
 * updated UML logging to output new frontend statistics

MIPS3 frontend/DRC:
 * tweaked register tracking to match new DRC frontend system
 * updated UML logging to output new frontend statistics
2008-06-10 07:34:48 +00:00
Roberto Zandona
1092415cb5 fix sprite wrap in bomblord and dynablsb 2008-06-09 18:30:43 +00:00
Roberto Zandona
dfaba61bfc implementation of tile-sprite priorities in bomblord and dynablsb 2008-06-09 18:23:38 +00:00
Aaron Giles
cfab49b884 map command in the debugger now does separate read/write/fetch lookups 2008-06-09 17:30:01 +00:00
Aaron Giles
0f5d57d29c Compile fix for MSVC. 2008-06-09 16:54:07 +00:00
Aaron Giles
e9c099ef71 Don't show disclaimers/warnings if the debugger is enabled. 2008-06-09 16:49:52 +00:00
Aaron Giles
8ba5758341 Oops, broke the TLB. 2008-06-09 16:49:33 +00:00
Aaron Giles
748e83917a PPC DRC:
* minor flags optimizations:
    - broke CR into several individual bits of state
    - extracted the SO bit from XER into its own state
2008-06-09 16:18:19 +00:00
Roberto Fresca
7ebd242d8b Improvements to Sandii' games driver:
- Fixed the tilemap size.
 - Fixed the screen size.
 - Updated technical notes.
2008-06-09 10:37:04 +00:00
Roberto Fresca
a040edce9a American Poker II driver:
- Added Videomat (polish bootleg).


New clones added
----------------
Videomat (polish bootleg) [Roberto Fresca]
2008-06-09 10:28:58 +00:00
Roberto Fresca
f034b2b75f New driver for italian gambling games based on Mitsubishi/Renesas M16C MCU family.
Added dumper notes, hardware details and hooked the sound devices.
Moved Euro Jolly X5 to this new driver, and add support for Grand Prix.


New games marked as GAME_NOT_WORKING
------------------------------------
Grand Prix [Roberto Fresca]
2008-06-09 08:51:36 +00:00
Roberto Fresca
9f945d1471 Cal Omega driver:
- Cleaned up the driver following the MAME Coding Conventions.
 - Added support to Game 18.7 (Amusement Poker).
 - Updated technical notes.


New games marked as GAME_NOT_WORKING
------------------------------------
Cal Omega - Game 18.7 (Amusement Poker) [Roberto Fresca]
2008-06-09 05:08:42 +00:00
Aaron Giles
282300c587 x86/x64 back-ends:
* fixed DIVS/DIVU opcode so they properly compute SZ flags when requested;
    fixes camera wackiness in nbapbp

PPC DRC:
 * added support for 4xx protection registers via the MMU
 * added TLBH, TLBU, and DEC to the list of registers in the debugger
 * turned off "end of transfer" DMA signals in favor of "transfer count 0"
    signals; fixes memory-to-memory DMA in fiveside
2008-06-09 04:58:41 +00:00
Roberto Fresca
67fd3e41d7 Italian gambling games based on H8/3048 + OKI 6295:
Added another Xtal and a new machine driver to support Euro Jolly X5 hardware.
This one is based on a Mitsubishi (Renesas) M16/62A 16bit microcomputer.
(256 KB of internal flash ROM + 20 KB of RAM).


New games marked as GAME_NOT_WORKING
------------------------------------
Euro Jolly X5 [Roberto Fresca]
2008-06-09 02:56:53 +00:00
Roberto Zandona
cdb00f8f87 removed GAME_IMPERFECT_GRAPHIC flag from dynablsb and bomblord 2008-06-08 19:14:52 +00:00
Roberto Zandona
7b7fde4a8c implementation of line scroll in bomblord 2008-06-08 19:06:29 +00:00
Brian Troha
421083b01f adds new subsino.c to mame.mak so the build will complete 2008-06-08 18:35:46 +00:00